Class CfnNetworkInterfaceProps.Jsii$Proxy
- All Implemented Interfaces:
CfnNetworkInterfaceProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnNetworkInterfaceProps
CfnNetworkInterfaceProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.CfnNetworkInterfaceProps
CfnNetworkInterfaceProps.Builder, CfnNetworkInterfaceProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnNetworkInterfaceProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal ObjectA connection tracking specification for the network interface.final StringA description for the network interface.final ObjectIf you’re modifying a network interface in a dual-stack or IPv6-only subnet, you have the option to assign a primary IPv6 IP address.The IDs of the security groups associated with this network interface.final StringThe type of network interface.final NumberThe number of IPv4 prefixes to be automatically assigned to the network interface.final ObjectThe IPv4 delegated prefixes that are assigned to the network interface.final NumberThe number of IPv6 addresses to assign to the network interface.final ObjectThe IPv6 addresses from the IPv6 CIDR block range of your subnet to assign to the network interface.final NumberThe number of IPv6 prefixes to be automatically assigned to the network interface.final ObjectThe IPv6 delegated prefixes that are assigned to the network interface.final StringThe private IPv4 address to assign to the network interface as the primary private IP address.final ObjectThe private IPv4 addresses to assign to the network interface.final NumberThe number of secondary private IPv4 addresses to assign to a network interface.final ObjectEnable or disable source/destination checks, which ensure that the instance is either the source or the destination of any traffic that it receives.final StringThe ID of the subnet to associate with the network interface.getTags()The tags to apply to the network interface.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnNetworkInterfaceProps.Builder.
-
-
Method Details
-
getSubnetId
Description copied from interface:CfnNetworkInterfacePropsThe ID of the subnet to associate with the network interface.- Specified by:
getSubnetIdin interfaceCfnNetworkInterfaceProps- See Also:
-
getConnectionTrackingSpecification
Description copied from interface:CfnNetworkInterfacePropsA connection tracking specification for the network interface.Returns union: either
IResolvableorCfnNetworkInterface.ConnectionTrackingSpecificationProperty- Specified by:
getConnectionTrackingSpecificationin interfaceCfnNetworkInterfaceProps- See Also:
-
getDescription
Description copied from interface:CfnNetworkInterfacePropsA description for the network interface.- Specified by:
getDescriptionin interfaceCfnNetworkInterfaceProps- See Also:
-
getEnablePrimaryIpv6
Description copied from interface:CfnNetworkInterfacePropsIf you’re modifying a network interface in a dual-stack or IPv6-only subnet, you have the option to assign a primary IPv6 IP address.A primary IPv6 address is an IPv6 GUA address associated with an ENI that you have enabled to use a primary IPv6 address. Use this option if the instance that this ENI will be attached to relies on its IPv6 address not changing. AWS will automatically assign an IPv6 address associated with the ENI attached to your instance to be the primary IPv6 address. Once you enable an IPv6 GUA address to be a primary IPv6, you cannot disable it. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. If you have multiple IPv6 addresses associated with an ENI attached to your instance and you enable a primary IPv6 address, the first IPv6 GUA address associated with the ENI becomes the primary IPv6 address.
Returns union: either
BooleanorIResolvable- Specified by:
getEnablePrimaryIpv6in interfaceCfnNetworkInterfaceProps- See Also:
-
getGroupSet
Description copied from interface:CfnNetworkInterfacePropsThe IDs of the security groups associated with this network interface.- Specified by:
getGroupSetin interfaceCfnNetworkInterfaceProps- See Also:
-
getInterfaceType
Description copied from interface:CfnNetworkInterfacePropsThe type of network interface.The default is
interface. The supported values areefaandtrunk.- Specified by:
getInterfaceTypein interfaceCfnNetworkInterfaceProps- See Also:
-
getIpv4PrefixCount
Description copied from interface:CfnNetworkInterfacePropsThe number of IPv4 prefixes to be automatically assigned to the network interface.When creating a network interface, you can't specify a count of IPv4 prefixes if you've specified one of the following: specific IPv4 prefixes, specific private IPv4 addresses, or a count of private IPv4 addresses.
- Specified by:
getIpv4PrefixCountin interfaceCfnNetworkInterfaceProps- See Also:
-
getIpv4Prefixes
Description copied from interface:CfnNetworkInterfacePropsThe IPv4 delegated prefixes that are assigned to the network interface.When creating a network interface, you can't specify IPv4 prefixes if you've specified one of the following: a count of IPv4 prefixes, specific private IPv4 addresses, or a count of private IPv4 addresses.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnNetworkInterface.Ipv4PrefixSpecificationProperty>- Specified by:
getIpv4Prefixesin interfaceCfnNetworkInterfaceProps- See Also:
-
getIpv6AddressCount
Description copied from interface:CfnNetworkInterfacePropsThe number of IPv6 addresses to assign to the network interface.Amazon EC2 automatically selects the IPv6 addresses from the subnet range. To specify specific IPv6 addresses, use the
Ipv6Addressesproperty and don't specify this property.When creating a network interface, you can't specify a count of IPv6 addresses if you've specified one of the following: specific IPv6 addresses, specific IPv6 prefixes, or a count of IPv6 prefixes.
- Specified by:
getIpv6AddressCountin interfaceCfnNetworkInterfaceProps- See Also:
-
getIpv6Addresses
Description copied from interface:CfnNetworkInterfacePropsThe IPv6 addresses from the IPv6 CIDR block range of your subnet to assign to the network interface.If you're specifying a number of IPv6 addresses, use the
Ipv6AddressCountproperty and don't specify this property.When creating a network interface, you can't specify IPv6 addresses if you've specified one of the following: a count of IPv6 addresses, specific IPv6 prefixes, or a count of IPv6 prefixes.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnNetworkInterface.InstanceIpv6AddressProperty>- Specified by:
getIpv6Addressesin interfaceCfnNetworkInterfaceProps- See Also:
-
getIpv6PrefixCount
Description copied from interface:CfnNetworkInterfacePropsThe number of IPv6 prefixes to be automatically assigned to the network interface.When creating a network interface, you can't specify a count of IPv6 prefixes if you've specified one of the following: specific IPv6 prefixes, specific IPv6 addresses, or a count of IPv6 addresses.
- Specified by:
getIpv6PrefixCountin interfaceCfnNetworkInterfaceProps- See Also:
-
getIpv6Prefixes
Description copied from interface:CfnNetworkInterfacePropsThe IPv6 delegated prefixes that are assigned to the network interface.When creating a network interface, you can't specify IPv6 prefixes if you've specified one of the following: a count of IPv6 prefixes, specific IPv6 addresses, or a count of IPv6 addresses.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnNetworkInterface.Ipv6PrefixSpecificationProperty>- Specified by:
getIpv6Prefixesin interfaceCfnNetworkInterfaceProps- See Also:
-
getPrivateIpAddress
Description copied from interface:CfnNetworkInterfacePropsThe private IPv4 address to assign to the network interface as the primary private IP address.If you want to specify multiple private IP addresses, use the
PrivateIpAddressesproperty.- Specified by:
getPrivateIpAddressin interfaceCfnNetworkInterfaceProps- See Also:
-
getPrivateIpAddresses
Description copied from interface:CfnNetworkInterfacePropsThe private IPv4 addresses to assign to the network interface.You can specify a primary private IP address by setting the value of the
Primaryproperty totruein thePrivateIpAddressSpecificationproperty. If you want EC2 to automatically assign private IP addresses, use theSecondaryPrivateIpAddressCountproperty and do not specify this property.When creating a network interface, you can't specify private IPv4 addresses if you've specified one of the following: a count of private IPv4 addresses, specific IPv4 prefixes, or a count of IPv4 prefixes.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnNetworkInterface.PrivateIpAddressSpecificationProperty>- Specified by:
getPrivateIpAddressesin interfaceCfnNetworkInterfaceProps- See Also:
-
getSecondaryPrivateIpAddressCount
Description copied from interface:CfnNetworkInterfacePropsThe 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.When creating a Network Interface, you can't specify a count of private IPv4 addresses if you've specified one of the following: specific private IPv4 addresses, specific IPv4 prefixes, or a count of IPv4 prefixes.
- Specified by:
getSecondaryPrivateIpAddressCountin interfaceCfnNetworkInterfaceProps- See Also:
-
getSourceDestCheck
Description copied from interface:CfnNetworkInterfacePropsEnable or disable source/destination checks, which ensure that the instance is either the source or the destination of any traffic that it receives.If the value is
true, source/destination checks are enabled; otherwise, they are disabled. The default value istrue. You must disable source/destination checks if the instance runs services such as network address translation, routing, or firewalls.Returns union: either
BooleanorIResolvable- Specified by:
getSourceDestCheckin interfaceCfnNetworkInterfaceProps- See Also:
-
getTags
Description copied from interface:CfnNetworkInterfacePropsThe tags to apply to the network interface.- Specified by:
getTagsin interfaceCfnNetworkInterfaceProps- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-