Interface CfnServiceNetworkVpcAssociationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnServiceNetworkVpcAssociationProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-12T17:54:24.274Z")
@Stability(Stable)
public interface CfnServiceNetworkVpcAssociationProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.vpclattice.*;
CfnServiceNetworkVpcAssociationProps cfnServiceNetworkVpcAssociationProps = CfnServiceNetworkVpcAssociationProps.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 forCfnServiceNetworkVpcAssociationPropsstatic final classAn implementation forCfnServiceNetworkVpcAssociationProps -
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
IResolvableorCfnServiceNetworkVpcAssociation.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
-