Class: Ansible::Ruby::Modules::Ec2_eni

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_eni.rb

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#delete_on_terminationBoolean?

Returns Delete the interface when the instance it is attached to is terminated. You can only specify this flag when the interface is being modified, not on creation.

Returns:

  • (Boolean, nil)

    Delete the interface when the instance it is attached to is terminated. You can only specify this flag when the interface is being modified, not on creation.



45
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_eni.rb', line 45

attribute :delete_on_termination

#descriptionString?

Returns Optional description of the ENI.

Returns:

  • (String, nil)

    Optional description of the ENI.



26
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_eni.rb', line 26

attribute :description

#device_indexInteger?

Returns The index of the device for the network interface attachment on the instance.

Returns:

  • (Integer, nil)

    The index of the device for the network interface attachment on the instance.



37
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_eni.rb', line 37

attribute :device_index

#eni_idString, ...

Returns The ID of the ENI.

Returns:

  • (String, Hash, nil)

    The ID of the ENI



10
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_eni.rb', line 10

attribute :eni_id

#force_detachBoolean?

Returns Force detachment of the interface. This applies either when explicitly detaching the interface by setting instance_id to None or when deleting an interface with state=absent.

Returns:

  • (Boolean, nil)

    Force detachment of the interface. This applies either when explicitly detaching the interface by setting instance_id to None or when deleting an interface with state=absent.



41
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_eni.rb', line 41

attribute :force_detach

#instance_idString?

Returns Instance ID that you wish to attach ENI to. To detach an ENI from an instance, use ‘None’.

Returns:

  • (String, nil)

    Instance ID that you wish to attach ENI to. To detach an ENI from an instance, use ‘None’.



14
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_eni.rb', line 14

attribute :instance_id

#private_ip_addressString?

Returns Private IP address.

Returns:

  • (String, nil)

    Private IP address.



18
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_eni.rb', line 18

attribute :private_ip_address

#security_groupsObject?

Returns List of security groups associated with the interface. Only used when state=present.

Returns:

  • (Object, nil)

    List of security groups associated with the interface. Only used when state=present.



30
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_eni.rb', line 30

attribute :security_groups

#source_dest_checkObject?

Returns By default, interfaces perform source/destination checks. NAT instances however need this check to be disabled. You can only specify this flag when the interface is being modified, not on creation.

Returns:

  • (Object, nil)

    By default, interfaces perform source/destination checks. NAT instances however need this check to be disabled. You can only specify this flag when the interface is being modified, not on creation.



49
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_eni.rb', line 49

attribute :source_dest_check

#state:present, ...

Returns Create or delete ENI.

Returns:

  • (:present, :absent, nil)

    Create or delete ENI.



33
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_eni.rb', line 33

attribute :state

#subnet_idString

Returns ID of subnet in which to create the ENI. Only required when state=present.

Returns:

  • (String)

    ID of subnet in which to create the ENI. Only required when state=present.



22
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_eni.rb', line 22

attribute :subnet_id