Classes
Name | Description |
---|---|
FargateFastAutoscaler | No description |
Structs
Name | Description |
---|---|
FargateFastAutoscalerProps | No description |
Implements: IConstruct, IDependable Extends: Construct
new FargateFastAutoscaler(scope: Construct, id: string, props: FargateFastAutoscalerProps)
- scope (
Construct
) No description - id (
string
) No description - props (
FargateFastAutoscalerProps
) No description- backendContainer (
aws_ecs.ContainerDefinitionOptions
) backend container. - backendContainerPortMapping (
Array<aws_ecs.PortMapping>
) container port for the backend container. - vpc (
aws_ec2.IVpc
) The VPC for the stack. - awsCliLayerArn (
string
) AWS CLI Lambda layer ARN in Serverless App Repository. Default: 'arn:aws:serverlessrepo:us-east-1:903779448426:applications/lambda-layer-awscli' - awsCliLayerVersion (
string
) The version of the Serverless App for AWS CLI Lambda layer. Default: AWSCLI_LAYER_VERSION - disableScaleIn (
boolean
) disable scale in. Default: true - initialTaskNumber (
number
) initial number of tasks for the service. Default: 2 - snsTopic (
aws_sns.ITopic
) SNS Topic to publish the notification. Default: do not publish to SNS
- backendContainer (
Name | Type | Description |
---|---|---|
fargateService | aws_ecs.FargateService |
|
fargateTaskDef | aws_ecs.FargateTaskDefinition |
|
fargateWatcherFuncArn | string |
|
layerVersionArn | string |
|
region | string |
|
vpc | aws_ec2.IVpc |
Name | Type | Description |
---|---|---|
backendContainer | aws_ecs.ContainerDefinitionOptions |
backend container. |
backendContainerPortMapping | Array<aws_ecs.PortMapping> |
container port for the backend container. |
vpc | aws_ec2.IVpc |
The VPC for the stack. |
awsCliLayerArn? | string |
AWS CLI Lambda layer ARN in Serverless App Repository. Default: 'arn:aws:serverlessrepo:us-east-1:903779448426:applications/lambda-layer-awscli' |
awsCliLayerVersion? | string |
The version of the Serverless App for AWS CLI Lambda layer. Default: AWSCLI_LAYER_VERSION |
disableScaleIn? | boolean |
disable scale in. Default: true |
initialTaskNumber? | number |
initial number of tasks for the service. Default: 2 |
snsTopic? | aws_sns.ITopic |
SNS Topic to publish the notification. Default: do not publish to SNS |