Skeddly API
  • Introduction
  • Overview
    • Making Requests
    • Authentication
    • Clients
    • Errors
      • HTTP Status Codes
      • Error Codes
      • Handling Errors
  • Resources
    • Action Exclusions
      • CreateActionExclusion Method
      • DeleteActionExclusion Method
      • GetActionExclusion Method
      • ListActionExclusions Method
      • ModifyActionExclusion Method
    • Action Executions
      • CancelActionExecution Method
      • GetActionExecution Method
      • GetActionExecutionLog Method
      • ListActionExecutions Method
      • ListUpcomingActionExecutions Method
    • Actions
      • Action Types
      • CreateAction Method
      • DeleteAction Method
      • ExecuteAction Method
      • GetAction Method
      • ListActions Method
      • ModifyAction Method
    • Credentials
      • CreateCredential Method
      • CopyCredential Method
      • DeleteCredential Method
      • GenerateIamPolicy Method
      • GenerateAmazonIamRoleExternalId Method
      • GetCredential Method
      • ListCredentials Method
      • ModifyCredential Method
    • Managed Policies
      • GetManagedPolicy Method
      • ListManagedPolicies Method
    • Managed Services
      • CreateManagedServicesPlan Method
      • CreateManagedServicesSelector Method
      • DeleteManagedServicesPlan Method
      • DeleteManagedServicesSelector Method
      • GetManagedServicesPlan Method
      • GetManagedServicesSelector Method
      • ListManagedServicesPlans Method
      • ListManagedServicesSelectors Method
      • ModifyManagedServicesPlan Method
      • ModifyManagedServicesSelector Method
    • Projects
      • ArchiveProject Method
      • CreateProject Method
      • CreateProjectNotification Method
      • CreateProjectRss Method
      • DeleteProjectNotification Method
      • GetProject Method
      • ListProjects Method
      • ModifyProject Method
      • ModifyProjectAccountNotifications Method
      • ModifyProjectReportEmails Method
    • Reports
      • GetBackupsReport Method
    • Regions
      • GetRegion Method
      • ListRegions Method
    • Time Zones
      • ListTimeZones Method
    • Users
      • AttachManagedPolicy Method
      • CreateUser Method
      • DeleteUser Method
      • DetachManagedPolicy Method
      • GetUser Method
      • ListUsers Method
      • ModifyUser Method
      • ModifyUserPassword Method
      • RemoveUserMfa Method
  • Data Types
    • Action Object
    • ActionExecution Object
    • ActionExecutionResult Object
    • ActionExecutionTrigger Object
    • ActionExclusion Object
    • ActionParameters Object
      • AmazonAddSecurityGroupRuleParameters Object
      • AmazonApplyS3BucketPolicyParameters Object
      • AmazonAssociateElasticIpParameters Object
      • AmazonAttachIamRoleToEc2InstancesParameters Object
      • AmazonBackupEc2InstanceParameters Object
      • AmazonBackupEc2InstancesParameters Object
      • AmazonBackupMySQLServerParameters Object
      • AmazonBackupRoute53HostedZoneParameters Object
      • AmazonBackupRoute53HostedZonesParameters Object
      • AmazonChangeDynamoDbTablesParameters Object
      • AmazonChangeEbsVolumesParameters Object
      • AmazonChangeEc2InstanceTypeParameters Object
      • AmazonChangeEc2InstancesParameters Object
      • AmazonChangeRdsInstanceClassParameters Object
      • AmazonCheckRootAccessKeysParameters Object
      • AmazonCloudFormationStackDriftReportParameters Object
      • AmazonCopyAmiImagesParameters Object
      • AmazonCopyEbsSnapshotsParameters Object
      • AmazonCopyEbsVolumeParameters Object
      • AmazonCopyEc2InstanceParameters Object
      • AmazonCopyRdsSnapshotsParameters Object
      • AmazonCopyS3ObjectsParameters Object
      • AmazonCreateAmiImageParameters Object
      • AmazonCreateAmiImagesParameters Object
      • AmazonCreateCloudFormationStackParameters Object
      • AmazonCreateCloudTrailTrailsParameters Object
      • AmazonCreateDirectoryServiceSnapshotsParameters Object
      • AmazonCreateDynamoDbBackupsParameters Object
      • AmazonCreateEbsSnapshotParameters Object
      • AmazonCreateEbsSnapshotsParameters Object
      • AmazonCreateElastiCacheClusterParameters Object
      • AmazonCreateElastiCacheReadReplicaParameters Object
      • AmazonCreateElastiCacheSnapshotsParameters Object
      • AmazonCreateLightsailInstancesFromSnapshotsParameters Object
      • AmazonCreateLightsailInstanceSnapshotsParameters Object
      • AmazonCreateRdsReadReplicaParameters Object
      • AmazonCreateRdsSnapshotParameters Object
      • AmazonCreateRdsSnapshotsParameters Object
      • AmazonCreateRedshiftSnapshotParameters Object
      • AmazonDeleteEbsSnapshotsParameters Object
      • AmazonDeleteEbsVolumesParameters Object
      • AmazonDeleteRdsSnapshotsParameters Object
      • AmazonDeregisterAmiImagesParameters Object
      • AmazonDisableUnusedIamAccessKeysParameters Object
      • AmazonExportDynamoDbTablesParameters Object
      • AmazonRequestEc2SpotInstancesParameters Object
      • AmazonSendSsmCommandParameters Object
      • AmazonStartEc2InstanceParameters Object
      • AmazonStartEc2InstancesParameters Object
      • AmazonTagEbsSnapshotsParameters Object
      • AmazonUpdateAutoScalingGroupsParameters Object
      • AmazonUpdateEcsServicesParameters Object
      • GoogleResizeManagedInstanceGroupsParameters Object
      • GoogleStartVmInstancesParameters Object
      • GoogleStartCloudSqlInstancesParameters Object
    • ActionSchedule Object
    • AllDatabases Object
    • AutoScalingGroupNameComparison Object
    • AmazonIamRoleExternalId Object
    • AmazonIamAccessKeyParameters Object
    • AmazonIamRoleParameters Object
    • AmazonS3Target Object
    • AmiImageDescriptionComparison Object
    • AmiImageNameComparison Object
    • AmiImageTag Object
    • AmiImageVolumeChanges Object
    • AttachVolumeToInstanceParameters Object
    • AzureCredentialParameters Object
    • BackupsReportItem Object
    • BucketNameComparison Object
    • ChangeDeleteOnTerminate Object
    • ChangeEbsVolumeEncryption Object
    • ChangeEbsVolumeSize Object
    • ChangeEbsVolumeType Object
    • CloudFormationParameter Object
    • CloudFormationStackNameComparison Object
    • CloudTrailCloudWatchLogsProperties Object
    • CreateEbsSnapshot Object
    • CreateLightsailInstancesInstance Object
    • Credential Object
    • DatabaseEndpoint Object
    • DaysDetached Object
    • EbsSnapshotDescriptionComparison Object
    • EbsVolumeIdComparison Object
    • EcsClusterNameComparison Object
    • EcsServiceNameComparison Object
    • ElastiCacheClusterIdComparison Object
    • Error Object
    • FirstInFirstOutDeleteSchemeParameters Object
    • GrandfatherFatherSonDeleteSchemeParameters Object
    • GoogleInstanceNameComparison Object
    • GoogleLabelComparison Object
    • GoogleManagedInstanceGroupNameComparison Object
    • GoogleServiceAccountKeyParameters Object
    • IamUserNameComparison Object
    • InstanceNameComparison Object
    • LightsailInstanceNameComparison Object
    • LightsailInstanceSnapshotNameComparison Object
    • ManagedPolicy Object
    • ManagedServicesGroupIdComparison Object
    • ManagedServicesPlan Object
    • ManagedServicesPlanParameters Object
      • ManagedServicesStartStopPlanParameters Object
    • ManagedServicesPlanSchedule Object
    • ManagedServicesResourceIdComparison Object
    • ManagedServicesResourceTagComparison Object
    • ManagedServicesSelector Object
    • MinimumToKeepPeriodParameters Object
    • NameTagComparison Object
    • Project Object
    • ProjectNotification Object
    • ProjectNotificationAmazonSnsSettings Object
    • ProjectNotificationEmailSettings Object
    • ProjectNotificationSlackSettings Object
    • ProjectNotificationsSettings Object
    • ProjectRssFeed Object
    • RdsInstanceIdComparison Object
    • RdsSnapshotIdComparison Object
    • RdsSourceIdComparison Object
    • Region Object
    • ResourceTagComparison Object
    • RollingInstanceStops Object
    • ScheduleParameters Object
      • DailyScheduleParameters Object
      • HourlyScheduleParameters Object
      • NoneScheduleParameters Object
      • MonthlyScheduleParameters Object
      • WeeklyScheduleParameters Object
    • SendSsmCommandParameter Object
    • SpecificDatabases Object
    • SpotInstanceOptions Object
    • StartEc2InstancesInstance Object
    • TableNameComparison Object
    • Tag Object
    • TimeZone Object
    • UpcomingActionExecution Object
    • User Object
    • UserManagedPolicy
    • WeekAndDay Object
