interface CfnCapacityProviderMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lambda.Mixins.CfnCapacityProviderMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslambda/mixins#CfnCapacityProviderMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.lambda.mixins.CfnCapacityProviderMixinProps |
Python | aws_cdk.mixins_preview.aws_lambda.mixins.CfnCapacityProviderMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_lambda » mixins » CfnCapacityProviderMixinProps |
Properties for CfnCapacityProviderPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as lambda_mixins } from '@aws-cdk/mixins-preview/aws-lambda';
const cfnCapacityProviderMixinProps: lambda_mixins.CfnCapacityProviderMixinProps = {
capacityProviderName: 'capacityProviderName',
capacityProviderScalingConfig: {
maxVCpuCount: 123,
scalingMode: 'scalingMode',
scalingPolicies: [{
predefinedMetricType: 'predefinedMetricType',
targetValue: 123,
}],
},
instanceRequirements: {
allowedInstanceTypes: ['allowedInstanceTypes'],
architectures: ['architectures'],
excludedInstanceTypes: ['excludedInstanceTypes'],
},
kmsKeyArn: 'kmsKeyArn',
permissionsConfig: {
capacityProviderOperatorRoleArn: 'capacityProviderOperatorRoleArn',
},
tags: [{
key: 'key',
value: 'value',
}],
vpcConfig: {
securityGroupIds: ['securityGroupIds'],
subnetIds: ['subnetIds'],
},
};
Properties
| Name | Type | Description |
|---|---|---|
| capacity | string | The name of the capacity provider. |
| capacity | IResolvable | Capacity | The scaling configuration for the capacity provider. |
| instance | IResolvable | Instance | The instance requirements for compute resources managed by the capacity provider. |
| kms | string | The ARN of the KMS key used to encrypt the capacity provider's resources. |
| permissions | IResolvable | Capacity | The permissions configuration for the capacity provider. |
| tags? | Cfn[] | A key-value pair that provides metadata for the capacity provider. |
| vpc | IResolvable | Capacity | The VPC configuration for the capacity provider. |
capacityProviderName?
Type:
string
(optional)
The name of the capacity provider.
The name must be unique within your AWS account and region. If you don't specify a name, CloudFormation generates one.
capacityProviderScalingConfig?
Type:
IResolvable | Capacity
(optional)
The scaling configuration for the capacity provider.
instanceRequirements?
Type:
IResolvable | Instance
(optional)
The instance requirements for compute resources managed by the capacity provider.
kmsKeyArn?
Type:
string
(optional)
The ARN of the KMS key used to encrypt the capacity provider's resources.
permissionsConfig?
Type:
IResolvable | Capacity
(optional)
The permissions configuration for the capacity provider.
tags?
Type:
Cfn[]
(optional)
A key-value pair that provides metadata for the capacity provider.
vpcConfig?
Type:
IResolvable | Capacity
(optional)
The VPC configuration for the capacity provider.

.NET
Go
Java
Python
TypeScript