Class CfnSubnetNetworkAclAssociationPropsMixin
Associates a subnet with a network ACL. For more information, see ReplaceNetworkAclAssociation in the Amazon EC2 API Reference .
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnSubnetNetworkAclAssociationPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnSubnetNetworkAclAssociationPropsMixin Inherits Mixin Implements IMixin
Remarks
When AWS::EC2::SubnetNetworkAclAssociation resources are created during create or update operations, AWS CloudFormation adopts existing resources that share the same key properties (the properties that contribute to uniquely identify the resource). However, if the operation fails and rolls back, AWS CloudFormation deletes the previously out-of-band resources. You can protect against this behavior by using Retain deletion policies. For more information, see DeletionPolicy Attribute .
CloudformationResource: AWS::EC2::SubnetNetworkAclAssociation
Mixin: true
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins;
var cfnSubnetNetworkAclAssociationPropsMixin = new CfnSubnetNetworkAclAssociationPropsMixin(new CfnSubnetNetworkAclAssociationMixinProps {
NetworkAclId = "networkAclId",
SubnetId = "subnetId"
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Synopsis
Constructors
| CfnSubnetNetworkAclAssociationPropsMixin(ICfnSubnetNetworkAclAssociationMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Associates a subnet with a network ACL. For more information, see ReplaceNetworkAclAssociation in the Amazon EC2 API Reference . |
| Props | Associates a subnet with a network ACL. For more information, see ReplaceNetworkAclAssociation in the Amazon EC2 API Reference . |
| Strategy | Associates a subnet with a network ACL. For more information, see ReplaceNetworkAclAssociation in the Amazon EC2 API Reference . |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnSubnetNetworkAclAssociationPropsMixin(ICfnSubnetNetworkAclAssociationMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::EC2::SubnetNetworkAclAssociation.
public CfnSubnetNetworkAclAssociationPropsMixin(ICfnSubnetNetworkAclAssociationMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnSubnetNetworkAclAssociationMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
When AWS::EC2::SubnetNetworkAclAssociation resources are created during create or update operations, AWS CloudFormation adopts existing resources that share the same key properties (the properties that contribute to uniquely identify the resource). However, if the operation fails and rolls back, AWS CloudFormation deletes the previously out-of-band resources. You can protect against this behavior by using Retain deletion policies. For more information, see DeletionPolicy Attribute .
CloudformationResource: AWS::EC2::SubnetNetworkAclAssociation
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Associates a subnet with a network ACL. For more information, see ReplaceNetworkAclAssociation in the Amazon EC2 API Reference .
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
When AWS::EC2::SubnetNetworkAclAssociation resources are created during create or update operations, AWS CloudFormation adopts existing resources that share the same key properties (the properties that contribute to uniquely identify the resource). However, if the operation fails and rolls back, AWS CloudFormation deletes the previously out-of-band resources. You can protect against this behavior by using Retain deletion policies. For more information, see DeletionPolicy Attribute .
CloudformationResource: AWS::EC2::SubnetNetworkAclAssociation
Mixin: true
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins;
var cfnSubnetNetworkAclAssociationPropsMixin = new CfnSubnetNetworkAclAssociationPropsMixin(new CfnSubnetNetworkAclAssociationMixinProps {
NetworkAclId = "networkAclId",
SubnetId = "subnetId"
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Props
Associates a subnet with a network ACL. For more information, see ReplaceNetworkAclAssociation in the Amazon EC2 API Reference .
protected virtual ICfnSubnetNetworkAclAssociationMixinProps Props { get; }
Property Value
ICfnSubnetNetworkAclAssociationMixinProps
Remarks
When AWS::EC2::SubnetNetworkAclAssociation resources are created during create or update operations, AWS CloudFormation adopts existing resources that share the same key properties (the properties that contribute to uniquely identify the resource). However, if the operation fails and rolls back, AWS CloudFormation deletes the previously out-of-band resources. You can protect against this behavior by using Retain deletion policies. For more information, see DeletionPolicy Attribute .
CloudformationResource: AWS::EC2::SubnetNetworkAclAssociation
Mixin: true
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins;
var cfnSubnetNetworkAclAssociationPropsMixin = new CfnSubnetNetworkAclAssociationPropsMixin(new CfnSubnetNetworkAclAssociationMixinProps {
NetworkAclId = "networkAclId",
SubnetId = "subnetId"
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Strategy
Associates a subnet with a network ACL. For more information, see ReplaceNetworkAclAssociation in the Amazon EC2 API Reference .
protected virtual PropertyMergeStrategy Strategy { get; }
Property Value
Remarks
When AWS::EC2::SubnetNetworkAclAssociation resources are created during create or update operations, AWS CloudFormation adopts existing resources that share the same key properties (the properties that contribute to uniquely identify the resource). However, if the operation fails and rolls back, AWS CloudFormation deletes the previously out-of-band resources. You can protect against this behavior by using Retain deletion policies. For more information, see DeletionPolicy Attribute .
CloudformationResource: AWS::EC2::SubnetNetworkAclAssociation
Mixin: true
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins;
var cfnSubnetNetworkAclAssociationPropsMixin = new CfnSubnetNetworkAclAssociationPropsMixin(new CfnSubnetNetworkAclAssociationMixinProps {
NetworkAclId = "networkAclId",
SubnetId = "subnetId"
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override IConstruct ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Returns
IConstruct
Overrides
Remarks
When AWS::EC2::SubnetNetworkAclAssociation resources are created during create or update operations, AWS CloudFormation adopts existing resources that share the same key properties (the properties that contribute to uniquely identify the resource). However, if the operation fails and rolls back, AWS CloudFormation deletes the previously out-of-band resources. You can protect against this behavior by using Retain deletion policies. For more information, see DeletionPolicy Attribute .
CloudformationResource: AWS::EC2::SubnetNetworkAclAssociation
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
When AWS::EC2::SubnetNetworkAclAssociation resources are created during create or update operations, AWS CloudFormation adopts existing resources that share the same key properties (the properties that contribute to uniquely identify the resource). However, if the operation fails and rolls back, AWS CloudFormation deletes the previously out-of-band resources. You can protect against this behavior by using Retain deletion policies. For more information, see DeletionPolicy Attribute .
CloudformationResource: AWS::EC2::SubnetNetworkAclAssociation
Mixin: true
ExampleMetadata: fixture=_generated