Class: Aws::VPCLattice::Types::ResourceConfigurationDefinition
- Inherits:
-
Struct
- Object
- Struct
- Aws::VPCLattice::Types::ResourceConfigurationDefinition
- Defined in:
- gems/aws-sdk-vpclattice/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
Defined Under Namespace
Classes: ArnResource, DnsResource, IpResource, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#arn_resource ⇒ Types::ArnResource
The Amazon Resource Name (ARN) of the resource.
-
#dns_resource ⇒ Types::DnsResource
The DNS name of the resource.
-
#ip_resource ⇒ Types::IpResource
The IP resource.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#arn_resource ⇒ Types::ArnResource
The Amazon Resource Name (ARN) of the resource.
4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 4130 class ResourceConfigurationDefinition < Struct.new( :dns_resource, :ip_resource, :arn_resource, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class DnsResource < ResourceConfigurationDefinition; end class IpResource < ResourceConfigurationDefinition; end class ArnResource < ResourceConfigurationDefinition; end class Unknown < ResourceConfigurationDefinition; end end |
#dns_resource ⇒ Types::DnsResource
The DNS name of the resource.
4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 4130 class ResourceConfigurationDefinition < Struct.new( :dns_resource, :ip_resource, :arn_resource, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class DnsResource < ResourceConfigurationDefinition; end class IpResource < ResourceConfigurationDefinition; end class ArnResource < ResourceConfigurationDefinition; end class Unknown < ResourceConfigurationDefinition; end end |
#ip_resource ⇒ Types::IpResource
The IP resource.
4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 4130 class ResourceConfigurationDefinition < Struct.new( :dns_resource, :ip_resource, :arn_resource, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class DnsResource < ResourceConfigurationDefinition; end class IpResource < ResourceConfigurationDefinition; end class ArnResource < ResourceConfigurationDefinition; end class Unknown < ResourceConfigurationDefinition; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
4130 4131 4132 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 4130 def unknown @unknown end |