@Stability(value=Experimental) public static final class ScheduledFargateTaskProps.Builder extends Object implements software.amazon.jsii.Builder<ScheduledFargateTaskProps>
ScheduledFargateTaskProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public ScheduledFargateTaskProps.Builder platformVersion(FargatePlatformVersion platformVersion)
ScheduledFargateTaskProps.getPlatformVersion()platformVersion - The platform version on which to run your service.
If one is not specified, the LATEST platform version is used by default. For more information, see
AWS Fargate Platform Versions
in the Amazon Elastic Container Service Developer Guide.this@Stability(value=Experimental) public ScheduledFargateTaskProps.Builder scheduledFargateTaskDefinitionOptions(ScheduledFargateTaskDefinitionOptions scheduledFargateTaskDefinitionOptions)
ScheduledFargateTaskProps.getScheduledFargateTaskDefinitionOptions()scheduledFargateTaskDefinitionOptions - The properties to define if using an existing TaskDefinition in this construct.
ScheduledFargateTaskDefinitionOptions or ScheduledFargateTaskImageOptions must be defined, but not both.this@Stability(value=Experimental) public ScheduledFargateTaskProps.Builder scheduledFargateTaskImageOptions(ScheduledFargateTaskImageOptions scheduledFargateTaskImageOptions)
ScheduledFargateTaskProps.getScheduledFargateTaskImageOptions()scheduledFargateTaskImageOptions - The properties to define if the construct is to create a TaskDefinition.
ScheduledFargateTaskDefinitionOptions or ScheduledFargateTaskImageOptions must be defined, but not both.this@Stability(value=Experimental) public ScheduledFargateTaskProps.Builder schedule(Schedule schedule)
ScheduledTaskBaseProps.getSchedule()schedule - The schedule or rate (frequency) that determines when CloudWatch Events runs the rule. This parameter is required.
For more information, see
Schedule Expression Syntax for Rules
in the Amazon CloudWatch User Guide.this@Stability(value=Experimental) public ScheduledFargateTaskProps.Builder cluster(ICluster cluster)
ScheduledTaskBaseProps.getCluster()cluster - The name of the cluster that hosts the service.
If a cluster is specified, the vpc construct should be omitted. Alternatively, you can omit both cluster and vpc.this@Stability(value=Experimental) public ScheduledFargateTaskProps.Builder desiredTaskCount(Number desiredTaskCount)
ScheduledTaskBaseProps.getDesiredTaskCount()desiredTaskCount - The desired number of instantiations of the task definition to keep running on the service.this@Stability(value=Experimental) public ScheduledFargateTaskProps.Builder enabled(Boolean enabled)
ScheduledTaskBaseProps.getEnabled()enabled - Indicates whether the rule is enabled.this@Stability(value=Experimental) public ScheduledFargateTaskProps.Builder ruleName(String ruleName)
ScheduledTaskBaseProps.getRuleName()ruleName - A name for the rule.this@Stability(value=Experimental) public ScheduledFargateTaskProps.Builder subnetSelection(SubnetSelection subnetSelection)
ScheduledTaskBaseProps.getSubnetSelection()subnetSelection - In what subnets to place the task's ENIs.
(Only applicable in case the TaskDefinition is configured for AwsVpc networking)this@Stability(value=Experimental) public ScheduledFargateTaskProps.Builder vpc(IVpc vpc)
ScheduledTaskBaseProps.getVpc()vpc - The VPC where the container instances will be launched or the elastic network interfaces (ENIs) will be deployed.
If a vpc is specified, the cluster construct should be omitted. Alternatively, you can omit both vpc and cluster.this@Stability(value=Experimental) public ScheduledFargateTaskProps build()
build in interface software.amazon.jsii.Builder<ScheduledFargateTaskProps>ScheduledFargateTaskPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.