interface CfnServiceNetworkServiceAssociationProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.VpcLattice.CfnServiceNetworkServiceAssociationProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsvpclattice#CfnServiceNetworkServiceAssociationProps |
Java | software.amazon.awscdk.services.vpclattice.CfnServiceNetworkServiceAssociationProps |
Python | aws_cdk.aws_vpclattice.CfnServiceNetworkServiceAssociationProps |
TypeScript | aws-cdk-lib » aws_vpclattice » CfnServiceNetworkServiceAssociationProps |
Properties for defining a CfnServiceNetworkServiceAssociation.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_vpclattice as vpclattice } from 'aws-cdk-lib';
const cfnServiceNetworkServiceAssociationProps: vpclattice.CfnServiceNetworkServiceAssociationProps = {
dnsEntry: {
domainName: 'domainName',
hostedZoneId: 'hostedZoneId',
},
serviceIdentifier: 'serviceIdentifier',
serviceNetworkIdentifier: 'serviceNetworkIdentifier',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| dns | IResolvable | Dns | The DNS information of the service. |
| service | string | The ID or ARN of the service. |
| service | string | The ID or ARN of the service network. |
| tags? | Cfn[] | The tags for the association. |
dnsEntry?
Type:
IResolvable | Dns
(optional)
The DNS information of the service.
serviceIdentifier?
Type:
string
(optional)
The ID or ARN of the service.
serviceNetworkIdentifier?
Type:
string
(optional)
The ID or ARN of the service network.
You must use an ARN if the resources are in different accounts.
tags?
Type:
Cfn[]
(optional)
The tags for the association.

.NET
Go
Java
Python
TypeScript