Class CfnServiceNetworkPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.vpclattice.CfnServiceNetworkPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServiceNetworkPropsMixin>
- Enclosing class:
CfnServiceNetworkPropsMixin
@Stability(Stable)
public static final class CfnServiceNetworkPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServiceNetworkPropsMixin>
A fluent builder for
CfnServiceNetworkPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionThe type of IAM policy.build()create()create(CfnPropertyMixinOptions options) The name of the service network.sharingConfig(CfnServiceNetworkPropsMixin.SharingConfigProperty sharingConfig) Specify if the service network should be enabled for sharing.sharingConfig(IResolvable sharingConfig) Specify if the service network should be enabled for sharing.The tags for the service network.
-
Method Details
-
create
@Stability(Stable) public static CfnServiceNetworkPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnServiceNetworkPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnServiceNetworkPropsMixin.Builder.
-
authType
The type of IAM policy.NONE: The resource does not use an IAM policy. This is the default.AWS_IAM: The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.
Default: - "NONE"
- Parameters:
authType- The type of IAM policy. This parameter is required.- Returns:
this- See Also:
-
name
The name of the service network.The name must be unique to the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
If you don't specify a name, CloudFormation generates one. However, if you specify a name, and later want to replace the resource, you must specify a new name.
- Parameters:
name- The name of the service network. This parameter is required.- Returns:
this- See Also:
-
sharingConfig
@Stability(Stable) public CfnServiceNetworkPropsMixin.Builder sharingConfig(IResolvable sharingConfig) Specify if the service network should be enabled for sharing.- Parameters:
sharingConfig- Specify if the service network should be enabled for sharing. This parameter is required.- Returns:
this- See Also:
-
sharingConfig
@Stability(Stable) public CfnServiceNetworkPropsMixin.Builder sharingConfig(CfnServiceNetworkPropsMixin.SharingConfigProperty sharingConfig) Specify if the service network should be enabled for sharing.- Parameters:
sharingConfig- Specify if the service network should be enabled for sharing. This parameter is required.- Returns:
this- See Also:
-
tags
The tags for the service network.- Parameters:
tags- The tags for the service network. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServiceNetworkPropsMixin>- Returns:
- a newly built instance of
CfnServiceNetworkPropsMixin.
-