Show / Hide Table of Contents

Class CfnNetworkInterfacePermissionProps

Properties for defining a CfnNetworkInterfacePermission.

Inheritance
object
CfnNetworkInterfacePermissionProps
Implements
ICfnNetworkInterfacePermissionProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnNetworkInterfacePermissionProps : ICfnNetworkInterfacePermissionProps
Syntax (vb)
Public Class CfnNetworkInterfacePermissionProps Implements ICfnNetworkInterfacePermissionProps
Remarks

See: 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;

             var cfnNetworkInterfacePermissionProps = new CfnNetworkInterfacePermissionProps {
                 AwsAccountId = "awsAccountId",
                 NetworkInterfaceId = "networkInterfaceId",
                 Permission = "permission"
             };

Synopsis

Constructors

CfnNetworkInterfacePermissionProps()

Properties for defining a CfnNetworkInterfacePermission.

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 .

Constructors

CfnNetworkInterfacePermissionProps()

Properties for defining a CfnNetworkInterfacePermission.

public CfnNetworkInterfacePermissionProps()
Remarks

See: 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;

             var cfnNetworkInterfacePermissionProps = new CfnNetworkInterfacePermissionProps {
                 AwsAccountId = "awsAccountId",
                 NetworkInterfaceId = "networkInterfaceId",
                 Permission = "permission"
             };

Properties

AwsAccountId

The AWS account ID.

public string AwsAccountId { get; set; }
Property Value

string

Remarks

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

NetworkInterfaceId

The ID of the network interface.

public string NetworkInterfaceId { get; set; }
Property Value

string

Remarks

See: 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 .

public string Permission { get; set; }
Property Value

string

Remarks

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

Implements

ICfnNetworkInterfacePermissionProps
Back to top Generated by DocFX