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.
18 19 20 |
# File 'lib/resources/aws/aws_vpc.rb', line 18 def cidr_block @cidr_block end |
#dhcp_options_id ⇒ Object (readonly)
Returns the value of attribute dhcp_options_id.
18 19 20 |
# File 'lib/resources/aws/aws_vpc.rb', line 18 def @dhcp_options_id end |
#instance_tenancy ⇒ Object (readonly)
Returns the value of attribute instance_tenancy.
18 19 20 |
# File 'lib/resources/aws/aws_vpc.rb', line 18 def instance_tenancy @instance_tenancy end |
#is_default ⇒ Object (readonly) Also known as: default?
Returns the value of attribute is_default.
18 19 20 |
# File 'lib/resources/aws/aws_vpc.rb', line 18 def is_default @is_default end |
#state ⇒ Object (readonly)
Returns the value of attribute state.
18 19 20 |
# File 'lib/resources/aws/aws_vpc.rb', line 18 def state @state end |
#vpc_id ⇒ Object (readonly)
Returns the value of attribute vpc_id.
18 19 20 |
# File 'lib/resources/aws/aws_vpc.rb', line 18 def vpc_id @vpc_id end |
Instance Method Details
#to_s ⇒ Object
14 15 16 |
# File 'lib/resources/aws/aws_vpc.rb', line 14 def to_s "VPC #{vpc_id}" end |