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