public static final class FargateToStepfunctions.Builder extends Object implements software.amazon.jsii.Builder<FargateToStepfunctions>
FargateToStepfunctions.| Modifier and Type | Method and Description |
|---|---|
FargateToStepfunctions |
build() |
FargateToStepfunctions.Builder |
clusterProps(software.amazon.awscdk.services.ecs.ClusterProps clusterProps)
Optional properties to create a new ECS cluster.
|
FargateToStepfunctions.Builder |
containerDefinitionProps(Object containerDefinitionProps) |
static FargateToStepfunctions.Builder |
create(software.amazon.awscdk.core.Construct scope,
String id) |
FargateToStepfunctions.Builder |
createCloudWatchAlarms(Boolean createCloudWatchAlarms)
Whether to create recommended CloudWatch alarms.
|
FargateToStepfunctions.Builder |
ecrImageVersion(String ecrImageVersion)
The version of the image to use from the repository.
|
FargateToStepfunctions.Builder |
ecrRepositoryArn(String ecrRepositoryArn)
The arn of an ECR Repository containing the image to use to generate the containers.
|
FargateToStepfunctions.Builder |
existingContainerDefinitionObject(software.amazon.awscdk.services.ecs.ContainerDefinition existingContainerDefinitionObject) |
FargateToStepfunctions.Builder |
existingFargateServiceObject(software.amazon.awscdk.services.ecs.FargateService existingFargateServiceObject)
A Fargate Service already instantiated (probably by another Solutions Construct).
|
FargateToStepfunctions.Builder |
existingVpc(software.amazon.awscdk.services.ec2.IVpc existingVpc)
An existing VPC in which to deploy the construct.
|
FargateToStepfunctions.Builder |
fargateServiceProps(Object fargateServiceProps)
Optional values to override default Fargate Task definition properties (fargate-defaults.ts).
|
FargateToStepfunctions.Builder |
fargateTaskDefinitionProps(Object fargateTaskDefinitionProps) |
FargateToStepfunctions.Builder |
logGroupProps(software.amazon.awscdk.services.logs.LogGroupProps logGroupProps)
User provided props to override the default props for the CloudWatchLogs LogGroup.
|
FargateToStepfunctions.Builder |
publicApi(Boolean publicApi)
Whether the construct is deploying a private or public API.
|
FargateToStepfunctions.Builder |
stateMachineEnvironmentVariableName(String stateMachineEnvironmentVariableName)
Optional Name for the container environment variable set to the ARN of the state machine.
|
FargateToStepfunctions.Builder |
stateMachineProps(software.amazon.awscdk.services.stepfunctions.StateMachineProps stateMachineProps)
User provided StateMachineProps to override the defaults.
|
FargateToStepfunctions.Builder |
vpcProps(software.amazon.awscdk.services.ec2.VpcProps vpcProps)
Optional custom properties for a VPC the construct will create.
|
public static FargateToStepfunctions.Builder create(software.amazon.awscdk.core.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.FargateToStepfunctions.Builder.public FargateToStepfunctions.Builder publicApi(Boolean publicApi)
This has implications for the VPC deployed by this construct.
Default: - none
publicApi - Whether the construct is deploying a private or public API. This parameter is required.thispublic FargateToStepfunctions.Builder stateMachineProps(software.amazon.awscdk.services.stepfunctions.StateMachineProps stateMachineProps)
Default: - None
stateMachineProps - User provided StateMachineProps to override the defaults. This parameter is required.thispublic FargateToStepfunctions.Builder clusterProps(software.amazon.awscdk.services.ecs.ClusterProps clusterProps)
clusterProps - Optional properties to create a new ECS cluster. This parameter is required.thispublic FargateToStepfunctions.Builder containerDefinitionProps(Object containerDefinitionProps)
containerDefinitionProps - This parameter is required.thispublic FargateToStepfunctions.Builder createCloudWatchAlarms(Boolean createCloudWatchAlarms)
Default: - true
createCloudWatchAlarms - Whether to create recommended CloudWatch alarms. This parameter is required.thispublic FargateToStepfunctions.Builder ecrImageVersion(String ecrImageVersion)
Default: - 'latest'
ecrImageVersion - The version of the image to use from the repository. This parameter is required.thispublic FargateToStepfunctions.Builder ecrRepositoryArn(String ecrRepositoryArn)
format: arn:aws:ecr:[region]:[account number]:repository/[Repository Name]
ecrRepositoryArn - The arn of an ECR Repository containing the image to use to generate the containers. This parameter is required.thispublic FargateToStepfunctions.Builder existingContainerDefinitionObject(software.amazon.awscdk.services.ecs.ContainerDefinition existingContainerDefinitionObject)
existingContainerDefinitionObject - This parameter is required.thispublic FargateToStepfunctions.Builder existingFargateServiceObject(software.amazon.awscdk.services.ecs.FargateService existingFargateServiceObject)
If this is specified, then no props defining a new service can be provided, including: existingImageObject, ecrImageVersion, containerDefintionProps, fargateTaskDefinitionProps, ecrRepositoryArn, fargateServiceProps, clusterProps, existingClusterInterface. If this value is provided, then existingContainerDefinitionObject must be provided as well.
Default: - none
existingFargateServiceObject - A Fargate Service already instantiated (probably by another Solutions Construct). This parameter is required.thispublic FargateToStepfunctions.Builder existingVpc(software.amazon.awscdk.services.ec2.IVpc existingVpc)
Providing both this and vpcProps is an error. If the client provides an existing Fargate service, this value must be the VPC where the service is running. A Step Functions Interface endpoint will be added to this VPC.
Default: - none
existingVpc - An existing VPC in which to deploy the construct. This parameter is required.thispublic FargateToStepfunctions.Builder fargateServiceProps(Object fargateServiceProps)
defaults - fargate-defaults.ts
fargateServiceProps - Optional values to override default Fargate Task definition properties (fargate-defaults.ts). The construct will default to launching the service is the most isolated subnets available (precedence: Isolated, Private and Public). Override those and other defaults here. This parameter is required.thispublic FargateToStepfunctions.Builder fargateTaskDefinitionProps(Object fargateTaskDefinitionProps)
fargateTaskDefinitionProps - This parameter is required.thispublic FargateToStepfunctions.Builder logGroupProps(software.amazon.awscdk.services.logs.LogGroupProps logGroupProps)
Default: - Default props are used
logGroupProps - User provided props to override the default props for the CloudWatchLogs LogGroup. This parameter is required.thispublic FargateToStepfunctions.Builder stateMachineEnvironmentVariableName(String stateMachineEnvironmentVariableName)
Default: - STATE_MACHINE_ARN
stateMachineEnvironmentVariableName - Optional Name for the container environment variable set to the ARN of the state machine. This parameter is required.thispublic FargateToStepfunctions.Builder vpcProps(software.amazon.awscdk.services.ec2.VpcProps vpcProps)
This VPC will be used by the new Fargate service the construct creates (that's why targetGroupProps can't include a VPC). Providing both this and existingVpc is an error. A Step Functions Interface endpoint will be included in this VPC.
Default: - A set of defaults from vpc-defaults.ts: DefaultPublicPrivateVpcProps() for public APIs and DefaultIsolatedVpcProps() for private APIs.
vpcProps - Optional custom properties for a VPC the construct will create. This parameter is required.thispublic FargateToStepfunctions build()
build in interface software.amazon.jsii.Builder<FargateToStepfunctions>Copyright © 2022. All rights reserved.