Class CfnTargetGroupPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.vpclattice.mixins.CfnTargetGroupPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTargetGroupPropsMixin>
- Enclosing class:
CfnTargetGroupPropsMixin
@Stability(Stable)
public static final class CfnTargetGroupPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTargetGroupPropsMixin>
A fluent builder for
CfnTargetGroupPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()config(IResolvable config) The target group configuration.The target group configuration.create()create(CfnPropertyMixinOptions options) The name of the target group.The tags for the target group.Describes a target.targets(IResolvable targets) Describes a target.The type of target group.
-
Method Details
-
create
@Stability(Stable) public static CfnTargetGroupPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnTargetGroupPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnTargetGroupPropsMixin.Builder.
-
config
The target group configuration.- Parameters:
config- The target group configuration. This parameter is required.- Returns:
this- See Also:
-
config
@Stability(Stable) public CfnTargetGroupPropsMixin.Builder config(CfnTargetGroupPropsMixin.TargetGroupConfigProperty config) The target group configuration.- Parameters:
config- The target group configuration. This parameter is required.- Returns:
this- See Also:
-
name
The name of the target group.The name must be unique within 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 target group. This parameter is required.- Returns:
this- See Also:
-
tags
The tags for the target group.- Parameters:
tags- The tags for the target group. This parameter is required.- Returns:
this- See Also:
-
targets
Describes a target.- Parameters:
targets- Describes a target. This parameter is required.- Returns:
this- See Also:
-
targets
Describes a target.- Parameters:
targets- Describes a target. This parameter is required.- Returns:
this- See Also:
-
type
The type of target group.- Parameters:
type- The type of target group. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTargetGroupPropsMixin>- Returns:
- a newly built instance of
CfnTargetGroupPropsMixin.
-