Class: Aws::Redshift::Types::CreateSnapshotScheduleMessage

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-redshift/types.rb

Overview

Note:

When making an API call, you may pass CreateSnapshotScheduleMessage data as a hash:

{
  schedule_definitions: ["String"],
  schedule_identifier: "String",
  schedule_description: "String",
  tags: [
    {
      key: "String",
      value: "String",
    },
  ],
  dry_run: false,
  next_invocations: 1,
}

Instance Attribute Summary collapse

Instance Attribute Details

#dry_runBoolean

Returns:

  • (Boolean)


2358
2359
2360
2361
2362
2363
2364
2365
2366
# File 'lib/aws-sdk-redshift/types.rb', line 2358

class CreateSnapshotScheduleMessage < Struct.new(
  :schedule_definitions,
  :schedule_identifier,
  :schedule_description,
  :tags,
  :dry_run,
  :next_invocations)
  include Aws::Structure
end

#next_invocationsInteger

Returns:

  • (Integer)


2358
2359
2360
2361
2362
2363
2364
2365
2366
# File 'lib/aws-sdk-redshift/types.rb', line 2358

class CreateSnapshotScheduleMessage < Struct.new(
  :schedule_definitions,
  :schedule_identifier,
  :schedule_description,
  :tags,
  :dry_run,
  :next_invocations)
  include Aws::Structure
end

#schedule_definitionsArray<String>

The definition of the snapshot schedule. The definition is made up of schedule expressions, for example “cron(30 12 *)” or “rate(12 hours)”.

Returns:

  • (Array<String>)


2358
2359
2360
2361
2362
2363
2364
2365
2366
# File 'lib/aws-sdk-redshift/types.rb', line 2358

class CreateSnapshotScheduleMessage < Struct.new(
  :schedule_definitions,
  :schedule_identifier,
  :schedule_description,
  :tags,
  :dry_run,
  :next_invocations)
  include Aws::Structure
end

#schedule_descriptionString

The description of the snapshot schedule.

Returns:

  • (String)


2358
2359
2360
2361
2362
2363
2364
2365
2366
# File 'lib/aws-sdk-redshift/types.rb', line 2358

class CreateSnapshotScheduleMessage < Struct.new(
  :schedule_definitions,
  :schedule_identifier,
  :schedule_description,
  :tags,
  :dry_run,
  :next_invocations)
  include Aws::Structure
end

#schedule_identifierString

A unique identifier for a snapshot schedule. Only alphanumeric characters are allowed for the identifier.

Returns:

  • (String)


2358
2359
2360
2361
2362
2363
2364
2365
2366
# File 'lib/aws-sdk-redshift/types.rb', line 2358

class CreateSnapshotScheduleMessage < Struct.new(
  :schedule_definitions,
  :schedule_identifier,
  :schedule_description,
  :tags,
  :dry_run,
  :next_invocations)
  include Aws::Structure
end

#tagsArray<Types::Tag>

Returns:



2358
2359
2360
2361
2362
2363
2364
2365
2366
# File 'lib/aws-sdk-redshift/types.rb', line 2358

class CreateSnapshotScheduleMessage < Struct.new(
  :schedule_definitions,
  :schedule_identifier,
  :schedule_description,
  :tags,
  :dry_run,
  :next_invocations)
  include Aws::Structure
end