Interface ICfnNetworkInterfacePermissionProps
Properties for defining a CfnNetworkInterfacePermission.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnNetworkInterfacePermissionProps
Syntax (vb)
Public Interface ICfnNetworkInterfacePermissionProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var cfnNetworkInterfacePermissionProps = new CfnNetworkInterfacePermissionProps {
AwsAccountId = "awsAccountId",
NetworkInterfaceId = "networkInterfaceId",
Permission = "permission"
};
Synopsis
Properties
| AwsAccountId | The AWS account ID. |
| NetworkInterfaceId | The ID of the network interface. |
| Permission | The type of permission to grant: |
Properties
AwsAccountId
The AWS account ID.
string AwsAccountId { get; }
Property Value
Remarks
NetworkInterfaceId
The ID of the network interface.
string NetworkInterfaceId { get; }
Property Value
Remarks
Permission
The type of permission to grant: INSTANCE-ATTACH or EIP-ASSOCIATE .
string Permission { get; }