Interface CfnCapacityProviderMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCapacityProviderMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:20:00.875Z")
@Stability(Stable)
public interface CfnCapacityProviderMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnCapacityProviderPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.lambda.*;
CfnCapacityProviderMixinProps cfnCapacityProviderMixinProps = CfnCapacityProviderMixinProps.builder()
.capacityProviderName("capacityProviderName")
.capacityProviderScalingConfig(CapacityProviderScalingConfigProperty.builder()
.maxVCpuCount(123)
.scalingMode("scalingMode")
.scalingPolicies(List.of(TargetTrackingScalingPolicyProperty.builder()
.predefinedMetricType("predefinedMetricType")
.targetValue(123)
.build()))
.build())
.instanceRequirements(InstanceRequirementsProperty.builder()
.allowedInstanceTypes(List.of("allowedInstanceTypes"))
.architectures(List.of("architectures"))
.excludedInstanceTypes(List.of("excludedInstanceTypes"))
.build())
.kmsKeyArn("kmsKeyArn")
.permissionsConfig(CapacityProviderPermissionsConfigProperty.builder()
.capacityProviderOperatorRoleArn("capacityProviderOperatorRoleArn")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.vpcConfig(CapacityProviderVpcConfigProperty.builder()
.securityGroupIds(List.of("securityGroupIds"))
.subnetIds(List.of("subnetIds"))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCapacityProviderMixinPropsstatic final classAn implementation forCfnCapacityProviderMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default Stringdefault ObjectThe scaling configuration for the capacity provider.default ObjectThe instance requirements for compute resources managed by the capacity provider.default StringThe ARN of the KMS key used to encrypt the capacity provider's resources.default ObjectThe permissions configuration for the capacity provider.getTags()A key-value pair that provides metadata for the capacity provider.default ObjectThe VPC configuration for the capacity provider.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCapacityProviderName
- See Also:
-
getCapacityProviderScalingConfig
The scaling configuration for the capacity provider.Returns union: either
IResolvableorCfnCapacityProviderPropsMixin.CapacityProviderScalingConfigProperty- See Also:
-
getInstanceRequirements
The instance requirements for compute resources managed by the capacity provider.Returns union: either
IResolvableorCfnCapacityProviderPropsMixin.InstanceRequirementsProperty- See Also:
-
getKmsKeyArn
The ARN of the KMS key used to encrypt the capacity provider's resources.- See Also:
-
getPermissionsConfig
The permissions configuration for the capacity provider.Returns union: either
IResolvableorCfnCapacityProviderPropsMixin.CapacityProviderPermissionsConfigProperty- See Also:
-
getTags
A key-value pair that provides metadata for the capacity provider.- See Also:
-
getVpcConfig
The VPC configuration for the capacity provider.Returns union: either
IResolvableorCfnCapacityProviderPropsMixin.CapacityProviderVpcConfigProperty- See Also:
-
builder
-