Class: MintPress::Aws::EC2::NetworkInterface

Inherits:
Object
  • Object
show all
Includes:
MintLogger, AwsCommon, Mixins::Properties
Defined in:
src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_interface.rb

Properties (Read/Write)

  • #device_index ⇒ [Integer]
    'The position of the network interface in the attachment order.'

    Property Attributes
    • attach_network_interface_prop'device_index'
    • disposition:attribute
    • read_onlyfalse
    • source"MintPress::Aws::EC2::NetworkInterface"
    • orig_name'device_index'
    • create_instances_prop'device_index'
    
    
    34
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_interface.rb', line 34
    
    property :device_index, attach_network_interface_prop: 'device_index', type: [Integer], disposition: :attribute, read_only: false, source: "MintPress::Aws::EC2::NetworkInterface", description: 'The position of the network interface in the attachment order.', orig_name: 'device_index', create_instances_prop: 'device_index'
  • #dry_run ⇒ [TrueClass,FalseClass]
    'Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.'

    Property Attributes
    • attach_network_interface_prop'dry_run'
    • read_onlyfalse
    • source"create_network_interface"
    • create_network_interface_prop'dry_run'
    • delete_network_interface_prop'dry_run'
    • describe_network_interfaces_prop'dry_run'
    • detach_network_interface_prop'dry_run'
    
    
    35
    36
    37
    38
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_interface.rb', line 35
    
    property :dry_run, attach_network_interface_prop: 'dry_run', type: [TrueClass,FalseClass], read_only: false, source: "create_network_interface", description: 'Checks whether you have the required permissions for the action,
    without actually making the request, and provides an error response.
    If you have the required permissions, the error response is
    DryRunOperation. Otherwise, it is UnauthorizedOperation.', create_network_interface_prop: 'dry_run', delete_network_interface_prop: 'dry_run', describe_network_interfaces_prop: 'dry_run', detach_network_interface_prop: 'dry_run'
  • #network_card_index ⇒ [Integer]
    'The index of the network card.'

    Property Attributes
    • attach_network_interface_prop'network_card_index'
    • disposition:attribute
    • read_onlyfalse
    • source"MintPress::Aws::EC2::NetworkInterface"
    • orig_name'network_card_index'
    • create_instances_prop'network_card_index'
    
    
    39
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_interface.rb', line 39
    
    property :network_card_index, attach_network_interface_prop: 'network_card_index', type: [Integer], disposition: :attribute, read_only: false, source: "MintPress::Aws::EC2::NetworkInterface", description: 'The index of the network card.', orig_name: 'network_card_index', create_instances_prop: 'network_card_index'
  • #association ⇒ [MintPress::Aws::EC2::NetworkInterfaceAssociation]
    'The association information for an Elastic IP address (IPv4) associated with the network interface.'

    Property Attributes
    • disposition:association
    • source"NetworkInterface"
    • orig_name'association'
    
    
    40
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_interface.rb', line 40
    
    property :association, disposition: :association, description: 'The association information for an Elastic IP address (IPv4) associated with the network interface.', source: "NetworkInterface", orig_name: 'association', type: [MintPress::Aws::EC2::NetworkInterfaceAssociation]
  • #description ⇒ [String]
    'A description for the network interface.'

    Property Attributes
    • source"create_network_interface"
    • orig_name'description'
    • create_network_interface_prop'description'
    • read_onlyfalse
    • create_instances_prop'description'
    
    
    43
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_interface.rb', line 43
    
    property :description, description: 'A description for the network interface.', source: "create_network_interface", orig_name: 'description', type: [String], create_network_interface_prop: 'description', read_only: false, create_instances_prop: 'description'
  • #groups ⇒ Array of ⇒ [String]
    'The IDs of one or more security groups.'

    Property Attributes
    • source"create_network_interface"
    • orig_name'groups'
    • create_network_interface_prop'groups'
    • read_onlyfalse
    • create_instances_prop'groups'
    
    
    44
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_interface.rb', line 44
    
    property :groups, description: 'The IDs of one or more security groups.', source: "create_network_interface", orig_name: 'groups', type: [String], array: true, create_network_interface_prop: 'groups', read_only: false, create_instances_prop: 'groups'
  • #interface_type ⇒ [String]
    'Indicates the type of network interface. To create an Elastic Fabric Adapter (EFA), specify efa. For more information, see Elastic Fabric Adapter in the Amazon Elastic Compute Cloud User Guide.'

    Property Attributes
    • source"create_network_interface"
    • orig_name'interface_type'
    • create_network_interface_prop'interface_type'
    • read_onlyfalse
    • create_instances_prop'interface_type'
    
    
    45
    46
    47
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_interface.rb', line 45
    
    property :interface_type, description: 'Indicates the type of network interface. To create an Elastic Fabric
    Adapter (EFA), specify efa. For more information, see  Elastic
    Fabric Adapter in the Amazon Elastic Compute Cloud User Guide.', source: "create_network_interface", orig_name: 'interface_type', type: [String], create_network_interface_prop: 'interface_type', read_only: false, create_instances_prop: 'interface_type'
  • #ipv_6_addresses ⇒ Array of ⇒ [String]
    'One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You can"t use this option if you"re specifying a number of IPv6 addresses.'

    Property Attributes
    • source"create_network_interface"
    • orig_name'ipv_6_addresses'
    • create_network_interface_prop"ipv_6_addresses.ipv_6_address.ipv_6_address"
    • read_onlyfalse
    • create_instances_prop"ipv_6_addresses.ipv_6_address"
    
    
    48
    49
    50
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_interface.rb', line 48
    
    property :ipv_6_addresses, description: 'One or more specific IPv6 addresses from the IPv6 CIDR block range of
    your subnet. You can"t use this option if you"re specifying a number
    of IPv6 addresses.', source: "create_network_interface", orig_name: 'ipv_6_addresses', type: [String], array: true, create_network_interface_prop: "ipv_6_addresses.ipv_6_address.ipv_6_address", read_only: false, create_instances_prop: "ipv_6_addresses.ipv_6_address"
  • #private_ip_address ⇒ [String]
    'The primary private IPv4 address of the network interface. If you don"t specify an IPv4 address, Amazon EC2 selects one for you from the subnet"s IPv4 CIDR range. If you specify an IP address, you cannot indicate any IP addresses specified in privateIpAddresses as primary (only one IP address can be designated as primary).'

    Property Attributes
    • source"create_network_interface"
    • orig_name'private_ip_address'
    • create_network_interface_prop'private_ip_address'
    • read_onlyfalse
    • create_instances_prop'private_ip_address'
    
    
    54
    55
    56
    57
    58
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_interface.rb', line 54
    
    property :private_ip_address, description: 'The primary private IPv4 address of the network interface. If you
    don"t specify an IPv4 address, Amazon EC2 selects one for you from
    the subnet"s IPv4 CIDR range. If you specify an IP address, you
    cannot indicate any IP addresses specified in privateIpAddresses as
    primary (only one IP address can be designated as primary).', source: "create_network_interface", orig_name: 'private_ip_address', type: [String], create_network_interface_prop: 'private_ip_address', read_only: false, create_instances_prop: 'private_ip_address'
  • #private_ip_addresses ⇒ Hash of ⇒ [MintPress::Aws::EC2::PrivateIpAddress]
    'One or more private IPv4 addresses.'

    Property Attributes
    • source"create_network_interface"
    • orig_name'private_ip_addresses'
    • create_network_interface_prop'private_ip_addresses'
    • read_onlyfalse
    • create_instances_prop'private_ip_addresses'
    
    
    59
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_interface.rb', line 59
    
    property :private_ip_addresses, description: 'One or more private IPv4 addresses.', source: "create_network_interface", orig_name: 'private_ip_addresses', type: [MintPress::Aws::EC2::PrivateIpAddress], array: false, create_network_interface_prop: 'private_ip_addresses', read_only: false, create_instances_prop: 'private_ip_addresses', hash: true
  • #ipv_6_address_count ⇒ [Integer]
    'The number of IPv6 addresses to assign to a network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can"t use this option if specifying specific IPv6 addresses. If your subnet has the AssignIpv6AddressOnCreation attribute set to true, you can specify 0 to override this setting.'

    Property Attributes
    • create_network_interface_prop'ipv_6_address_count'
    • read_onlyfalse
    • source"create_network_interface"
    • orig_name'ipv_6_address_count'
    • create_instances_prop'ipv_6_address_count'
    
    
    63
    64
    65
    66
    67
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_interface.rb', line 63
    
    property :ipv_6_address_count, create_network_interface_prop: 'ipv_6_address_count', type: [Integer], read_only: false, source: "create_network_interface", description: 'The number of IPv6 addresses to assign to a network interface. Amazon
    EC2 automatically selects the IPv6 addresses from the subnet range.
    You can"t use this option if specifying specific IPv6 addresses. If
    your subnet has the AssignIpv6AddressOnCreation attribute set to
    true, you can specify 0 to override this setting.', orig_name: 'ipv_6_address_count', create_instances_prop: 'ipv_6_address_count'
  • #secondary_private_ip_address_count ⇒ [Integer]
    'The number of secondary private IPv4 addresses to assign to a network interface. When you specify a number of secondary IPv4 addresses, Amazon EC2 selects these IP addresses within the subnet"s IPv4 CIDR range. You can"t specify this option and specify more than one private IP address using privateIpAddresses. The number of IP addresses you can assign to a network interface varies by instance type. For more information, see IP Addresses Per ENI Per Instance Type in the Amazon Virtual Private Cloud User Guide.'

    Property Attributes
    • create_network_interface_prop'secondary_private_ip_address_count'
    • read_onlyfalse
    • source"create_network_interface"
    • orig_name'secondary_private_ip_address_count'
    • create_instances_prop'secondary_private_ip_address_count'
    
    
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_interface.rb', line 68
    
    property :secondary_private_ip_address_count, create_network_interface_prop: 'secondary_private_ip_address_count', type: [Integer], read_only: false, source: "create_network_interface", description: 'The number of secondary private IPv4 addresses to assign to a network
    interface. When you specify a number of secondary IPv4 addresses,
    Amazon EC2 selects these IP addresses within the subnet"s IPv4 CIDR
    range. You can"t specify this option and specify more than one
    private IP address using privateIpAddresses.
    
    The number of IP addresses you can assign to a network interface
    varies by instance type. For more information, see IP Addresses Per
    ENI Per Instance Type in the Amazon Virtual Private Cloud User
    Guide.', orig_name: 'secondary_private_ip_address_count', create_instances_prop: 'secondary_private_ip_address_count'
  • #filters ⇒ Hash of ⇒ [MintPress::Aws::EC2::Filter]
    'One or more filters. addresses.private-ip-address - The private IPv4 addresses associated with the network interface. addresses.primary - Whether the private IPv4 address is the primary IP address associated with the network interface. addresses.association.public-ip - The association ID returned when the network interface was associated with the Elastic IP address (IPv4). addresses.association.owner-id - The owner ID of the addresses associated with the network interface. association.association-id - The association ID returned when the network interface was associated with an IPv4 address. association.allocation-id - The allocation ID returned when you allocated the Elastic IP address (IPv4) for your network interface. association.ip-owner-id - The owner of the Elastic IP address (IPv4) associated with the network interface. association.public-ip - The address of the Elastic IP address (IPv4) bound to the network interface. association.public-dns-name - The public DNS name for the network interface (IPv4). attachment.attachment-id - The ID of the interface attachment. attachment.attach-time - The time that the network interface was attached to an instance. attachment.delete-on-termination - Indicates whether the attachment is deleted when an instance is terminated. attachment.device-index - The device index to which the network interface is attached. attachment.instance-id - The ID of the instance to which the network interface is attached. attachment.instance-owner-id - The owner ID of the instance to which the network interface is attached. attachment.status - The status of the attachment (attaching | attached | detaching | detached). availability-zone - The Availability Zone of the network interface. description - The description of the network interface. group-id - The ID of a security group associated with the network interface. group-name - The name of a security group associated with the network interface. ipv6-addresses.ipv6-address - An IPv6 address associated with the network interface. mac-address - The MAC address of the network interface. network-interface-id - The ID of the network interface. owner-id - The AWS account ID of the network interface owner. private-ip-address - The private IPv4 address or addresses of the network interface. private-dns-name - The private DNS name of the network interface (IPv4). requester-id - The ID of the entity that launched the instance on your behalf (for example, AWS Management Console, Auto Scaling, and so on). requester-managed - Indicates whether the network interface is being managed by an AWS service (for example, AWS Management Console, Auto Scaling, and so on). source-dest-check - Indicates whether the network interface performs source/destination checking. A value of true means checking is enabled, and false means checking is disabled. The value must be false for the network interface to perform network address translation (NAT) in your VPC. status - The status of the network interface. If the network interface is not attached to an instance, the status is available; if a network interface is attached to an instance the status is in-use. subnet-id - The ID of the subnet for the network interface. tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value. tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value. vpc-id - The ID of the VPC for the network interface.'

    Property Attributes
    • describe_network_interfaces_prop'filters'
    • source"describe_network_interfaces"
    
    
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_interface.rb', line 79
    
    property :filters, describe_network_interfaces_prop: 'filters', type: [MintPress::Aws::EC2::Filter], array: false, source: "describe_network_interfaces", description: 'One or more filters.
    
    
    addresses.private-ip-address - The private IPv4 addresses
    associated with the network interface.
    addresses.primary - Whether the private IPv4 address is the
    primary IP address associated with the network interface.
    addresses.association.public-ip - The association ID returned when
    the network interface was associated with the Elastic IP address
    (IPv4).
    addresses.association.owner-id - The owner ID of the addresses
    associated with the network interface.
    association.association-id - The association ID returned when the
    network interface was associated with an IPv4 address.
    association.allocation-id - The allocation ID returned when you
    allocated the Elastic IP address (IPv4) for your network interface.
    association.ip-owner-id - The owner of the Elastic IP address
    (IPv4) associated with the network interface.
    association.public-ip - The address of the Elastic IP address
    (IPv4) bound to the network interface.
    association.public-dns-name - The public DNS name for the network
    interface (IPv4).
    attachment.attachment-id - The ID of the interface attachment.
    attachment.attach-time - The time that the network interface was
    attached to an instance.
    attachment.delete-on-termination - Indicates whether the
    attachment is deleted when an instance is terminated.
    attachment.device-index - The device index to which the network
    interface is attached.
    attachment.instance-id - The ID of the instance to which the
    network interface is attached.
    attachment.instance-owner-id - The owner ID of the instance to
    which the network interface is attached.
    attachment.status - The status of the attachment (attaching |
    attached | detaching | detached).
    availability-zone - The Availability Zone of the network
    interface.
    description - The description of the network interface.
    group-id - The ID of a security group associated with the network
    interface.
    group-name - The name of a security group associated with the
    network interface.
    ipv6-addresses.ipv6-address - An IPv6 address associated with the
    network interface.
    mac-address - The MAC address of the network interface.
    network-interface-id - The ID of the network interface.
    owner-id - The AWS account ID of the network interface owner.
    private-ip-address - The private IPv4 address or addresses of the
    network interface.
    private-dns-name - The private DNS name of the network interface
    (IPv4).
    requester-id - The ID of the entity that launched the instance on
    your behalf (for example, AWS Management Console, Auto Scaling, and
    so on).
    requester-managed - Indicates whether the network interface is
    being managed by an AWS service (for example, AWS Management
    Console, Auto Scaling, and so on).
    source-dest-check - Indicates whether the network interface
    performs source/destination checking. A value of true means
    checking is enabled, and false means checking is disabled. The
    value must be false for the network interface to perform network
    address translation (NAT) in your VPC.
    status - The status of the network interface. If the network
    interface is not attached to an instance, the status is available;
    if a network interface is attached to an instance the status is
    in-use.
    subnet-id - The ID of the subnet for the network interface.
    tag:<key> - The key/value combination of a tag assigned to
    the resource. Use the tag key in the filter name and the tag value
    as the filter value. For example, to find all resources that have a
    tag with the key Owner and the value TeamA, specify tag:Owner
    for the filter name and TeamA for the filter value.
    tag-key - The key of a tag assigned to the resource. Use this
    filter to find all resources assigned a tag with a specific key,
    regardless of the tag value.
    vpc-id - The ID of the VPC for the network interface.', hash: true
  • #max_results ⇒ [Integer]
    'The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results. You cannot specify this parameter and the network interface IDs parameter in the same request.'

    Property Attributes
    • describe_network_interfaces_prop'max_results'
    • source"describe_network_interfaces"
    
    
    155
    156
    157
    158
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_interface.rb', line 155
    
    property :max_results, describe_network_interfaces_prop: 'max_results', type: [Integer], source: "describe_network_interfaces", description: 'The maximum number of items to return for this request. The request
    returns a token that you can specify in a subsequent call to get the
    next set of results. You cannot specify this parameter and the network
    interface IDs parameter in the same request.'
  • #associate_carrier_ip_address ⇒ [TrueClass,FalseClass]
    'Indicates whether to assign a carrier IP address to the network interface.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::NetworkInterface"
    • orig_name'associate_carrier_ip_address'
    • create_instances_prop'associate_carrier_ip_address'
    
    
    159
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_interface.rb', line 159
    
    property :associate_carrier_ip_address, disposition: :attribute, description: 'Indicates whether to assign a carrier IP address to the network interface.', source: "MintPress::Aws::EC2::NetworkInterface", orig_name: 'associate_carrier_ip_address', type: [TrueClass,FalseClass], create_instances_prop: 'associate_carrier_ip_address'
  • #associate_public_ip_address ⇒ [TrueClass,FalseClass]
    'Indicates whether to assign a public IPv4 address to an instance you launch in a VPC.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::NetworkInterface"
    • orig_name'associate_public_ip_address'
    • create_instances_prop'associate_public_ip_address'
    
    
    160
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_interface.rb', line 160
    
    property :associate_public_ip_address, disposition: :attribute, description: 'Indicates whether to assign a public IPv4 address to an instance you launch in a VPC.', source: "MintPress::Aws::EC2::NetworkInterface", orig_name: 'associate_public_ip_address', type: [TrueClass,FalseClass], create_instances_prop: 'associate_public_ip_address'
  • #delete_on_termination ⇒ [TrueClass,FalseClass]
    'If set to true, the interface is deleted when the instance is terminated.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::EC2::NetworkInterface"
    • orig_name'delete_on_termination'
    • create_instances_prop'delete_on_termination'
    
    
    161
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_interface.rb', line 161
    
    property :delete_on_termination, disposition: :attribute, description: 'If set to true, the interface is deleted when the instance is terminated.', source: "MintPress::Aws::EC2::NetworkInterface", orig_name: 'delete_on_termination', type: [TrueClass,FalseClass], create_instances_prop: 'delete_on_termination'
  • #force ⇒ [TrueClass,FalseClass]
    'Specifies whether to force a detachment. * Use the Force parameter only as a last resort to detach a network interface from a failed instance. If you use the Force parameter to detach a network interface, you might not be able to attach a different network interface to the same index on the instance without first stopping and starting the instance. If you force the detachment of a network interface, the instance metadata might not get updated. This means that the attributes associated with the detached network interface might still be visible. The instance metadata will get updated when you stop and start the instance.'

    Property Attributes
    • detach_network_interface_prop'force'
    • read_onlyfalse
    • source"detach_network_interface"
    
    
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_interface.rb', line 162
    
    property :force, detach_network_interface_prop: 'force', type: [TrueClass,FalseClass], read_only: false, source: "detach_network_interface", description: 'Specifies whether to force a detachment.
    
     * Use the Force parameter only as a last resort to detach a network
      interface from a failed instance.
    
    
    If you use the Force parameter to detach a network interface, you
    might not be able to attach a different network interface to the
    same index on the instance without first stopping and starting the
    instance.
    If you force the detachment of a network interface, the instance
    metadata might not get updated. This means that the attributes
    associated with the detached network interface might still be
    visible. The instance metadata will get updated when you stop and
    start the instance.'
  • #id ⇒ [String]
    'One or more network interface IDs. Default: Describes all your network interfaces.'

    Property Attributes
    • read_onlyfalse
    • disposition:attribute
    • source"describe_network_interfaces"
    • orig_name'network_interface_id'
    • attach_network_interface_prop'network_interface_id'
    • delete_network_interface_prop'network_interface_id'
    • create_instances_prop'network_interface_id'
    • describe_network_interfaces_prop'network_interface_ids'
    
    
    177
    178
    179
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_interface.rb', line 177
    
    property :id, read_only: false, disposition: :attribute, description: 'One or more network interface IDs.
    
    Default: Describes all your network interfaces.', source: "describe_network_interfaces", orig_name: 'network_interface_id', type: [String], attach_network_interface_prop: 'network_interface_id', delete_network_interface_prop: 'network_interface_id', create_instances_prop: 'network_interface_id', array: false, hash: false, describe_network_interfaces_prop: 'network_interface_ids'
  • #subnet ⇒ [MintPress::Aws::EC2::Subnet] (Default Value: MintPress::Aws::EC2::Subnet.new)
    'The ID of the subnet to associate with the network interface.'

    Property Attributes
    • disposition:association
    • source"NetworkInterface"
    • orig_name'subnet'
    • create_network_interface_prop'subnet_id'
    • read_onlyfalse
    • create_instances_prop'subnet_id'
    • defaultMintPress::Aws::EC2::Subnet.new
    • fromString
    
    
    180
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_interface.rb', line 180
    
    property :subnet, disposition: :association, description: 'The ID of the subnet to associate with the network interface.', source: "NetworkInterface", orig_name: 'subnet', type: [MintPress::Aws::EC2::Subnet], create_network_interface_prop: 'subnet_id', read_only: false, create_instances_prop: 'subnet_id', default: MintPress::Aws::EC2::Subnet.new, from: String
  • #instance ⇒ [MintPress::Aws::EC2::Instance]
    'The ID of the instance.'

    Property Attributes
    • attach_network_interface_prop'instance_id'
    • read_onlyfalse
    • source"attach_network_interface"
    • fromString
    
    
    182
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_interface.rb', line 182
    
    property :instance, attach_network_interface_prop: 'instance_id', type: [MintPress::Aws::EC2::Instance], read_only: false, source: "attach_network_interface", description: 'The ID of the instance.', from: String
  • #name ⇒ [String]

    Property Attributes
    
    
    185
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_interface.rb', line 185
    
    property :name, type: [String]
  • #region ⇒ String
    Region _specifically for this object_. If you're not doing different objects in different regions, you should not set this, but rather set the region on your AwsPlatformProvider instead

    Property Attributes
    
    
    189
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_interface.rb', line 189
    
    property :region, type: String
  • #platform ⇒ MintPress::InfrastructureAws::AwsPlatform (Default Value: MintPress::InfrastructureAws::AwsPlatform.new)
    The platform details, including credentials - normally this will come via AwsPlatformProvider (see the Infrastructure Providers section of the documentation)

    Property Attributes
    • defaultMintPress::InfrastructureAws::AwsPlatform.new
    
    
    192
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_interface.rb', line 192
    
    property :platform, type: MintPress::InfrastructureAws::AwsPlatform, default: MintPress::InfrastructureAws::AwsPlatform.new

