aws-cdk-lib.aws_vpclattice.CfnServiceNetworkVpcAssociationProps

interface CfnServiceNetworkVpcAssociationProps

LanguageType name
.NETAmazon.CDK.AWS.VpcLattice.CfnServiceNetworkVpcAssociationProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsvpclattice#CfnServiceNetworkVpcAssociationProps
Javasoftware.amazon.awscdk.services.vpclattice.CfnServiceNetworkVpcAssociationProps
Pythonaws_cdk.aws_vpclattice.CfnServiceNetworkVpcAssociationProps
TypeScript aws-cdk-lib » aws_vpclattice » CfnServiceNetworkVpcAssociationProps

Properties for defining a CfnServiceNetworkVpcAssociation.

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 cfnServiceNetworkVpcAssociationProps: vpclattice.CfnServiceNetworkVpcAssociationProps = {
  securityGroupIds: ['securityGroupIds'],
  serviceNetworkIdentifier: 'serviceNetworkIdentifier',
  tags: [{
    key: 'key',
    value: 'value',
  }],
  vpcIdentifier: 'vpcIdentifier',
};

Properties

NameTypeDescription
securityGroupIds?string[]The IDs of the security groups.
serviceNetworkIdentifier?stringThe ID or Amazon Resource Name (ARN) of the service network.
tags?CfnTag[]The tags for the association.
vpcIdentifier?stringThe ID of the VPC.

securityGroupIds?

Type: string[] (optional)

The IDs of the security groups.

Security groups aren't added by default. You can add a security group to apply network level controls to control which resources in a VPC are allowed to access the service network and its services. For more information, see Control traffic to resources using security groups in the Amazon VPC User Guide .


serviceNetworkIdentifier?

Type: string (optional)

The ID or Amazon Resource Name (ARN) of the service network.

You must use the ARN when the resources specified in the operation are in different accounts.


tags?

Type: CfnTag[] (optional)

The tags for the association.


vpcIdentifier?

Type: string (optional)

The ID of the VPC.