Class CfnNetworkInterfacePermissionProps
Properties for defining a CfnNetworkInterfacePermission.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnNetworkInterfacePermissionProps : ICfnNetworkInterfacePermissionProps
Syntax (vb)
Public Class CfnNetworkInterfacePermissionProps Implements 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
Constructors
| CfnNetworkInterfacePermissionProps() | Properties for defining a |
Properties
| AwsAccountId | The AWS account ID. |
| NetworkInterfaceId | The ID of the network interface. |
| Permission | The type of permission to grant: |
Constructors
CfnNetworkInterfacePermissionProps()
Properties for defining a CfnNetworkInterfacePermission.
public CfnNetworkInterfacePermissionProps()
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"
};
Properties
AwsAccountId
The AWS account ID.
public string AwsAccountId { get; set; }
Property Value
Remarks
NetworkInterfaceId
The ID of the network interface.
public string NetworkInterfaceId { get; set; }
Property Value
Remarks
Permission
The type of permission to grant: INSTANCE-ATTACH or EIP-ASSOCIATE .
public string Permission { get; set; }