Class CfnServiceNetworkVpcAssociationPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.vpclattice.CfnServiceNetworkVpcAssociationPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServiceNetworkVpcAssociationPropsMixin>
- Enclosing class:
CfnServiceNetworkVpcAssociationPropsMixin
@Stability(Stable)
public static final class CfnServiceNetworkVpcAssociationPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServiceNetworkVpcAssociationPropsMixin>
A fluent builder for
CfnServiceNetworkVpcAssociationPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) The DNS options for the service network VPC association.dnsOptions(IResolvable dnsOptions) The DNS options for the service network VPC association.privateDnsEnabled(Boolean privateDnsEnabled) Indicates if private DNS is enabled for the service network VPC association.privateDnsEnabled(IResolvable privateDnsEnabled) Indicates if private DNS is enabled for the service network VPC association.securityGroupIds(List<String> securityGroupIds) The IDs of the security groups.serviceNetworkIdentifier(String serviceNetworkIdentifier) The ID or ARN of the service network.The tags for the association.vpcIdentifier(String vpcIdentifier) The ID of the VPC.
-
Method Details
-
create
@Stability(Stable) public static CfnServiceNetworkVpcAssociationPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnServiceNetworkVpcAssociationPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnServiceNetworkVpcAssociationPropsMixin.Builder.
-
dnsOptions
@Stability(Stable) public CfnServiceNetworkVpcAssociationPropsMixin.Builder dnsOptions(IResolvable dnsOptions) The DNS options for the service network VPC association.- Parameters:
dnsOptions- The DNS options for the service network VPC association. This parameter is required.- Returns:
this- See Also:
-
dnsOptions
@Stability(Stable) public CfnServiceNetworkVpcAssociationPropsMixin.Builder dnsOptions(CfnServiceNetworkVpcAssociationPropsMixin.DnsOptionsProperty dnsOptions) The DNS options for the service network VPC association.- Parameters:
dnsOptions- The DNS options for the service network VPC association. This parameter is required.- Returns:
this- See Also:
-
privateDnsEnabled
@Stability(Stable) public CfnServiceNetworkVpcAssociationPropsMixin.Builder privateDnsEnabled(Boolean privateDnsEnabled) Indicates if private DNS is enabled for the service network VPC association.- Parameters:
privateDnsEnabled- Indicates if private DNS is enabled for the service network VPC association. This parameter is required.- Returns:
this- See Also:
-
privateDnsEnabled
@Stability(Stable) public CfnServiceNetworkVpcAssociationPropsMixin.Builder privateDnsEnabled(IResolvable privateDnsEnabled) Indicates if private DNS is enabled for the service network VPC association.- Parameters:
privateDnsEnabled- Indicates if private DNS is enabled for the service network VPC association. This parameter is required.- Returns:
this- See Also:
-
securityGroupIds
@Stability(Stable) public CfnServiceNetworkVpcAssociationPropsMixin.Builder securityGroupIds(List<String> securityGroupIds) 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 .
- Parameters:
securityGroupIds- The IDs of the security groups. This parameter is required.- Returns:
this- See Also:
-
serviceNetworkIdentifier
@Stability(Stable) public CfnServiceNetworkVpcAssociationPropsMixin.Builder serviceNetworkIdentifier(String serviceNetworkIdentifier) The ID or ARN of the service network.You must use an ARN if the resources are in different accounts.
- Parameters:
serviceNetworkIdentifier- The ID or ARN of the service network. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnServiceNetworkVpcAssociationPropsMixin.Builder tags(List<? extends CfnTag> tags) The tags for the association.- Parameters:
tags- The tags for the association. This parameter is required.- Returns:
this- See Also:
-
vpcIdentifier
@Stability(Stable) public CfnServiceNetworkVpcAssociationPropsMixin.Builder vpcIdentifier(String vpcIdentifier) The ID of the VPC.- Parameters:
vpcIdentifier- The ID of the VPC. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServiceNetworkVpcAssociationPropsMixin>- Returns:
- a newly built instance of
CfnServiceNetworkVpcAssociationPropsMixin.
-