Class CfnServiceNetworkServiceAssociation
Associates the specified service with the specified service network.
Inherited Members
Namespace: Amazon.CDK.AWS.VpcLattice
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnServiceNetworkServiceAssociation : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnServiceNetworkServiceAssociation
Inherits CfnResource
Implements IInspectable, ITaggable
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
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.VpcLattice;
var cfnServiceNetworkServiceAssociation = new CfnServiceNetworkServiceAssociation(this, "MyCfnServiceNetworkServiceAssociation", new CfnServiceNetworkServiceAssociationProps {
DnsEntry = new DnsEntryProperty {
DomainName = "domainName",
HostedZoneId = "hostedZoneId"
},
ServiceIdentifier = "serviceIdentifier",
ServiceNetworkIdentifier = "serviceNetworkIdentifier",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
Cfn |
Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Cfn |
Used by jsii to construct an instance of this class from DeputyProps |
Cfn |
Properties
Attr |
The Amazon Resource Name (ARN) of the association between the service network and the service. |
Attr |
The date and time that the association was created, specified in ISO-8601 format. |
Attr |
The domain name of the service. |
Attr |
The ID of the hosted zone. |
Attr |
The ID of the of the association between the service network and the service. |
Attr |
The Amazon Resource Name (ARN) of the service. |
Attr |
The ID of the service. |
Attr |
The name of the service. |
Attr |
The Amazon Resource Name (ARN) of the service network. |
Attr |
The ID of the service network. |
Attr |
The name of the service network. |
Attr |
The status of the association between the service network and the service. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
Cfn |
|
Dns |
The DNS information of the service. |
Service |
The ID or ARN of the service. |
Service |
The ID or ARN of the service network. |
Tags | Tag Manager which manages the tags for this resource. |
Tags |
The tags for the association. |
Methods
Inspect(Tree |
Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnServiceNetworkServiceAssociation(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnServiceNetworkServiceAssociation(ByRefValue reference)
Parameters
- reference Amazon.
JSII. Runtime. Deputy. By Ref Value The Javascript-owned object reference
CfnServiceNetworkServiceAssociation(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnServiceNetworkServiceAssociation(DeputyBase.DeputyProps props)
Parameters
- props Amazon.
JSII. Runtime. Deputy. Deputy Base. Deputy Props The deputy props
CfnServiceNetworkServiceAssociation(Construct, String, ICfnServiceNetworkServiceAssociationProps)
public CfnServiceNetworkServiceAssociation(Construct scope, string id, ICfnServiceNetworkServiceAssociationProps props = null)
Parameters
- scope Constructs.
Construct Scope in which this resource is defined.
- id System.
String Construct identifier for this resource (unique in its scope).
- props ICfn
Service Network Service Association Props Resource properties.
Properties
AttrArn
The Amazon Resource Name (ARN) of the association between the service network and the service.
public virtual string AttrArn { get; }
Property Value
System.
Remarks
CloudformationAttribute: Arn
AttrCreatedAt
The date and time that the association was created, specified in ISO-8601 format.
public virtual string AttrCreatedAt { get; }
Property Value
System.
Remarks
CloudformationAttribute: CreatedAt
AttrDnsEntryDomainName
The domain name of the service.
public virtual string AttrDnsEntryDomainName { get; }
Property Value
System.
Remarks
CloudformationAttribute: DnsEntry.DomainName
AttrDnsEntryHostedZoneId
The ID of the hosted zone.
public virtual string AttrDnsEntryHostedZoneId { get; }
Property Value
System.
Remarks
CloudformationAttribute: DnsEntry.HostedZoneId
AttrId
The ID of the of the association between the service network and the service.
public virtual string AttrId { get; }
Property Value
System.
Remarks
CloudformationAttribute: Id
AttrServiceArn
The Amazon Resource Name (ARN) of the service.
public virtual string AttrServiceArn { get; }
Property Value
System.
Remarks
CloudformationAttribute: ServiceArn
AttrServiceId
The ID of the service.
public virtual string AttrServiceId { get; }
Property Value
System.
Remarks
CloudformationAttribute: ServiceId
AttrServiceName
The name of the service.
public virtual string AttrServiceName { get; }
Property Value
System.
Remarks
CloudformationAttribute: ServiceName
AttrServiceNetworkArn
The Amazon Resource Name (ARN) of the service network.
public virtual string AttrServiceNetworkArn { get; }
Property Value
System.
Remarks
CloudformationAttribute: ServiceNetworkArn
AttrServiceNetworkId
The ID of the service network.
public virtual string AttrServiceNetworkId { get; }
Property Value
System.
Remarks
CloudformationAttribute: ServiceNetworkId
AttrServiceNetworkName
The name of the service network.
public virtual string AttrServiceNetworkName { get; }
Property Value
System.
Remarks
CloudformationAttribute: ServiceNetworkName
AttrStatus
The status of the association between the service network and the service.
public virtual string AttrStatus { get; }
Property Value
System.
Remarks
CloudformationAttribute: Status
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.
Overrides
DnsEntry
The DNS information of the service.
public virtual object DnsEntry { get; set; }
Property Value
System.
ServiceIdentifier
The ID or ARN of the service.
public virtual string ServiceIdentifier { get; set; }
Property Value
System.
ServiceNetworkIdentifier
The ID or ARN of the service network.
public virtual string ServiceNetworkIdentifier { get; set; }
Property Value
System.
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
The tags for the association.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfn
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector Tree
Inspector tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.
Collections. <System.Generic. IDictionary String , System.Object >
Returns
System.