Class: AwsVpc
- Inherits:
-
Object
- Object
- AwsVpc
- Includes:
- AwsSingularResourceMixin
- Defined in:
- lib/resources/aws/aws_vpc.rb
Defined Under Namespace
Classes: Backend
Instance Attribute Summary collapse
-
#cidr_block ⇒ Object
readonly
Returns the value of attribute cidr_block.
-
#dhcp_options_id ⇒ Object
readonly
Returns the value of attribute dhcp_options_id.
-
#instance_tenancy ⇒ Object
readonly
Returns the value of attribute instance_tenancy.
-
#is_default ⇒ Object
(also: #default?)
readonly
Returns the value of attribute is_default.
-
#state ⇒ Object
readonly
Returns the value of attribute state.
-
#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
#cidr_block ⇒ Object (readonly)
Returns the value of attribute cidr_block.
22 23 24 |
# File 'lib/resources/aws/aws_vpc.rb', line 22 def cidr_block @cidr_block end |
#dhcp_options_id ⇒ Object (readonly)
Returns the value of attribute dhcp_options_id.
22 23 24 |
# File 'lib/resources/aws/aws_vpc.rb', line 22 def @dhcp_options_id end |
#instance_tenancy ⇒ Object (readonly)
Returns the value of attribute instance_tenancy.
22 23 24 |
# File 'lib/resources/aws/aws_vpc.rb', line 22 def instance_tenancy @instance_tenancy end |
#is_default ⇒ Object (readonly) Also known as: default?
Returns the value of attribute is_default.
22 23 24 |
# File 'lib/resources/aws/aws_vpc.rb', line 22 def is_default @is_default end |
#state ⇒ Object (readonly)
Returns the value of attribute state.
22 23 24 |
# File 'lib/resources/aws/aws_vpc.rb', line 22 def state @state end |
#vpc_id ⇒ Object (readonly)
Returns the value of attribute vpc_id.
22 23 24 |
# File 'lib/resources/aws/aws_vpc.rb', line 22 def vpc_id @vpc_id end |
Instance Method Details
#to_s ⇒ Object
18 19 20 |
# File 'lib/resources/aws/aws_vpc.rb', line 18 def to_s "VPC #{vpc_id}" end |