@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:16.963Z") @Stability(value=Stable) public interface CfnNetworkInterfaceAttachmentProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;
CfnNetworkInterfaceAttachmentProps cfnNetworkInterfaceAttachmentProps = CfnNetworkInterfaceAttachmentProps.builder()
.deviceIndex("deviceIndex")
.instanceId("instanceId")
.networkInterfaceId("networkInterfaceId")
// the properties below are optional
.deleteOnTermination(false)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnNetworkInterfaceAttachmentProps.Builder
A builder for
CfnNetworkInterfaceAttachmentProps |
static class |
CfnNetworkInterfaceAttachmentProps.Jsii$Proxy
An implementation for
CfnNetworkInterfaceAttachmentProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnNetworkInterfaceAttachmentProps.Builder |
builder() |
default Object |
getDeleteOnTermination()
`AWS::EC2::NetworkInterfaceAttachment.DeleteOnTermination`.
|
String |
getDeviceIndex()
`AWS::EC2::NetworkInterfaceAttachment.DeviceIndex`.
|
String |
getInstanceId()
`AWS::EC2::NetworkInterfaceAttachment.InstanceId`.
|
String |
getNetworkInterfaceId()
`AWS::EC2::NetworkInterfaceAttachment.NetworkInterfaceId`.
|
@Stability(value=Stable) @Nullable default Object getDeleteOnTermination()
@Stability(value=Stable) @NotNull String getDeviceIndex()
@Stability(value=Stable) @NotNull String getInstanceId()
@Stability(value=Stable) @NotNull String getNetworkInterfaceId()
@Stability(value=Stable) static CfnNetworkInterfaceAttachmentProps.Builder builder()
Copyright © 2021. All rights reserved.