Powered by GitBook
On this page
  • Description
  • Properties
  • credentialIds
  • deleteScheme
  • firstInFirstOutParameters
  • grandfatherFatherSonParameters
  • groupingMethod
  • groupingResourceTagName
  • isTest
  • snapshotDescriptionComparison
  • snapshotIdentificationMethod
  • snapshotNameTagComparison
  • regionNames
  • reportFormat
  • resourceTagComparison
  • targetEmails
  • targetType
  • volumeIdComparison
  • Sample JSON
  1. Data Types
  2. ActionParameters Object

AmazonDeleteEbsSnapshotsParameters Object

Description

Parameters for the Amazon Delete EBS Snapshots action.

Properties

credentialIds

Registered credentials to use with the action. One and only one credential must be specified.

Type: Array of string

Required: Yes

deleteScheme

Delete scheme to use to determine the snapshots to delete or preserve.

Type: string

Valid Values:

  • none

  • first-in-first-out

  • grandfather-father-son

firstInFirstOutParameters

Parameters to use when using a first-in-first-out delete scheme. Required when deleteScheme is first-in-first-out.

Required: Conditional

grandfatherFatherSonParameters

Parameters to use when using a grandfather-father-son delete scheme. Required when deleteScheme is grandfather-father-son.

Required: Conditional

