Interface CfnNetworkInterfacePermissionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnNetworkInterfacePermissionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-12-01T16:02:19.057Z")
@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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnNetworkInterfacePermissionPropsstatic final classAn implementation forCfnNetworkInterfacePermissionProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The AWS account ID.The ID of the network interface.The type of permission to grant:INSTANCE-ATTACHorEIP-ASSOCIATE.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAwsAccountId
The AWS account ID.- See Also:
-
getNetworkInterfaceId
The ID of the network interface.- See Also:
-
getPermission
The type of permission to grant:INSTANCE-ATTACHorEIP-ASSOCIATE.- See Also:
-
builder
-