@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.273Z") @Stability(value=Stable) public interface CfnNetworkInterfacePermissionProps 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.*;
CfnNetworkInterfacePermissionProps cfnNetworkInterfacePermissionProps = CfnNetworkInterfacePermissionProps.builder()
.awsAccountId("awsAccountId")
.networkInterfaceId("networkInterfaceId")
.permission("permission")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnNetworkInterfacePermissionProps.Builder
A builder for
CfnNetworkInterfacePermissionProps |
static class |
CfnNetworkInterfacePermissionProps.Jsii$Proxy
An implementation for
CfnNetworkInterfacePermissionProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnNetworkInterfacePermissionProps.Builder |
builder() |
String |
getAwsAccountId()
The AWS account ID.
|
String |
getNetworkInterfaceId()
The ID of the network interface.
|
String |
getPermission()
The type of permission to grant: `INSTANCE-ATTACH` or `EIP-ASSOCIATE` .
|
@Stability(value=Stable) @NotNull String getAwsAccountId()
@Stability(value=Stable) @NotNull String getNetworkInterfaceId()
@Stability(value=Stable) @NotNull String getPermission()
@Stability(value=Stable) static CfnNetworkInterfacePermissionProps.Builder builder()
Copyright © 2022. All rights reserved.