Class CfnResourceConfiguration.Builder
java.lang.Object
software.amazon.awscdk.services.vpclattice.CfnResourceConfiguration.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceConfiguration>
- Enclosing class:
CfnResourceConfiguration
@Stability(Stable)
public static final class CfnResourceConfiguration.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourceConfiguration>
A fluent builder for
CfnResourceConfiguration
.-
Method Summary
Modifier and TypeMethodDescriptionallowAssociationToSharableServiceNetwork
(Boolean allowAssociationToSharableServiceNetwork) Specifies whether the resource configuration can be associated with a sharable service network.allowAssociationToSharableServiceNetwork
(IResolvable allowAssociationToSharableServiceNetwork) Specifies whether the resource configuration can be associated with a sharable service network.build()
The name of the resource configuration.portRanges
(List<String> portRanges) (SINGLE, GROUP, CHILD) The TCP port ranges that a consumer can use to access a resource configuration (for example: 1-65535).protocolType
(String protocolType) (SINGLE, GROUP) The protocol accepted by the resource configuration.resourceConfigurationAuthType
(String resourceConfigurationAuthType) The auth type for the resource configuration.resourceConfigurationDefinition
(IResolvable resourceConfigurationDefinition) Identifies the resource configuration in one of the following ways:.resourceConfigurationDefinition
(CfnResourceConfiguration.ResourceConfigurationDefinitionProperty resourceConfigurationDefinition) Identifies the resource configuration in one of the following ways:.resourceConfigurationGroupId
(String resourceConfigurationGroupId) The ID of the group resource configuration.resourceConfigurationType
(String resourceConfigurationType) The type of resource configuration.resourceGatewayId
(String resourceGatewayId) The ID of the resource gateway.The tags for the resource configuration.
-
Method Details
-
create
@Stability(Stable) public static CfnResourceConfiguration.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnResourceConfiguration.Builder
.
-
allowAssociationToSharableServiceNetwork
@Stability(Stable) public CfnResourceConfiguration.Builder allowAssociationToSharableServiceNetwork(Boolean allowAssociationToSharableServiceNetwork) Specifies whether the resource configuration can be associated with a sharable service network.- Parameters:
allowAssociationToSharableServiceNetwork
- Specifies whether the resource configuration can be associated with a sharable service network. This parameter is required.- Returns:
this
- See Also:
-
allowAssociationToSharableServiceNetwork
@Stability(Stable) public CfnResourceConfiguration.Builder allowAssociationToSharableServiceNetwork(IResolvable allowAssociationToSharableServiceNetwork) Specifies whether the resource configuration can be associated with a sharable service network.- Parameters:
allowAssociationToSharableServiceNetwork
- Specifies whether the resource configuration can be associated with a sharable service network. This parameter is required.- Returns:
this
- See Also:
-
name
The name of the resource configuration.- Parameters:
name
- The name of the resource configuration. This parameter is required.- Returns:
this
- See Also:
-
portRanges
(SINGLE, GROUP, CHILD) The TCP port ranges that a consumer can use to access a resource configuration (for example: 1-65535).You can separate port ranges using commas (for example: 1,2,22-30).
- Parameters:
portRanges
- (SINGLE, GROUP, CHILD) The TCP port ranges that a consumer can use to access a resource configuration (for example: 1-65535). This parameter is required.- Returns:
this
- See Also:
-
protocolType
(SINGLE, GROUP) The protocol accepted by the resource configuration.- Parameters:
protocolType
- (SINGLE, GROUP) The protocol accepted by the resource configuration. This parameter is required.- Returns:
this
- See Also:
-
resourceConfigurationAuthType
@Stability(Stable) public CfnResourceConfiguration.Builder resourceConfigurationAuthType(String resourceConfigurationAuthType) The auth type for the resource configuration.- Parameters:
resourceConfigurationAuthType
- The auth type for the resource configuration. This parameter is required.- Returns:
this
- See Also:
-
resourceConfigurationDefinition
@Stability(Stable) public CfnResourceConfiguration.Builder resourceConfigurationDefinition(IResolvable resourceConfigurationDefinition) Identifies the resource configuration in one of the following ways:.- Amazon Resource Name (ARN) - Supported resource-types that are provisioned by AWS services, such as RDS databases, can be identified by their ARN.
- Domain name - Any domain name that is publicly resolvable.
- IP address - For IPv4 and IPv6, only IP addresses in the VPC are supported.
- Parameters:
resourceConfigurationDefinition
- Identifies the resource configuration in one of the following ways:. This parameter is required.- Returns:
this
- See Also:
-
resourceConfigurationDefinition
@Stability(Stable) public CfnResourceConfiguration.Builder resourceConfigurationDefinition(CfnResourceConfiguration.ResourceConfigurationDefinitionProperty resourceConfigurationDefinition) Identifies the resource configuration in one of the following ways:.- Amazon Resource Name (ARN) - Supported resource-types that are provisioned by AWS services, such as RDS databases, can be identified by their ARN.
- Domain name - Any domain name that is publicly resolvable.
- IP address - For IPv4 and IPv6, only IP addresses in the VPC are supported.
- Parameters:
resourceConfigurationDefinition
- Identifies the resource configuration in one of the following ways:. This parameter is required.- Returns:
this
- See Also:
-
resourceConfigurationGroupId
@Stability(Stable) public CfnResourceConfiguration.Builder resourceConfigurationGroupId(String resourceConfigurationGroupId) The ID of the group resource configuration.- Parameters:
resourceConfigurationGroupId
- The ID of the group resource configuration. This parameter is required.- Returns:
this
- See Also:
-
resourceConfigurationType
@Stability(Stable) public CfnResourceConfiguration.Builder resourceConfigurationType(String resourceConfigurationType) The type of resource configuration. A resource configuration can be one of the following types:.- SINGLE - A single resource.
- GROUP - A group of resources. You must create a group resource configuration before you create a child resource configuration.
- CHILD - A single resource that is part of a group resource configuration.
- ARN - An AWS resource.
- Parameters:
resourceConfigurationType
- The type of resource configuration. A resource configuration can be one of the following types:. This parameter is required.- Returns:
this
- See Also:
-
resourceGatewayId
@Stability(Stable) public CfnResourceConfiguration.Builder resourceGatewayId(String resourceGatewayId) The ID of the resource gateway.- Parameters:
resourceGatewayId
- The ID of the resource gateway. This parameter is required.- Returns:
this
- See Also:
-
tags
The tags for the resource configuration.- Parameters:
tags
- The tags for the resource configuration. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnResourceConfiguration>
- Returns:
- a newly built instance of
CfnResourceConfiguration
.
-