Class: AwsSubnet
- Inherits:
-
Object
- Object
- AwsSubnet
- Includes:
- AwsSingularResourceMixin
- Defined in:
- lib/resources/aws/aws_subnet.rb
Defined Under Namespace
Classes: Backend
Instance Attribute Summary collapse
-
#assigning_ipv_6_address_on_creation ⇒ Object
(also: #assigning_ipv_6_address_on_creation?)
readonly
Returns the value of attribute assigning_ipv_6_address_on_creation.
-
#availability_zone ⇒ Object
readonly
Returns the value of attribute availability_zone.
-
#available ⇒ Object
(also: #available?)
readonly
Returns the value of attribute available.
-
#available_ip_address_count ⇒ Object
readonly
Returns the value of attribute available_ip_address_count.
-
#cidr_block ⇒ Object
readonly
Returns the value of attribute cidr_block.
-
#default_for_az ⇒ Object
(also: #default_for_az?)
readonly
Returns the value of attribute default_for_az.
-
#ipv_6_cidr_block_association_set ⇒ Object
readonly
Returns the value of attribute ipv_6_cidr_block_association_set.
-
#mapping_public_ip_on_launch ⇒ Object
(also: #mapping_public_ip_on_launch?)
readonly
Returns the value of attribute mapping_public_ip_on_launch.
-
#subnet_id ⇒ Object
readonly
Returns the value of attribute subnet_id.
-
#vpc_id ⇒ Object
readonly
Returns the value of attribute vpc_id.
Instance Method Summary collapse
Methods included from AwsSingularResourceMixin
Methods included from AwsResourceMixin
#catch_aws_errors, #check_resource_param_names, #initialize, #inspec_runner
Instance Attribute Details
#assigning_ipv_6_address_on_creation ⇒ Object (readonly) Also known as: assigning_ipv_6_address_on_creation?
Returns the value of attribute assigning_ipv_6_address_on_creation.
13 14 15 |
# File 'lib/resources/aws/aws_subnet.rb', line 13 def assigning_ipv_6_address_on_creation @assigning_ipv_6_address_on_creation end |
#availability_zone ⇒ Object (readonly)
Returns the value of attribute availability_zone.
13 14 15 |
# File 'lib/resources/aws/aws_subnet.rb', line 13 def availability_zone @availability_zone end |
#available ⇒ Object (readonly) Also known as: available?
Returns the value of attribute available.
13 14 15 |
# File 'lib/resources/aws/aws_subnet.rb', line 13 def available @available end |
#available_ip_address_count ⇒ Object (readonly)
Returns the value of attribute available_ip_address_count.
13 14 15 |
# File 'lib/resources/aws/aws_subnet.rb', line 13 def available_ip_address_count @available_ip_address_count end |
#cidr_block ⇒ Object (readonly)
Returns the value of attribute cidr_block.
13 14 15 |
# File 'lib/resources/aws/aws_subnet.rb', line 13 def cidr_block @cidr_block end |
#default_for_az ⇒ Object (readonly) Also known as: default_for_az?
Returns the value of attribute default_for_az.
13 14 15 |
# File 'lib/resources/aws/aws_subnet.rb', line 13 def default_for_az @default_for_az end |
#ipv_6_cidr_block_association_set ⇒ Object (readonly)
Returns the value of attribute ipv_6_cidr_block_association_set.
13 14 15 |
# File 'lib/resources/aws/aws_subnet.rb', line 13 def ipv_6_cidr_block_association_set @ipv_6_cidr_block_association_set end |
#mapping_public_ip_on_launch ⇒ Object (readonly) Also known as: mapping_public_ip_on_launch?
Returns the value of attribute mapping_public_ip_on_launch.
13 14 15 |
# File 'lib/resources/aws/aws_subnet.rb', line 13 def mapping_public_ip_on_launch @mapping_public_ip_on_launch end |
#subnet_id ⇒ Object (readonly)
Returns the value of attribute subnet_id.
13 14 15 |
# File 'lib/resources/aws/aws_subnet.rb', line 13 def subnet_id @subnet_id end |
#vpc_id ⇒ Object (readonly)
Returns the value of attribute vpc_id.
13 14 15 |
# File 'lib/resources/aws/aws_subnet.rb', line 13 def vpc_id @vpc_id end |
Instance Method Details
#to_s ⇒ Object
21 22 23 |
# File 'lib/resources/aws/aws_subnet.rb', line 21 def to_s "VPC Subnet #{@subnet_id}" end |