Properties (Read Only)

  • #attachment ⇒ [MintPress::Aws::EC2::NetworkInterfaceAttachment] (Default Value: MintPress::Aws::EC2::NetworkInterfaceAttachment.new)
    'The network interface attachment.'

    Property Attributes
    • detach_network_interface_prop'attachment_id'
    • disposition:read_only_attribute
    • read_onlytrue
    • source"NetworkInterface"
    • orig_name'attachment'
    • defaultMintPress::Aws::EC2::NetworkInterfaceAttachment.new
    • fromString
    
    
    41
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_interface.rb', line 41
    
    property :attachment, detach_network_interface_prop: 'attachment_id', type: [MintPress::Aws::EC2::NetworkInterfaceAttachment], disposition: :read_only_attribute, read_only: true, source: "NetworkInterface", description: 'The network interface attachment.', orig_name: 'attachment', default: MintPress::Aws::EC2::NetworkInterfaceAttachment.new, from: String
  • #availability_zone ⇒ [String]
    'The Availability Zone.'

    Property Attributes
    • disposition:read_only_attribute
    • source"NetworkInterface"
    • orig_name'availability_zone'
    • read_onlytrue
    
    
    42
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_interface.rb', line 42
    
    property :availability_zone, disposition: :read_only_attribute, description: 'The Availability Zone.', source: "NetworkInterface", orig_name: 'availability_zone', type: [String], read_only: true
  • #mac_address ⇒ [String]
    'The MAC address.'

    Property Attributes
    • disposition:read_only_attribute
    • source"NetworkInterface"
    • orig_name'mac_address'
    • read_onlytrue
    
    
    51
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_interface.rb', line 51
    
    property :mac_address, disposition: :read_only_attribute, description: 'The MAC address.', source: "NetworkInterface", orig_name: 'mac_address', type: [String], read_only: true
  • #outpost_arn ⇒ [String]
    'The Amazon Resource Name (ARN) of the Outpost.'

    Property Attributes
    • disposition:read_only_attribute
    • source"NetworkInterface"
    • orig_name'outpost_arn'
    • read_onlytrue
    
    
    52
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_interface.rb', line 52
    
    property :outpost_arn, disposition: :read_only_attribute, description: 'The Amazon Resource Name (ARN) of the Outpost.', source: "NetworkInterface", orig_name: 'outpost_arn', type: [String], read_only: true
  • #private_dns_name ⇒ [String] (Default Value: Proc.new { self.name })
    'The private DNS name.'

    Property Attributes
    • disposition:read_only_attribute
    • source"NetworkInterface"
    • orig_name'private_dns_name'
    • read_onlytrue
    • defaultProc.new { self.name }
    
    
    53
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_interface.rb', line 53
    
    property :private_dns_name, disposition: :read_only_attribute, description: 'The private DNS name.', source: "NetworkInterface", orig_name: 'private_dns_name', type: [String], read_only: true, default: Proc.new { self.name }
  • #requester_managed ⇒ [TrueClass,FalseClass]
    'Indicates whether the network interface is being managed by AWS.'

    Property Attributes
    • disposition:read_only_attribute
    • source"NetworkInterface"
    • orig_name'requester_managed'
    • read_onlytrue
    
    
    60
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_interface.rb', line 60
    
    property :requester_managed, disposition: :read_only_attribute, description: 'Indicates whether the network interface is being managed by AWS.', source: "NetworkInterface", orig_name: 'requester_managed', type: [TrueClass,FalseClass], read_only: true
  • #source_dest_check ⇒ [TrueClass,FalseClass]
    'Indicates whether traffic to or from the instance is validated.'

    Property Attributes
    • disposition:read_only_attribute
    • source"NetworkInterface"
    • orig_name'source_dest_check'
    • read_onlytrue
    
    
    61
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_interface.rb', line 61
    
    property :source_dest_check, disposition: :read_only_attribute, description: 'Indicates whether traffic to or from the instance is validated.', source: "NetworkInterface", orig_name: 'source_dest_check', type: [TrueClass,FalseClass], read_only: true
  • #status ⇒ [String]
    'The status of the network interface.'

    Property Attributes
    • disposition:read_only_attribute
    • source"NetworkInterface"
    • orig_name'status'
    • read_onlytrue
    
    
    62
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_interface.rb', line 62
    
    property :status, disposition: :read_only_attribute, description: 'The status of the network interface.', source: "NetworkInterface", orig_name: 'status', type: [String], read_only: true
  • #tags ⇒ Hash of ⇒ [MintPress::Aws::EC2::Tag]
    'Any tags assigned to the network interface.'

    Property Attributes
    • disposition:read_only_attribute
    • source"NetworkInterface"
    • orig_name'tag_set'
    • read_onlytrue
    
    
    78
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_interface.rb', line 78
    
    property :tags, disposition: :read_only_attribute, description: 'Any tags assigned to the network interface.', source: "NetworkInterface", orig_name: 'tag_set', type: [MintPress::Aws::EC2::Tag], array: false, read_only: true, hash: true
  • #vpc ⇒ [MintPress::Aws::EC2::Vpc] (Default Value: MintPress::Aws::EC2::Vpc.new)
    'The ID of the VPC.'

    Property Attributes
    • disposition:association
    • source"NetworkInterface"
    • orig_name'vpc'
    • read_onlytrue
    • defaultMintPress::Aws::EC2::Vpc.new
    • fromString
    
    
    181
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_interface.rb', line 181
    
    property :vpc, disposition: :association, description: 'The ID of the VPC.', source: "NetworkInterface", orig_name: 'vpc', type: [MintPress::Aws::EC2::Vpc], read_only: true, default: MintPress::Aws::EC2::Vpc.new, from: String
  • #owner ⇒ [String]
    'The AWS account ID of the owner of the network interface.'

    Property Attributes
    • disposition:read_only_attribute
    • source"NetworkInterface"
    • orig_name'owner_id'
    • read_onlytrue
    
    
    183
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_interface.rb', line 183
    
    property :owner, disposition: :read_only_attribute, description: 'The AWS account ID of the owner of the network interface.', source: "NetworkInterface", orig_name: 'owner_id', type: [String], read_only: true
  • #requester ⇒ [String]
    'The ID of the entity that launched the instance on your behalf (for example, AWS Management Console or Auto Scaling).'

    Property Attributes
    • disposition:read_only_attribute
    • source"NetworkInterface"
    • orig_name'requester_id'
    • read_onlytrue
    
    
    184
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/network_interface.rb', line 184
    
    property :requester, disposition: :read_only_attribute, description: 'The ID of the entity that launched the instance on your behalf (for example, AWS Management Console or Auto Scaling).', source: "NetworkInterface", orig_name: 'requester_id', type: [String], read_only: true

