AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::VpcLattice::ServiceNetworkResourceAssociation

CfnServiceNetworkResourceAssociation

Associates 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

import { CfnServiceNetworkResourceAssociation } from 'aws-cdk-lib/aws-vpclattice';

Or use the module namespace:

import * as vpclattice from 'aws-cdk-lib/aws-vpclattice';
// vpclattice.CfnServiceNetworkResourceAssociation

Properties

Configuration passed to the constructor as CfnServiceNetworkResourceAssociationProps.

privateDnsEnabledOptional
boolean | IResolvable

Indicates if private DNS is enabled for the service network resource association.

resourceConfigurationIdOptional
string

The ID of the resource configuration associated with the service network.

serviceNetworkIdOptional
string

The ID of the service network associated with the resource configuration.

tagsOptional
CfnTag[]

A key-value pair to associate with a resource.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter