@Generated(value="jsii-pacmak/1.3.0 (build 8ae966b)", date="2020-04-17T19:11:45.454Z") @Stability(value=Stable) 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()
The name of the cluster that hosts the service.
|
default Number |
getDesiredTaskCount()
The desired number of instantiations of the task definition to keep running on the service.
|
Schedule |
getSchedule()
The schedule or rate (frequency) that determines when CloudWatch Events runs the rule.
|
default SubnetSelection |
getSubnetSelection()
In what subnets to place the task's ENIs.
|
default IVpc |
getVpc()
The VPC where the container instances will be launched or the elastic network interfaces (ENIs) will be deployed.
|
@Stability(value=Stable) @NotNull Schedule getSchedule()
For more information, see Schedule Expression Syntax for Rules in the Amazon CloudWatch User Guide.
@Stability(value=Stable) @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=Stable) @Nullable default Number getDesiredTaskCount()
Default: 1
@Stability(value=Stable) @Nullable default SubnetSelection getSubnetSelection()
(Only applicable in case the TaskDefinition is configured for AwsVpc networking)
Default: Private subnets
@Stability(value=Stable) @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=Stable) static ScheduledTaskBaseProps.Builder builder()
ScheduledTaskBaseProps.Builder of ScheduledTaskBasePropsCopyright © 2020. All rights reserved.