Class CfnServiceNetworkServiceAssociationPropsMixin
Associates the specified service with the specified service network.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.VpcLattice
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnServiceNetworkServiceAssociationPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnServiceNetworkServiceAssociationPropsMixin Inherits Mixin Implements IMixin
Remarks
For more information, see Manage service associations in the Amazon VPC Lattice User Guide .
You can't use this operation if the service and service network are already associated or if there is a disassociation or deletion in progress. If the association fails, you can retry the operation by deleting the association and recreating it.
You cannot associate a service and service network that are shared with a caller. The caller must own either the service or the service network.
As a result of this operation, the association is created in the service network account and the association owner account.
CloudformationResource: AWS::VpcLattice::ServiceNetworkServiceAssociation
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 cfnServiceNetworkServiceAssociationPropsMixin = new CfnServiceNetworkServiceAssociationPropsMixin(new CfnServiceNetworkServiceAssociationMixinProps {
DnsEntry = new DnsEntryProperty {
DomainName = "domainName",
HostedZoneId = "hostedZoneId"
},
ServiceIdentifier = "serviceIdentifier",
ServiceNetworkIdentifier = "serviceNetworkIdentifier",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Synopsis
Constructors
| CfnServiceNetworkServiceAssociationPropsMixin(ICfnServiceNetworkServiceAssociationMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Associates the specified service with the specified service network. |
| Props | Associates the specified service with the specified service network. |
| Strategy | Associates the specified service with the specified service network. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnServiceNetworkServiceAssociationPropsMixin(ICfnServiceNetworkServiceAssociationMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::VpcLattice::ServiceNetworkServiceAssociation.
public CfnServiceNetworkServiceAssociationPropsMixin(ICfnServiceNetworkServiceAssociationMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnServiceNetworkServiceAssociationMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
For more information, see Manage service associations in the Amazon VPC Lattice User Guide .
You can't use this operation if the service and service network are already associated or if there is a disassociation or deletion in progress. If the association fails, you can retry the operation by deleting the association and recreating it.
You cannot associate a service and service network that are shared with a caller. The caller must own either the service or the service network.
As a result of this operation, the association is created in the service network account and the association owner account.
CloudformationResource: AWS::VpcLattice::ServiceNetworkServiceAssociation
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Associates the specified service with the specified service network.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
For more information, see Manage service associations in the Amazon VPC Lattice User Guide .
You can't use this operation if the service and service network are already associated or if there is a disassociation or deletion in progress. If the association fails, you can retry the operation by deleting the association and recreating it.
You cannot associate a service and service network that are shared with a caller. The caller must own either the service or the service network.
As a result of this operation, the association is created in the service network account and the association owner account.
CloudformationResource: AWS::VpcLattice::ServiceNetworkServiceAssociation
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 cfnServiceNetworkServiceAssociationPropsMixin = new CfnServiceNetworkServiceAssociationPropsMixin(new CfnServiceNetworkServiceAssociationMixinProps {
DnsEntry = new DnsEntryProperty {
DomainName = "domainName",
HostedZoneId = "hostedZoneId"
},
ServiceIdentifier = "serviceIdentifier",
ServiceNetworkIdentifier = "serviceNetworkIdentifier",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Props
Associates the specified service with the specified service network.
protected virtual ICfnServiceNetworkServiceAssociationMixinProps Props { get; }
Property Value
ICfnServiceNetworkServiceAssociationMixinProps
Remarks
For more information, see Manage service associations in the Amazon VPC Lattice User Guide .
You can't use this operation if the service and service network are already associated or if there is a disassociation or deletion in progress. If the association fails, you can retry the operation by deleting the association and recreating it.
You cannot associate a service and service network that are shared with a caller. The caller must own either the service or the service network.
As a result of this operation, the association is created in the service network account and the association owner account.
CloudformationResource: AWS::VpcLattice::ServiceNetworkServiceAssociation
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 cfnServiceNetworkServiceAssociationPropsMixin = new CfnServiceNetworkServiceAssociationPropsMixin(new CfnServiceNetworkServiceAssociationMixinProps {
DnsEntry = new DnsEntryProperty {
DomainName = "domainName",
HostedZoneId = "hostedZoneId"
},
ServiceIdentifier = "serviceIdentifier",
ServiceNetworkIdentifier = "serviceNetworkIdentifier",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Strategy
Associates the specified service with the specified service network.
protected virtual IMergeStrategy Strategy { get; }
Property Value
Remarks
For more information, see Manage service associations in the Amazon VPC Lattice User Guide .
You can't use this operation if the service and service network are already associated or if there is a disassociation or deletion in progress. If the association fails, you can retry the operation by deleting the association and recreating it.
You cannot associate a service and service network that are shared with a caller. The caller must own either the service or the service network.
As a result of this operation, the association is created in the service network account and the association owner account.
CloudformationResource: AWS::VpcLattice::ServiceNetworkServiceAssociation
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 cfnServiceNetworkServiceAssociationPropsMixin = new CfnServiceNetworkServiceAssociationPropsMixin(new CfnServiceNetworkServiceAssociationMixinProps {
DnsEntry = new DnsEntryProperty {
DomainName = "domainName",
HostedZoneId = "hostedZoneId"
},
ServiceIdentifier = "serviceIdentifier",
ServiceNetworkIdentifier = "serviceNetworkIdentifier",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override void ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Overrides
Remarks
For more information, see Manage service associations in the Amazon VPC Lattice User Guide .
You can't use this operation if the service and service network are already associated or if there is a disassociation or deletion in progress. If the association fails, you can retry the operation by deleting the association and recreating it.
You cannot associate a service and service network that are shared with a caller. The caller must own either the service or the service network.
As a result of this operation, the association is created in the service network account and the association owner account.
CloudformationResource: AWS::VpcLattice::ServiceNetworkServiceAssociation
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
For more information, see Manage service associations in the Amazon VPC Lattice User Guide .
You can't use this operation if the service and service network are already associated or if there is a disassociation or deletion in progress. If the association fails, you can retry the operation by deleting the association and recreating it.
You cannot associate a service and service network that are shared with a caller. The caller must own either the service or the service network.
As a result of this operation, the association is created in the service network account and the association owner account.
CloudformationResource: AWS::VpcLattice::ServiceNetworkServiceAssociation
Mixin: true
ExampleMetadata: fixture=_generated