interface CfnServiceNetworkVpcAssociationMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.VpcLattice.Mixins.CfnServiceNetworkVpcAssociationMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsvpclattice/mixins#CfnServiceNetworkVpcAssociationMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.vpclattice.mixins.CfnServiceNetworkVpcAssociationMixinProps |
Python | aws_cdk.mixins_preview.aws_vpclattice.mixins.CfnServiceNetworkVpcAssociationMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_vpclattice » mixins » CfnServiceNetworkVpcAssociationMixinProps |
Properties for CfnServiceNetworkVpcAssociationPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as vpclattice_mixins } from '@aws-cdk/mixins-preview/aws-vpclattice';
const cfnServiceNetworkVpcAssociationMixinProps: vpclattice_mixins.CfnServiceNetworkVpcAssociationMixinProps = {
dnsOptions: {
privateDnsPreference: 'privateDnsPreference',
privateDnsSpecifiedDomains: ['privateDnsSpecifiedDomains'],
},
privateDnsEnabled: false,
securityGroupIds: ['securityGroupIds'],
serviceNetworkIdentifier: 'serviceNetworkIdentifier',
tags: [{
key: 'key',
value: 'value',
}],
vpcIdentifier: 'vpcIdentifier',
};
Properties
| Name | Type | Description |
|---|---|---|
| dns | IResolvable | Dns | The DNS options for the service network VPC association. |
| private | boolean | IResolvable | Indicates if private DNS is enabled for the service network VPC association. |
| security | string[] | The IDs of the security groups. |
| service | string | The ID or ARN of the service network. |
| tags? | Cfn[] | The tags for the association. |
| vpc | string | The ID of the VPC. |
dnsOptions?
Type:
IResolvable | Dns
(optional)
The DNS options for the service network VPC association.
privateDnsEnabled?
Type:
boolean | IResolvable
(optional)
Indicates if private DNS is enabled for the service network VPC association.
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 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.
vpcIdentifier?
Type:
string
(optional)
The ID of the VPC.

.NET
Go
Java
Python
TypeScript