Constant Summary

Constants included from MintLogger

MintLogger::DEBUG, MintLogger::ERROR, MintLogger::FATAL, MintLogger::INFO, MintLogger::UNKNOWN, MintLogger::VERBOSE, MintLogger::WARN

Instance Attribute Summary

Attributes included from Mixins::Properties

#autopush_set_cache, #dynamic_create, #harvest_on_access, #harvest_undefined_only, #harvested, #tree_root

Instance Method Summary collapse

Methods included from AwsCommon

#alive?, all, #attach_generic, #attached?, #available?, #build_create_hash, #by_id, #by_name, #create_generic, #delete_cascade_generic, #delete_generic, #detach_generic, #exists?, #fill_in_details, #find_by_details, #find_global_object, #get_aws_region, #get_state, #handle_singleton_object, #harvest, #perform_operation, #prop_to_hash, #register_aws_object, #resource_api, #running?, #start_generic, #started?, #stop_generic, #terminate_generic

Methods included from Mixins::Properties

#[], #[]=, #add_validate_report_result, #armour_set_property, #array_contains?, #array_is_a?, #check_autopush, #check_stack_overflow, #clone_property_object, #cloner_handle_single_property, #coerce_single, #contains_as_string?, #display_validate_report_result, #double_initialize?, #dump_to_hash, #find_parent, #find_parent_by_identity, #generate_accessor_functions, #get_canonical_renamed, #get_from_opts, #get_my_name, #get_property, #get_property_item, #has?, included, #initialize_validate_report, #inspect, #is_cloned_object?, #is_mintpress_object?, #is_probably_canonical?, #is_set?, #local_debug, #local_info, #local_verbose, #mintpress_property_definitions, #place_object_by_identity, #process_properties, #prop_set?, #property, #property_definitions, #property_details, #property_is_simple_object?, #push_root!, #require_property, #require_update, #retrieve_docstring, #sanitize, #set_map_dirty, #set_property, #set_property_item, #show_short_array, #strip_defaults!, #synchronize, #uncloned_property_definitions, #update_map, #validate, #validate_generic, #validate_properties, #validate_property, #validate_required, #version_allowed?, #weakref

Methods included from MintLogger::Utils::Common

#boolean_val, #has_value?, #no_value?, #nvl, #path_as_symbol, #ruby_level_to_send

Constructor Details

#initialize(opts = {}) ⇒ NetworkInterface

Returns a new instance of NetworkInterface.

Instance Method Details

#attachObject

#createObject

#deleteObject

#delete_cascadeObject

#describeObject

#detachObject