Show / Hide Table of Contents

Class CfnVPCBlockPublicAccessExclusionProps

Properties for defining a CfnVPCBlockPublicAccessExclusion.

Inheritance
object
CfnVPCBlockPublicAccessExclusionProps
Implements
ICfnVPCBlockPublicAccessExclusionProps
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 CfnVPCBlockPublicAccessExclusionProps : ICfnVPCBlockPublicAccessExclusionProps
Syntax (vb)
Public Class CfnVPCBlockPublicAccessExclusionProps Implements ICfnVPCBlockPublicAccessExclusionProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcblockpublicaccessexclusion.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 cfnVPCBlockPublicAccessExclusionProps = new CfnVPCBlockPublicAccessExclusionProps {
                 InternetGatewayExclusionMode = "internetGatewayExclusionMode",

                 // the properties below are optional
                 SubnetId = "subnetId",
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } },
                 VpcId = "vpcId"
             };

Synopsis

Constructors

CfnVPCBlockPublicAccessExclusionProps()

Properties for defining a CfnVPCBlockPublicAccessExclusion.

Properties

InternetGatewayExclusionMode

The desired VPC Block Public Access mode for a specific VPC or subnet exclusion.

SubnetId

The ID of the subnet you want to exclude.

Tags

An array of key-value pairs to apply to this resource.

VpcId

The ID of the VPC you want to exclude.

Constructors

CfnVPCBlockPublicAccessExclusionProps()

Properties for defining a CfnVPCBlockPublicAccessExclusion.

public CfnVPCBlockPublicAccessExclusionProps()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcblockpublicaccessexclusion.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 cfnVPCBlockPublicAccessExclusionProps = new CfnVPCBlockPublicAccessExclusionProps {
                 InternetGatewayExclusionMode = "internetGatewayExclusionMode",

                 // the properties below are optional
                 SubnetId = "subnetId",
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } },
                 VpcId = "vpcId"
             };

Properties

InternetGatewayExclusionMode

The desired VPC Block Public Access mode for a specific VPC or subnet exclusion.

public string InternetGatewayExclusionMode { get; set; }
Property Value

string

Remarks

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

    SubnetId

    The ID of the subnet you want to exclude.

    public string? SubnetId { get; set; }
    Property Value

    string

    Remarks

    Required only if you don't specify VpcId.

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

    Tags

    An array of key-value pairs to apply to this resource.

    public ICfnTag[]? Tags { get; set; }
    Property Value

    ICfnTag[]

    Remarks

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

    VpcId

    The ID of the VPC you want to exclude.

    public string? VpcId { get; set; }
    Property Value

    string

    Remarks

    Required only if you don't specify SubnetId.

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

    Implements

    ICfnVPCBlockPublicAccessExclusionProps
    Back to top Generated by DocFX