Class Ec2TaskProps.Jsii$Proxy
- All Implemented Interfaces:
Ec2TaskProps,EcsRunTaskBaseProps,ScheduleTargetBaseProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
Ec2TaskProps
Ec2TaskProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.scheduler.targets.Ec2TaskProps
Ec2TaskProps.Builder, Ec2TaskProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(Ec2TaskProps.Builder builder) Constructor that initializes the object based on literal property values passed by theEc2TaskProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal List<CapacityProviderStrategy> The capacity provider strategy to use for the task.final IQueueThe SQS queue to be used as deadLetterQueue.final BooleanSpecifies whether to enable Amazon ECS managed tags for the task.final BooleanWhether to enable execute command functionality for the containers in this task.final StringgetGroup()Specifies an ECS task group for the task.final ScheduleTargetInputgetInput()Input passed to the target.final DurationThe maximum age of a request that Scheduler sends to a target for processing.final List<PlacementConstraint> The rules that must be met in order to place a task on a container instance.final List<PlacementStrategy> The algorithm for selecting container instances for task placement.final BooleanSpecifies whether to propagate the tags from the task definition to the task.final StringThe reference ID to use for the task.final NumberThe maximum number of times to retry when the target returns an error.final IRolegetRole()An execution role is an IAM role that EventBridge Scheduler assumes in order to interact with other AWS services on your behalf.final List<ISecurityGroup> The security groups associated with the task.getTags()The metadata that you apply to the task to help you categorize and organize them.final NumberThe number of tasks to create based on TaskDefinition.final TaskDefinitionThe task definition to use for scheduled tasks.final SubnetSelectionThe subnets associated with the task.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theEc2TaskProps.Builder.
-
-
Method Details
-
getPlacementConstraints
Description copied from interface:Ec2TaskPropsThe rules that must be met in order to place a task on a container instance.Default: - No placement constraints.
- Specified by:
getPlacementConstraintsin interfaceEc2TaskProps
-
getPlacementStrategies
Description copied from interface:Ec2TaskPropsThe algorithm for selecting container instances for task placement.Default: - No placement strategies.
- Specified by:
getPlacementStrategiesin interfaceEc2TaskProps
-
getTaskDefinition
Description copied from interface:EcsRunTaskBasePropsThe task definition to use for scheduled tasks.Note: this must be TaskDefinition, and not ITaskDefinition, as it requires properties that are not known for imported task definitions If you want to run a RunTask with an imported task definition, consider using a Universal target.
- Specified by:
getTaskDefinitionin interfaceEcsRunTaskBaseProps
-
getCapacityProviderStrategies
Description copied from interface:EcsRunTaskBasePropsThe capacity provider strategy to use for the task.Default: - No capacity provider strategy
- Specified by:
getCapacityProviderStrategiesin interfaceEcsRunTaskBaseProps
-
getEnableEcsManagedTags
Description copied from interface:EcsRunTaskBasePropsSpecifies whether to enable Amazon ECS managed tags for the task.Default: - false
- Specified by:
getEnableEcsManagedTagsin interfaceEcsRunTaskBaseProps
-
getEnableExecuteCommand
Description copied from interface:EcsRunTaskBasePropsWhether to enable execute command functionality for the containers in this task.If true, this enables execute command functionality on all containers in the task.
Default: - false
- Specified by:
getEnableExecuteCommandin interfaceEcsRunTaskBaseProps
-
getGroup
Description copied from interface:EcsRunTaskBasePropsSpecifies an ECS task group for the task.Default: - No group
- Specified by:
getGroupin interfaceEcsRunTaskBaseProps
-
getPropagateTags
Description copied from interface:EcsRunTaskBasePropsSpecifies whether to propagate the tags from the task definition to the task.If no value is specified, the tags are not propagated.
Default: - No tag propagation
- Specified by:
getPropagateTagsin interfaceEcsRunTaskBaseProps
-
getReferenceId
Description copied from interface:EcsRunTaskBasePropsThe reference ID to use for the task.Default: - No reference ID.
- Specified by:
getReferenceIdin interfaceEcsRunTaskBaseProps
-
getSecurityGroups
Description copied from interface:EcsRunTaskBasePropsThe security groups associated with the task.These security groups must all be in the same VPC. Controls inbound and outbound network access for the task.
Default: - The security group for the VPC is used.
- Specified by:
getSecurityGroupsin interfaceEcsRunTaskBaseProps
-
getTags
Description copied from interface:EcsRunTaskBasePropsThe metadata that you apply to the task to help you categorize and organize them.Each tag consists of a key and an optional value, both of which you define.
Default: - No tags
- Specified by:
getTagsin interfaceEcsRunTaskBaseProps
-
getTaskCount
Description copied from interface:EcsRunTaskBasePropsThe number of tasks to create based on TaskDefinition.Default: 1
- Specified by:
getTaskCountin interfaceEcsRunTaskBaseProps
-
getVpcSubnets
Description copied from interface:EcsRunTaskBasePropsThe subnets associated with the task.These subnets must all be in the same VPC. The task will be launched in these subnets.
Default: - all private subnets of the VPC are selected.
- Specified by:
getVpcSubnetsin interfaceEcsRunTaskBaseProps
-
getDeadLetterQueue
Description copied from interface:ScheduleTargetBasePropsThe SQS queue to be used as deadLetterQueue.The events not successfully delivered are automatically retried for a specified period of time, depending on the retry policy of the target. If an event is not delivered before all retry attempts are exhausted, it will be sent to the dead letter queue.
Default: - no dead-letter queue
- Specified by:
getDeadLetterQueuein interfaceScheduleTargetBaseProps
-
getInput
Description copied from interface:ScheduleTargetBasePropsInput passed to the target.Default: - no input.
- Specified by:
getInputin interfaceScheduleTargetBaseProps
-
getMaxEventAge
Description copied from interface:ScheduleTargetBasePropsThe maximum age of a request that Scheduler sends to a target for processing.Minimum value of 60. Maximum value of 86400.
Default: Duration.hours(24)
- Specified by:
getMaxEventAgein interfaceScheduleTargetBaseProps
-
getRetryAttempts
Description copied from interface:ScheduleTargetBasePropsThe maximum number of times to retry when the target returns an error.Minimum value of 0. Maximum value of 185.
Default: 185
- Specified by:
getRetryAttemptsin interfaceScheduleTargetBaseProps
-
getRole
Description copied from interface:ScheduleTargetBasePropsAn execution role is an IAM role that EventBridge Scheduler assumes in order to interact with other AWS services on your behalf.If none provided templates target will automatically create an IAM role with all the minimum necessary permissions to interact with the templated target. If you wish you may specify your own IAM role, then the templated targets will grant minimal required permissions.
Default: - created by target
- Specified by:
getRolein interfaceScheduleTargetBaseProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-