Class: Chef::Resource::AwsNetworkInterface
- Inherits:
-
Provisioning::AWSDriver::AWSResourceWithEntry
- Object
- Provisioning::AWSDriver::AWSResourceWithEntry
- Chef::Resource::AwsNetworkInterface
- Defined in:
- lib/chef/resource/aws_network_interface.rb
Instance Method Summary collapse
-
#aws_object ⇒ Object
TODO implement eip address association attribute :elastic_ip_address, kind_of: [ String, AWS::EC2::ElasticIp, AwsEipAddress, FalseClass ].
Instance Method Details
#aws_object ⇒ Object
TODO implement eip address association attribute :elastic_ip_address, kind_of: [ String, AWS::EC2::ElasticIp, AwsEipAddress, FalseClass ]
29 30 31 32 33 |
# File 'lib/chef/resource/aws_network_interface.rb', line 29 def aws_object driver, id = get_driver_and_id result = driver.ec2.network_interfaces[id] if id result && result.exists? ? result : nil end |