groupingMethod

Method in which to group snapshots when deleting.

Type: string

Valid Values:

  • none

  • by-volume-id

  • by-resource-tag

Required: Yes

groupingResourceTagName

Name of the resource tag to use to group snapshots. Required when groupingMethod is by-resource-tag.

Type: string

Required: Conditional

isTest

Determines if "Test Mode" is enabled on the action. Snapshots will not be deleted when "Test Mode" is enabled.

Type: boolean

Required: No

Default Value: false

snapshotDescriptionComparison

Comparison to use when matching snapshots by description. Required when snapshotIdentificationMethod is by-description.

Required: Conditional

snapshotIdentificationMethod

Method to use to identify snapshots to be deleted.

Type: string

Valid Values:

  • all-snapshots

  • by-description

  • by-snapshot-name-tag

  • by-volume-id

  • by-resource-tag

Required: Yes

snapshotNameTagComparison

Comparison to use when matching snapshots by their Name tag. Required when snapshotIdentificationMethod is by-snapshot-name-tag.

Required: Conditional

regionNames

Regions to use with the action. Omit (or specify null) to include "all regions".

Type: Array of string

Required: No

reportFormat

Format of the final report. Required when targetType is email.

Type: string

Valid Values:

  • email

  • email-html-attachment

  • email-csv-attachment

Required: Conditional

resourceTagComparison

Comparison to use when identifying snapshots by resource tag. Required when snapshotIdentificationMethod is by-resource-tag.

Required: Conditional

targetEmails

The target email addresses to send the final report.

Type: array of string

Required: No

targetType

Indicates whether a report should be generated with the execution results.

Type: string

Valid Values:

  • none

  • email

Required: No

Default: none

volumeIdComparison

Comparison to use when matching snapshots by their source volume ID. Required when snapshotIdentificationMethod is by-volume-id.

Required: Conditional

Sample JSON

{
    "credentialIds": [
        "cred-00000001"
    ],
    "regionNames": [
        "us-east-1",
        "us-east-2"
    ],

    "snapshotIdentificationMethod": "by-resource-tag",
    "resourceTagComparison": {
        "tagName": "skeddly:retention",
        "compareType": "equals",
        "tagValue": "7"
    },

    "deleteScheme": "first-in-first-out",
    "firstInFirstOutParameters": {
        "olderThanDays": 30,
        "minimumToKeep": 2
    },

    "groupingMethod": "by-resource-tag",
    "groupingResourceTagName": "skeddly:volume-id",

    "targetType": "email",
    "targetEmails": [
        "foo@example.com"
    ],
    "ReportFormat": "email",

    "isTest": false
}

PreviousAmazonCreateRedshiftSnapshotParameters ObjectNextAmazonDeleteEbsVolumesParameters Object

Last updated 6 years ago

Type: object

Type: object

Type: object

Type: object

Type: object.

Type: object

FirstInFirstOutDeleteSchemeParameters
GrandfatherFatherSonDeleteSchemeParameters
EbsSnapshotDescriptionComparison
NameTagComparison
ResourceTagComparison
EbsVolumeIdComparison