Show / Hide Table of Contents

Interface ICfnNetworkInterfacePermissionProps

Properties for defining a CfnNetworkInterfacePermission.

Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public interface ICfnNetworkInterfacePermissionProps
Syntax (vb)
Public Interface ICfnNetworkInterfacePermissionProps
Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinterfacepermission.html

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;

CfnNetworkInterfacePermissionProps 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: INSTANCE-ATTACH or EIP-ASSOCIATE .

Properties

AwsAccountId

The AWS account ID.

string AwsAccountId { get; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinterfacepermission.html#cfn-ec2-networkinterfacepermission-awsaccountid

NetworkInterfaceId

The ID of the network interface.

string NetworkInterfaceId { get; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinterfacepermission.html#cfn-ec2-networkinterfacepermission-networkinterfaceid

Permission

The type of permission to grant: INSTANCE-ATTACH or EIP-ASSOCIATE .

string Permission { get; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinterfacepermission.html#cfn-ec2-networkinterfacepermission-permission

Back to top Generated by DocFX