Show / Hide Table of Contents

Class CfnServiceNetworkVpcAssociationPropsMixin

Associates a VPC with a service network.

Inheritance
object
Mixin
CfnServiceNetworkVpcAssociationPropsMixin
Implements
IMixin
Inherited Members
Mixin.IsMixin(object)
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.VpcLattice
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnServiceNetworkVpcAssociationPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnServiceNetworkVpcAssociationPropsMixin Inherits Mixin Implements IMixin
Remarks

When you associate a VPC with the service network, it enables all the resources within that VPC to be clients and communicate with other services in the service network. For more information, see Manage VPC associations in the Amazon VPC Lattice User Guide .

You can't use this operation if there is a disassociation in progress. If the association fails, retry by deleting the association and recreating it.

As a result of this operation, the association gets created in the service network account and the VPC owner account.

If you add a security group to the service network and VPC association, the association must continue to always have at least one security group. You can add or edit security groups at any time. However, to remove all security groups, you must first delete the association and recreate it without security groups.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-servicenetworkvpcassociation.html

CloudformationResource: AWS::VpcLattice::ServiceNetworkVpcAssociation

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.CfnPropertyMixins.AWS.VpcLattice;
             using Amazon.CDK;

             IMergeStrategy mergeStrategy;

             var cfnServiceNetworkVpcAssociationPropsMixin = new CfnServiceNetworkVpcAssociationPropsMixin(new CfnServiceNetworkVpcAssociationMixinProps {
                 DnsOptions = new DnsOptionsProperty {
                     PrivateDnsPreference = "privateDnsPreference",
                     PrivateDnsSpecifiedDomains = new [] { "privateDnsSpecifiedDomains" }
                 },
                 PrivateDnsEnabled = false,
                 SecurityGroupIds = new [] { "securityGroupIds" },
                 ServiceNetworkIdentifier = "serviceNetworkIdentifier",
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } },
                 VpcIdentifier = "vpcIdentifier"
             }, new CfnPropertyMixinOptions {
                 Strategy = mergeStrategy
             });

Synopsis

Constructors

CfnServiceNetworkVpcAssociationPropsMixin(ICfnServiceNetworkVpcAssociationMixinProps, ICfnPropertyMixinOptions?)

Create a mixin to apply properties to AWS::VpcLattice::ServiceNetworkVpcAssociation.

Properties

CFN_PROPERTY_KEYS

Associates a VPC with a service network.

Props

Associates a VPC with a service network.

Strategy

Associates a VPC with a service network.

Methods

ApplyTo(IConstruct)

Apply the mixin properties to the construct.

Supports(IConstruct)

Check if this mixin supports the given construct.

Constructors

CfnServiceNetworkVpcAssociationPropsMixin(ICfnServiceNetworkVpcAssociationMixinProps, ICfnPropertyMixinOptions?)

Create a mixin to apply properties to AWS::VpcLattice::ServiceNetworkVpcAssociation.

public CfnServiceNetworkVpcAssociationPropsMixin(ICfnServiceNetworkVpcAssociationMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
props ICfnServiceNetworkVpcAssociationMixinProps

L1 properties to apply.

options ICfnPropertyMixinOptions

Mixin options.

Remarks

When you associate a VPC with the service network, it enables all the resources within that VPC to be clients and communicate with other services in the service network. For more information, see Manage VPC associations in the Amazon VPC Lattice User Guide .

You can't use this operation if there is a disassociation in progress. If the association fails, retry by deleting the association and recreating it.

As a result of this operation, the association gets created in the service network account and the VPC owner account.

If you add a security group to the service network and VPC association, the association must continue to always have at least one security group. You can add or edit security groups at any time. However, to remove all security groups, you must first delete the association and recreate it without security groups.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-servicenetworkvpcassociation.html

CloudformationResource: AWS::VpcLattice::ServiceNetworkVpcAssociation

Mixin: true

ExampleMetadata: fixture=_generated

Properties

CFN_PROPERTY_KEYS

Associates a VPC with a service network.

protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value

string[]

Remarks

When you associate a VPC with the service network, it enables all the resources within that VPC to be clients and communicate with other services in the service network. For more information, see Manage VPC associations in the Amazon VPC Lattice User Guide .

You can't use this operation if there is a disassociation in progress. If the association fails, retry by deleting the association and recreating it.

As a result of this operation, the association gets created in the service network account and the VPC owner account.

If you add a security group to the service network and VPC association, the association must continue to always have at least one security group. You can add or edit security groups at any time. However, to remove all security groups, you must first delete the association and recreate it without security groups.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-servicenetworkvpcassociation.html

CloudformationResource: AWS::VpcLattice::ServiceNetworkVpcAssociation

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.CfnPropertyMixins.AWS.VpcLattice;
             using Amazon.CDK;

             IMergeStrategy mergeStrategy;

             var cfnServiceNetworkVpcAssociationPropsMixin = new CfnServiceNetworkVpcAssociationPropsMixin(new CfnServiceNetworkVpcAssociationMixinProps {
                 DnsOptions = new DnsOptionsProperty {
                     PrivateDnsPreference = "privateDnsPreference",
                     PrivateDnsSpecifiedDomains = new [] { "privateDnsSpecifiedDomains" }
                 },
                 PrivateDnsEnabled = false,
                 SecurityGroupIds = new [] { "securityGroupIds" },
                 ServiceNetworkIdentifier = "serviceNetworkIdentifier",
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } },
                 VpcIdentifier = "vpcIdentifier"
             }, new CfnPropertyMixinOptions {
                 Strategy = mergeStrategy
             });

