@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:06.904Z") @Stability(value=Experimental) public interface ScheduledTaskBaseProps extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
ScheduledTaskBaseProps.Builder
A builder for
ScheduledTaskBaseProps |
static class |
ScheduledTaskBaseProps.Jsii$Proxy
An implementation for
ScheduledTaskBaseProps |
| Modifier and Type | Method and Description |
|---|---|
static ScheduledTaskBaseProps.Builder |
builder() |
default ICluster |
getCluster()
(experimental) The name of the cluster that hosts the service.
|
default Number |
getDesiredTaskCount()
(experimental) The desired number of instantiations of the task definition to keep running on the service.
|
default Boolean |
getEnabled()
(experimental) Indicates whether the rule is enabled.
|
default String |
getRuleName()
(experimental) A name for the rule.
|
Schedule |
getSchedule()
(experimental) The schedule or rate (frequency) that determines when CloudWatch Events runs the rule.
|
default SubnetSelection |
getSubnetSelection()
(experimental) In what subnets to place the task's ENIs.
|
default IVpc |
getVpc()
(experimental) The VPC where the container instances will be launched or the elastic network interfaces (ENIs) will be deployed.
|
@Stability(value=Experimental) @NotNull Schedule getSchedule()
For more information, see Schedule Expression Syntax for Rules in the Amazon CloudWatch User Guide.
@Stability(value=Experimental) @Nullable default ICluster getCluster()
If a cluster is specified, the vpc construct should be omitted. Alternatively, you can omit both cluster and vpc.
Default: - create a new cluster; if both cluster and vpc are omitted, a new VPC will be created for you.
@Stability(value=Experimental) @Nullable default Number getDesiredTaskCount()
Default: 1
@Stability(value=Experimental) @Nullable default Boolean getEnabled()
Default: true
@Stability(value=Experimental) @Nullable default String getRuleName()
Default: - AWS CloudFormation generates a unique physical ID and uses that ID for the rule name. For more information, see [Name Type](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html).
@Stability(value=Experimental) @Nullable default SubnetSelection getSubnetSelection()
(Only applicable in case the TaskDefinition is configured for AwsVpc networking)
Default: Private subnets
@Stability(value=Experimental) @Nullable default IVpc getVpc()
If a vpc is specified, the cluster construct should be omitted. Alternatively, you can omit both vpc and cluster.
Default: - uses the VPC defined in the cluster or creates a new VPC.
@Stability(value=Experimental) static ScheduledTaskBaseProps.Builder builder()
ScheduledTaskBaseProps.Builder of ScheduledTaskBasePropsCopyright © 2021. All rights reserved.