A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.aws.amazon.com/sdkforruby/api/Aws/DLM/Types/PolicyDetails.html below:

PolicyDetails — AWS SDK for Ruby V2

When passing PolicyDetails as input to an Aws::Client method, you can use a vanilla Hash:

{
  policy_type: "EBS_SNAPSHOT_MANAGEMENT",   resource_types: ["VOLUME"],   target_tags: [
    {
      key: "String",       value: "String",     },
  ],
  schedules: [
    {
      name: "ScheduleName",
      copy_tags: false,
      tags_to_add: [
        {
          key: "String",           value: "String",         },
      ],
      variable_tags: [
        {
          key: "String",           value: "String",         },
      ],
      create_rule: {
        interval: 1,
        interval_unit: "HOURS",         times: ["Time"],
        cron_expression: "CronExpression",
      },
      retain_rule: {
        count: 1,
        interval: 1,
        interval_unit: "DAYS",       },
      fast_restore_rule: {
        count: 1,
        interval: 1,
        interval_unit: "DAYS",         availability_zones: ["AvailabilityZone"],       },
      cross_region_copy_rules: [
        {
          target_region: "TargetRegion",           encrypted: false,           cmk_arn: "CmkArn",
          copy_tags: false,
          retain_rule: {
            interval: 1,
            interval_unit: "DAYS",           },
        },
      ],
    },
  ],
  parameters: {
    exclude_boot_volume: false,
    no_reboot: false,
  },
}

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4