Props

Associates a VPC with a service network.

protected virtual ICfnServiceNetworkVpcAssociationMixinProps Props { get; }
Property Value

ICfnServiceNetworkVpcAssociationMixinProps

Remarks

When you associate a VPC with the service network, it enables all the resources within that VPC to be clients and communicate with other services in the service network. For more information, see Manage VPC associations in the Amazon VPC Lattice User Guide .

You can't use this operation if there is a disassociation in progress. If the association fails, retry by deleting the association and recreating it.

As a result of this operation, the association gets created in the service network account and the VPC owner account.

If you add a security group to the service network and VPC association, the association must continue to always have at least one security group. You can add or edit security groups at any time. However, to remove all security groups, you must first delete the association and recreate it without security groups.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-servicenetworkvpcassociation.html

CloudformationResource: AWS::VpcLattice::ServiceNetworkVpcAssociation

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.CfnPropertyMixins.AWS.VpcLattice;
             using Amazon.CDK;

             IMergeStrategy mergeStrategy;

             var cfnServiceNetworkVpcAssociationPropsMixin = new CfnServiceNetworkVpcAssociationPropsMixin(new CfnServiceNetworkVpcAssociationMixinProps {
                 DnsOptions = new DnsOptionsProperty {
                     PrivateDnsPreference = "privateDnsPreference",
                     PrivateDnsSpecifiedDomains = new [] { "privateDnsSpecifiedDomains" }
                 },
                 PrivateDnsEnabled = false,
                 SecurityGroupIds = new [] { "securityGroupIds" },
                 ServiceNetworkIdentifier = "serviceNetworkIdentifier",
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } },
                 VpcIdentifier = "vpcIdentifier"
             }, new CfnPropertyMixinOptions {
                 Strategy = mergeStrategy
             });

Strategy

Associates a VPC with a service network.

protected virtual IMergeStrategy Strategy { get; }
Property Value

IMergeStrategy

Remarks

When you associate a VPC with the service network, it enables all the resources within that VPC to be clients and communicate with other services in the service network. For more information, see Manage VPC associations in the Amazon VPC Lattice User Guide .

You can't use this operation if there is a disassociation in progress. If the association fails, retry by deleting the association and recreating it.

As a result of this operation, the association gets created in the service network account and the VPC owner account.

If you add a security group to the service network and VPC association, the association must continue to always have at least one security group. You can add or edit security groups at any time. However, to remove all security groups, you must first delete the association and recreate it without security groups.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-servicenetworkvpcassociation.html

CloudformationResource: AWS::VpcLattice::ServiceNetworkVpcAssociation

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.CfnPropertyMixins.AWS.VpcLattice;
             using Amazon.CDK;

             IMergeStrategy mergeStrategy;

             var cfnServiceNetworkVpcAssociationPropsMixin = new CfnServiceNetworkVpcAssociationPropsMixin(new CfnServiceNetworkVpcAssociationMixinProps {
                 DnsOptions = new DnsOptionsProperty {
                     PrivateDnsPreference = "privateDnsPreference",
                     PrivateDnsSpecifiedDomains = new [] { "privateDnsSpecifiedDomains" }
                 },
                 PrivateDnsEnabled = false,
                 SecurityGroupIds = new [] { "securityGroupIds" },
                 ServiceNetworkIdentifier = "serviceNetworkIdentifier",
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } },
                 VpcIdentifier = "vpcIdentifier"
             }, new CfnPropertyMixinOptions {
                 Strategy = mergeStrategy
             });

Methods

ApplyTo(IConstruct)

Apply the mixin properties to the construct.

public override void ApplyTo(IConstruct construct)
Parameters
construct IConstruct
Overrides
Mixin.ApplyTo(IConstruct)
Remarks

When you associate a VPC with the service network, it enables all the resources within that VPC to be clients and communicate with other services in the service network. For more information, see Manage VPC associations in the Amazon VPC Lattice User Guide .

You can't use this operation if there is a disassociation in progress. If the association fails, retry by deleting the association and recreating it.

As a result of this operation, the association gets created in the service network account and the VPC owner account.

If you add a security group to the service network and VPC association, the association must continue to always have at least one security group. You can add or edit security groups at any time. However, to remove all security groups, you must first delete the association and recreate it without security groups.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-servicenetworkvpcassociation.html

CloudformationResource: AWS::VpcLattice::ServiceNetworkVpcAssociation

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

bool

Overrides
Mixin.Supports(IConstruct)
Remarks

When you associate a VPC with the service network, it enables all the resources within that VPC to be clients and communicate with other services in the service network. For more information, see Manage VPC associations in the Amazon VPC Lattice User Guide .

You can't use this operation if there is a disassociation in progress. If the association fails, retry by deleting the association and recreating it.

As a result of this operation, the association gets created in the service network account and the VPC owner account.

If you add a security group to the service network and VPC association, the association must continue to always have at least one security group. You can add or edit security groups at any time. However, to remove all security groups, you must first delete the association and recreate it without security groups.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-servicenetworkvpcassociation.html

CloudformationResource: AWS::VpcLattice::ServiceNetworkVpcAssociation

Mixin: true

ExampleMetadata: fixture=_generated

Implements

Constructs.IMixin
Back to top Generated by DocFX