AWS::VpcLattice::ServiceNetworkResourceAssociationAssociates the specified service network with the specified resource configuration. This allows the resource configuration to receive connections through the service network, including through a service network VPC endpoint.
import { CfnServiceNetworkResourceAssociation } from 'aws-cdk-lib/aws-vpclattice';Or use the module namespace:
import * as vpclattice from 'aws-cdk-lib/aws-vpclattice';
// vpclattice.CfnServiceNetworkResourceAssociationConfiguration passed to the constructor as CfnServiceNetworkResourceAssociationProps.
privateDnsEnabledOptionalboolean | IResolvableIndicates if private DNS is enabled for the service network resource association.
resourceConfigurationIdOptionalstringThe ID of the resource configuration associated with the service network.
serviceNetworkIdOptionalstringThe ID of the service network associated with the resource configuration.
tagsOptionalCfnTag[]A key-value pair to associate with a resource.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-vpclatticeAWS::VpcLattice::ServiceNetworkResourceAssociation