Interface CfnNetworkInterfacePermissionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnNetworkInterfacePermissionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:38.880Z")
@Stability(Stable)
public interface CfnNetworkInterfacePermissionProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnNetworkInterfacePermission
.
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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnNetworkInterfacePermissionProps
static final class
An implementation forCfnNetworkInterfacePermissionProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The AWS account ID.The ID of the network interface.The type of permission to grant:INSTANCE-ATTACH
orEIP-ASSOCIATE
.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAwsAccountId
The AWS account ID. -
getNetworkInterfaceId
The ID of the network interface. -
getPermission
The type of permission to grant:INSTANCE-ATTACH
orEIP-ASSOCIATE
. -
builder
-