Class: Aws::VPCLattice::Types::ResourceConfigurationDefinition

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

Overview

Note:

ResourceConfigurationDefinition is a union - when making an API calls you must set exactly one of the members.

Note:

ResourceConfigurationDefinition is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ResourceConfigurationDefinition corresponding to the set member.

Describes a resource configuration.

Direct Known Subclasses

ArnResource, DnsResource, IpResource, Unknown

Defined Under Namespace

Classes: ArnResource, DnsResource, IpResource, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arn_resourceTypes::ArnResource

The Amazon Resource Name (ARN) of the resource.

Returns:



3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
# File 'lib/aws-sdk-vpclattice/types.rb', line 3724

class ResourceConfigurationDefinition < Struct.new(
  :arn_resource,
  :dns_resource,
  :ip_resource,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class ArnResource < ResourceConfigurationDefinition; end
  class DnsResource < ResourceConfigurationDefinition; end
  class IpResource < ResourceConfigurationDefinition; end
  class Unknown < ResourceConfigurationDefinition; end
end

#dns_resourceTypes::DnsResource

The DNS name of the resource.

Returns:



3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
# File 'lib/aws-sdk-vpclattice/types.rb', line 3724

class ResourceConfigurationDefinition < Struct.new(
  :arn_resource,
  :dns_resource,
  :ip_resource,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class ArnResource < ResourceConfigurationDefinition; end
  class DnsResource < ResourceConfigurationDefinition; end
  class IpResource < ResourceConfigurationDefinition; end
  class Unknown < ResourceConfigurationDefinition; end
end

#ip_resourceTypes::IpResource

The IP resource.

Returns:



3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
# File 'lib/aws-sdk-vpclattice/types.rb', line 3724

class ResourceConfigurationDefinition < Struct.new(
  :arn_resource,
  :dns_resource,
  :ip_resource,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class ArnResource < ResourceConfigurationDefinition; end
  class DnsResource < ResourceConfigurationDefinition; end
  class IpResource < ResourceConfigurationDefinition; end
  class Unknown < ResourceConfigurationDefinition; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



3724
3725
3726
# File 'lib/aws-sdk-vpclattice/types.rb', line 3724

def unknown
  @unknown
end