get-schedule
Description
Retrieves the specified schedule.
See also: AWS API Documentation
Synopsis
get-schedule
[--group-name <value>]
--name <value>
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]
[--cli-binary-format <value>]
[--no-cli-pager]
[--cli-auto-prompt]
[--no-cli-auto-prompt]
Options
--group-name (string)
--name (string)
--cli-input-json | --cli-input-yaml (string) Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml.
--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. Similarly, if provided yaml-input it will print a sample input YAML that can be used with --cli-input-yaml. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command. The generated JSON skeleton is not stable between versions of the AWS CLI and there are no backwards compatibility guarantees in the JSON skeleton generated.
Global Options
--debug (boolean)
Turn on debug logging.
--endpoint-url (string)
Override command’s default URL with the given URL.
--no-verify-ssl (boolean)
By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.
--no-paginate (boolean)
Disable automatic pagination. If automatic pagination is disabled, the AWS CLI will only make one call, for the first page of results.
--output (string)
The formatting style for command output.
- json
- text
- table
- yaml
- yaml-stream
--query (string)
A JMESPath query to use in filtering the response data.
--profile (string)
Use a specific profile from your credential file.
--region (string)
The region to use. Overrides config/env settings.
--version (string)
Display the version of this tool.
--color (string)
Turn on/off color output.
- on
- off
- auto
--no-sign-request (boolean)
Do not sign requests. Credentials will not be loaded if this argument is provided.
--ca-bundle (string)
The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.
--cli-read-timeout (int)
The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.
--cli-connect-timeout (int)
The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.
--cli-binary-format (string)
The formatting style to be used for binary blobs. The default format is base64. The base64 format expects binary blobs to be provided as a base64 encoded string. The raw-in-base64-out format preserves compatibility with AWS CLI V1 behavior and binary values must be passed literally. When providing contents from a file that map to a binary blob fileb:// will always be treated as binary and use the file contents directly regardless of the cli-binary-format setting. When using file:// the file contents will need to properly formatted for the configured cli-binary-format.
- base64
- raw-in-base64-out
--no-cli-pager (boolean)
Disable cli pager for output.
--cli-auto-prompt (boolean)
Automatically prompt for CLI input parameters.
--no-cli-auto-prompt (boolean)
Disable automatically prompt for CLI input parameters.
Output
ActionAfterCompletion -> (string)
Arn -> (string)
CreationDate -> (timestamp)
Description -> (string)
EndDate -> (timestamp)
EndDate you specify. EventBridge Scheduler ignores EndDate for one-time schedules.FlexibleTimeWindow -> (structure)
Allows you to configure a time window during which EventBridge Scheduler invokes the schedule.
MaximumWindowInMinutes -> (integer)
Mode -> (string)
GroupName -> (string)
KmsKeyArn -> (string)
LastModificationDate -> (timestamp)
Name -> (string)
ScheduleExpression -> (string)
The expression that defines when the schedule runs. The following formats are supported.
-
atexpression -at(yyyy-mm-ddThh:mm:ss) -
rateexpression -rate(value unit) -
cronexpression -cron(fields)
You can use at expressions to create one-time schedules that invoke a target once, at the time and in the time zone, that you specify. You can use rate and cron expressions to create recurring schedules. Rate-based schedules are useful when you want to invoke a target at regular intervals, such as every 15 minutes or every five days. Cron-based schedules are useful when you want to invoke a target periodically at a specific time, such as at 8:00 am (UTC+0) every 1st day of the month.
A cron expression consists of six fields separated by white spaces: (minutes hours day_of_month month day_of_week year) .
A rate expression consists of a value as a positive integer, and a unit with the following options: minute | minutes | hour | hours | day | days
For more information and examples, see Schedule types on EventBridge Scheduler in the EventBridge Scheduler User Guide .
ScheduleExpressionTimezone -> (string)
StartDate -> (timestamp)
StartDate you specify. EventBridge Scheduler ignores StartDate for one-time schedules.State -> (string)
Target -> (structure)
The schedule target.
Arn -> (string)
DeadLetterConfig -> (structure)
An object that contains information about an Amazon SQS queue that EventBridge Scheduler uses as a dead-letter queue for your schedule. If specified, EventBridge Scheduler delivers failed events that could not be successfully delivered to a target to the queue.
Arn -> (string)
EcsParameters -> (structure)
The templated target type for the Amazon ECS ` RunTask https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html`__ API operation.
CapacityProviderStrategy -> (list)
The capacity provider strategy to use for the task.
(structure)
The details of a capacity provider strategy.
base -> (integer)
0 is used.capacityProvider -> (string)
weight -> (integer)
EnableECSManagedTags -> (boolean)
EnableExecuteCommand -> (boolean)
Group -> (string)
LaunchType -> (string)
FARGATE value is supported only in the Regions where Fargate with Amazon ECS is supported. For more information, see AWS Fargate on Amazon ECS in the Amazon ECS Developer Guide .NetworkConfiguration -> (structure)
This structure specifies the network configuration for an ECS task.
awsvpcConfiguration -> (structure)
Specifies the Amazon VPC subnets and security groups for the task, and whether a public IP address is to be used. This structure is relevant only for ECS tasks that use the awsvpc network mode.
AssignPublicIp -> (string)
ENABLED only when LaunchType in EcsParameters is set to FARGATE .SecurityGroups -> (list)
Specifies the security groups associated with the task. These security groups must all be in the same VPC. You can specify as many as five security groups. If you do not specify a security group, the default security group for the VPC is used.
(string)
Subnets -> (list)
Specifies the subnets associated with the task. These subnets must all be in the same VPC. You can specify as many as 16 subnets.
(string)
PlacementConstraints -> (list)
An array of placement constraint objects to use for the task. You can specify up to 10 constraints per task (including constraints in the task definition and those specified at runtime).
(structure)
An object representing a constraint on task placement.
expression -> (string)
distinctInstance . For more information, see Cluster query language in the Amazon ECS Developer Guide .type -> (string)
distinctInstance to ensure that each task in a particular group is running on a different container instance. Use memberOf to restrict the selection to a group of valid candidates.PlacementStrategy -> (list)
The task placement strategy for a task or service.
(structure)
The task placement strategy for a task or service.
field -> (string)
instanceId (or instanceId , which has the same effect), or any platform or custom attribute that is applied to a container instance, such as attribute:ecs.availability-zone . For the binpack placement strategy, valid values are cpu and memory . For the random placement strategy, this field is not used.type -> (string)
PlatformVersion -> (string)
1.1.0 .PropagateTags -> (string)
TagResource https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_TagResource.html`__ API action.ReferenceId -> (string)
Tags -> (list)
The 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. For more information, see ` RunTask https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html`__ in the Amazon ECS API Reference .
(map)
key -> (string)
value -> (string)
TaskCount -> (integer)
TaskDefinition . The default is 1 .TaskDefinitionArn -> (string)
EventBridgeParameters -> (structure)
The templated target type for the EventBridge ` PutEvents https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_PutEvents.html`__ API operation.
DetailType -> (string)
Source -> (string)
Input -> (string)
KinesisParameters -> (structure)
The templated target type for the Amazon Kinesis ` PutRecord kinesis/latest/APIReference/API_PutRecord.html`__ API operation.
PartitionKey -> (string)
RetryPolicy -> (structure)
A RetryPolicy object that includes information about the retry policy settings, including the maximum age of an event, and the maximum number of times EventBridge Scheduler will try to deliver the event to a target.
MaximumEventAgeInSeconds -> (integer)
MaximumRetryAttempts -> (integer)
MaximumEventAgeInSeconds is reached.RoleArn -> (string)
SageMakerPipelineParameters -> (structure)
The templated target type for the Amazon SageMaker ` StartPipelineExecution https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_StartPipelineExecution.html`__ API operation.
PipelineParameterList -> (list)
List of parameter names and values to use when executing the SageMaker Model Building Pipeline.
(structure)
The name and value pair of a parameter to use to start execution of a SageMaker Model Building Pipeline.
Name -> (string)
Value -> (string)
SqsParameters -> (structure)
The templated target type for the Amazon SQS ` SendMessage https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_SendMessage.html`__ API operation. Contains the message group ID to use when the target is a FIFO queue. If you specify an Amazon SQS FIFO queue as a target, the queue must have content-based deduplication enabled. For more information, see Using the Amazon SQS message deduplication ID in the Amazon SQS Developer Guide .
MessageGroupId -> (string)
© Copyright 2025, Amazon Web Services. Created using Sphinx.