@Generated(value="jsii-pacmak/1.9.0 (build 5c646d5)", date="2020-07-28T21:12:25.889Z") @Stability(value=Stable) public class CfnNetworkInterfaceAttachment extends CfnResource implements IInspectable
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-interface-attachment.html
Modifier and Type | Class and Description |
---|---|
static class |
CfnNetworkInterfaceAttachment.Builder
A fluent builder for
CfnNetworkInterfaceAttachment . |
software.amazon.jsii.JsiiObject.InitializationMode
IInspectable.Jsii$Proxy
Modifier and Type | Field and Description |
---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnNetworkInterfaceAttachment(Construct scope,
String id,
CfnNetworkInterfaceAttachmentProps props)
Create a new `AWS::EC2::NetworkInterfaceAttachment`.
|
protected |
CfnNetworkInterfaceAttachment(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnNetworkInterfaceAttachment(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
static CfnNetworkInterfaceAttachment |
fromCloudFormation(Construct scope,
String id,
Object resourceAttributes,
FromCloudFormationOptions options)
A factory method that creates a new instance of this class from an object containing the CloudFormation properties of this resource.
|
protected Map<String,Object> |
getCfnProperties() |
Object |
getDeleteOnTermination()
`AWS::EC2::NetworkInterfaceAttachment.DeleteOnTermination`.
|
String |
getDeviceIndex()
`AWS::EC2::NetworkInterfaceAttachment.DeviceIndex`.
|
String |
getInstanceId()
`AWS::EC2::NetworkInterfaceAttachment.InstanceId`.
|
String |
getNetworkInterfaceId()
`AWS::EC2::NetworkInterfaceAttachment.NetworkInterfaceId`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setDeleteOnTermination(Boolean value)
`AWS::EC2::NetworkInterfaceAttachment.DeleteOnTermination`.
|
void |
setDeleteOnTermination(IResolvable value)
`AWS::EC2::NetworkInterfaceAttachment.DeleteOnTermination`.
|
void |
setDeviceIndex(String value)
`AWS::EC2::NetworkInterfaceAttachment.DeviceIndex`.
|
void |
setInstanceId(String value)
`AWS::EC2::NetworkInterfaceAttachment.InstanceId`.
|
void |
setNetworkInterfaceId(String value)
`AWS::EC2::NetworkInterfaceAttachment.NetworkInterfaceId`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getUpdatedProperites, isCfnResource, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet
@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnNetworkInterfaceAttachment(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnNetworkInterfaceAttachment(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) public CfnNetworkInterfaceAttachment(@NotNull Construct scope, @NotNull String id, @NotNull CfnNetworkInterfaceAttachmentProps props)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.props
- - resource properties. This parameter is required.@Stability(value=Experimental) @NotNull public static CfnNetworkInterfaceAttachment fromCloudFormation(@NotNull Construct scope, @NotNull String id, @NotNull Object resourceAttributes, @NotNull FromCloudFormationOptions options)
Used in the @aws-cdk/cloudformation-include module.
EXPERIMENTAL
scope
- This parameter is required.id
- This parameter is required.resourceAttributes
- This parameter is required.options
- This parameter is required.@Stability(value=Experimental) public void inspect(@NotNull TreeInspector inspector)
EXPERIMENTAL
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties
in class CfnResource
@Stability(value=Stable) @NotNull public String getDeviceIndex()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-interface-attachment.html#cfn-ec2-network-interface-attachment-deviceindex
@Stability(value=Stable) public void setDeviceIndex(@NotNull String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-interface-attachment.html#cfn-ec2-network-interface-attachment-deviceindex
@Stability(value=Stable) @NotNull public String getInstanceId()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-interface-attachment.html#cfn-ec2-network-interface-attachment-instanceid
@Stability(value=Stable) public void setInstanceId(@NotNull String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-interface-attachment.html#cfn-ec2-network-interface-attachment-instanceid
@Stability(value=Stable) @NotNull public String getNetworkInterfaceId()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-interface-attachment.html#cfn-ec2-network-interface-attachment-networkinterfaceid
@Stability(value=Stable) public void setNetworkInterfaceId(@NotNull String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-interface-attachment.html#cfn-ec2-network-interface-attachment-networkinterfaceid
@Stability(value=Stable) @Nullable public Object getDeleteOnTermination()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-interface-attachment.html#cfn-ec2-network-interface-attachment-deleteonterm
@Stability(value=Stable) public void setDeleteOnTermination(@Nullable Boolean value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-interface-attachment.html#cfn-ec2-network-interface-attachment-deleteonterm
@Stability(value=Stable) public void setDeleteOnTermination(@Nullable IResolvable value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-interface-attachment.html#cfn-ec2-network-interface-attachment-deleteonterm
Copyright © 2020. All rights reserved.