Class CfnCapacityProviderPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lambda.CfnCapacityProviderPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCapacityProviderPropsMixin>
- Enclosing class:
CfnCapacityProviderPropsMixin
@Stability(Stable)
public static final class CfnCapacityProviderPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCapacityProviderPropsMixin>
A fluent builder for
CfnCapacityProviderPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()capacityProviderName(String capacityProviderName) capacityProviderScalingConfig(CfnCapacityProviderPropsMixin.CapacityProviderScalingConfigProperty capacityProviderScalingConfig) The scaling configuration for the capacity provider.capacityProviderScalingConfig(IResolvable capacityProviderScalingConfig) The scaling configuration for the capacity provider.create()create(CfnPropertyMixinOptions options) instanceRequirements(CfnCapacityProviderPropsMixin.InstanceRequirementsProperty instanceRequirements) The instance requirements for compute resources managed by the capacity provider.instanceRequirements(IResolvable instanceRequirements) The instance requirements for compute resources managed by the capacity provider.The ARN of the KMS key used to encrypt the capacity provider's resources.permissionsConfig(CfnCapacityProviderPropsMixin.CapacityProviderPermissionsConfigProperty permissionsConfig) The permissions configuration for the capacity provider.permissionsConfig(IResolvable permissionsConfig) The permissions configuration for the capacity provider.A key-value pair that provides metadata for the capacity provider.The VPC configuration for the capacity provider.vpcConfig(IResolvable vpcConfig) The VPC configuration for the capacity provider.
-
Method Details
-
create
@Stability(Stable) public static CfnCapacityProviderPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnCapacityProviderPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnCapacityProviderPropsMixin.Builder.
-
capacityProviderName
@Stability(Stable) public CfnCapacityProviderPropsMixin.Builder capacityProviderName(String capacityProviderName) - Parameters:
capacityProviderName- This parameter is required.- Returns:
this- See Also:
-
capacityProviderScalingConfig
@Stability(Stable) public CfnCapacityProviderPropsMixin.Builder capacityProviderScalingConfig(IResolvable capacityProviderScalingConfig) The scaling configuration for the capacity provider.- Parameters:
capacityProviderScalingConfig- The scaling configuration for the capacity provider. This parameter is required.- Returns:
this- See Also:
-
capacityProviderScalingConfig
@Stability(Stable) public CfnCapacityProviderPropsMixin.Builder capacityProviderScalingConfig(CfnCapacityProviderPropsMixin.CapacityProviderScalingConfigProperty capacityProviderScalingConfig) The scaling configuration for the capacity provider.- Parameters:
capacityProviderScalingConfig- The scaling configuration for the capacity provider. This parameter is required.- Returns:
this- See Also:
-
instanceRequirements
@Stability(Stable) public CfnCapacityProviderPropsMixin.Builder instanceRequirements(IResolvable instanceRequirements) The instance requirements for compute resources managed by the capacity provider.- Parameters:
instanceRequirements- The instance requirements for compute resources managed by the capacity provider. This parameter is required.- Returns:
this- See Also:
-
instanceRequirements
@Stability(Stable) public CfnCapacityProviderPropsMixin.Builder instanceRequirements(CfnCapacityProviderPropsMixin.InstanceRequirementsProperty instanceRequirements) The instance requirements for compute resources managed by the capacity provider.- Parameters:
instanceRequirements- The instance requirements for compute resources managed by the capacity provider. This parameter is required.- Returns:
this- See Also:
-
kmsKeyArn
The ARN of the KMS key used to encrypt the capacity provider's resources.- Parameters:
kmsKeyArn- The ARN of the KMS key used to encrypt the capacity provider's resources. This parameter is required.- Returns:
this- See Also:
-
permissionsConfig
@Stability(Stable) public CfnCapacityProviderPropsMixin.Builder permissionsConfig(IResolvable permissionsConfig) The permissions configuration for the capacity provider.- Parameters:
permissionsConfig- The permissions configuration for the capacity provider. This parameter is required.- Returns:
this- See Also:
-
permissionsConfig
@Stability(Stable) public CfnCapacityProviderPropsMixin.Builder permissionsConfig(CfnCapacityProviderPropsMixin.CapacityProviderPermissionsConfigProperty permissionsConfig) The permissions configuration for the capacity provider.- Parameters:
permissionsConfig- The permissions configuration for the capacity provider. This parameter is required.- Returns:
this- See Also:
-
tags
A key-value pair that provides metadata for the capacity provider.- Parameters:
tags- A key-value pair that provides metadata for the capacity provider. This parameter is required.- Returns:
this- See Also:
-
vpcConfig
The VPC configuration for the capacity provider.- Parameters:
vpcConfig- The VPC configuration for the capacity provider. This parameter is required.- Returns:
this- See Also:
-
vpcConfig
@Stability(Stable) public CfnCapacityProviderPropsMixin.Builder vpcConfig(CfnCapacityProviderPropsMixin.CapacityProviderVpcConfigProperty vpcConfig) The VPC configuration for the capacity provider.- Parameters:
vpcConfig- The VPC configuration for the capacity provider. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCapacityProviderPropsMixin>- Returns:
- a newly built instance of
CfnCapacityProviderPropsMixin.
-