CfnServiceNetworkVpcAssociationMixinProps
- class aws_cdk.mixins_preview.aws_vpclattice.mixins.CfnServiceNetworkVpcAssociationMixinProps(*, dns_options=None, private_dns_enabled=None, security_group_ids=None, service_network_identifier=None, tags=None, vpc_identifier=None)
Bases:
objectProperties for CfnServiceNetworkVpcAssociationPropsMixin.
- Parameters:
dns_options (
Union[IResolvable,DnsOptionsProperty,Dict[str,Any],None]) – The DNS options for the service network VPC association.private_dns_enabled (
Union[bool,IResolvable,None]) – Indicates if private DNS is enabled for the service network VPC association.security_group_ids (
Optional[Sequence[str]]) – 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 .service_network_identifier (
Optional[str]) – The ID or ARN of the service network. You must use an ARN if the resources are in different accounts.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – The tags for the association.vpc_identifier (
Optional[str]) – The ID of the VPC.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_vpclattice import mixins as vpclattice_mixins cfn_service_network_vpc_association_mixin_props = vpclattice_mixins.CfnServiceNetworkVpcAssociationMixinProps( dns_options=vpclattice_mixins.CfnServiceNetworkVpcAssociationPropsMixin.DnsOptionsProperty( private_dns_preference="privateDnsPreference", private_dns_specified_domains=["privateDnsSpecifiedDomains"] ), private_dns_enabled=False, security_group_ids=["securityGroupIds"], service_network_identifier="serviceNetworkIdentifier", tags=[CfnTag( key="key", value="value" )], vpc_identifier="vpcIdentifier" )
Attributes
- dns_options
The DNS options for the service network VPC association.
- private_dns_enabled
Indicates if private DNS is enabled for the service network VPC association.
- security_group_ids
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 .
- service_network_identifier
The ID or ARN of the service network.
You must use an ARN if the resources are in different accounts.
- tags
The tags for the association.