Interface CfnServiceNetworkVpcAssociationMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnServiceNetworkVpcAssociationMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-19T12:55:27.275Z")
@Stability(Stable)
public interface CfnServiceNetworkVpcAssociationMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnServiceNetworkVpcAssociationPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.vpclattice.*;
CfnServiceNetworkVpcAssociationMixinProps cfnServiceNetworkVpcAssociationMixinProps = CfnServiceNetworkVpcAssociationMixinProps.builder()
.dnsOptions(DnsOptionsProperty.builder()
.privateDnsPreference("privateDnsPreference")
.privateDnsSpecifiedDomains(List.of("privateDnsSpecifiedDomains"))
.build())
.privateDnsEnabled(false)
.securityGroupIds(List.of("securityGroupIds"))
.serviceNetworkIdentifier("serviceNetworkIdentifier")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.vpcIdentifier("vpcIdentifier")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnServiceNetworkVpcAssociationMixinPropsstatic final classAn implementation forCfnServiceNetworkVpcAssociationMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe DNS options for the service network VPC association.default ObjectIndicates if private DNS is enabled for the service network VPC association.The IDs of the security groups.default StringThe ID or ARN of the service network.getTags()The tags for the association.default StringThe ID of the VPC.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDnsOptions
The DNS options for the service network VPC association.Returns union: either
IResolvableorCfnServiceNetworkVpcAssociationPropsMixin.DnsOptionsProperty- See Also:
-
getPrivateDnsEnabled
Indicates if private DNS is enabled for the service network VPC association.Returns union: either
BooleanorIResolvable- See Also:
-
getSecurityGroupIds
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 .
- See Also:
-
getServiceNetworkIdentifier
The ID or ARN of the service network.You must use an ARN if the resources are in different accounts.
- See Also:
-
getTags
The tags for the association.- See Also:
-
getVpcIdentifier
The ID of the VPC.- See Also:
-
builder
-