Class: Aws::Route53::Types::HostedZoneOwner

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-route53/types.rb

Overview

A complex type that identifies a hosted zone that a specified Amazon VPC is associated with and the owner of the hosted zone. If there is a value for ‘OwningAccount`, there is no value for `OwningService`, and vice versa.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#owning_accountString

If the hosted zone was created by an Amazon Web Services account, or was created by an Amazon Web Services service that creates hosted zones using the current account, ‘OwningAccount` contains the account ID of that account. For example, when you use Cloud Map to create a hosted zone, Cloud Map creates the hosted zone using the current Amazon Web Services account.

Returns:

  • (String)


3890
3891
3892
3893
3894
3895
# File 'lib/aws-sdk-route53/types.rb', line 3890

class HostedZoneOwner < Struct.new(
  :owning_account,
  :owning_service)
  SENSITIVE = []
  include Aws::Structure
end

#owning_serviceString

If an Amazon Web Services service uses its own account to create a hosted zone and associate the specified VPC with that hosted zone, ‘OwningService` contains an abbreviation that identifies the service. For example, if Amazon Elastic File System (Amazon EFS) created a hosted zone and associated a VPC with the hosted zone, the value of `OwningService` is `efs.amazonaws.com`.

Returns:

  • (String)


3890
3891
3892
3893
3894
3895
# File 'lib/aws-sdk-route53/types.rb', line 3890

class HostedZoneOwner < Struct.new(
  :owning_account,
  :owning_service)
  SENSITIVE = []
  include Aws::Structure
end