DLM.LifecyclePolicy
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dlm-lifecyclepolicy.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-retentionarchivetier.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-excludevolumetypeslist.html;
and fast_restore_rule = {
interval_unit : string option;
availability_zones : string list option;
count : int option;
interval : int option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-fastrestorerule.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-crossregioncopytarget.html
and script = {
execution_handler_service : string option;
execution_timeout : int option;
stages : string list option;
execution_handler : string option;
maximum_retry_count : int option;
execute_operation_on_script_failure : bool option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-script.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-retainrule.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-crossregioncopydeprecaterule.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-crossregioncopytargets.html;
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-eventparameters.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-deprecaterule.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-volumetypevalues.html;
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-sharerule.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-excludetags.html;
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-encryptionconfiguration.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-crossregioncopyretainrule.html
and create_rule = {
interval_unit : string option;
scripts : script list option;
times : string list option;
cron_expression : string option;
interval : int option;
location : string option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-createrule.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-parameters.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-archiveretainrule.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-eventsource.html
and exclusions = {
exclude_boot_volumes : bool option;
exclude_volume_types : exclude_volume_types_list option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-exclusions.html
and cross_region_copy_rule = {
target_region : string option;
target : string option;
deprecate_rule : cross_region_copy_deprecate_rule option;
encrypted : bool;
cmk_arn : string option;
retain_rule : cross_region_copy_retain_rule option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-crossregioncopyrule.html
and cross_region_copy_action = {
target : string;
encryption_configuration : encryption_configuration;
retain_rule : cross_region_copy_retain_rule option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-crossregioncopyaction.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-archiverule.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-action.html
and schedule = {
deprecate_rule : deprecate_rule option;
create_rule : create_rule option;
fast_restore_rule : fast_restore_rule option;
archive_rule : archive_rule option;
retain_rule : retain_rule option;
cross_region_copy_rules : cross_region_copy_rule list option;
name : string option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-schedule.html
and policy_details = {
policy_language : string option;
resource_types : string list option;
schedules : schedule list option;
policy_type : string option;
create_interval : int option;
parameters : parameters option;
extend_deletion : bool option;
exclusions : exclusions option;
actions : action list option;
resource_type : string option;
retain_interval : int option;
event_source : event_source option;
cross_region_copy_targets : cross_region_copy_targets option;
resource_locations : string list option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-policydetails.html
type properties = {
execution_role_arn : string option;
default_policy : string option;
create_interval : int option;
description : string option;
extend_deletion : bool option;
exclusions : exclusions option;
state : string option;
cross_region_copy_targets : cross_region_copy_targets option;
policy_details : policy_details option;
retain_interval : int option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dlm-lifecyclepolicy.html;
val make_properties :
?execution_role_arn:string ->
?default_policy:string ->
?create_interval:int ->
?description:string ->
?extend_deletion:bool ->
?exclusions:exclusions ->
?state:string ->
?cross_region_copy_targets:cross_region_copy_targets ->
?policy_details:policy_details ->
?tags:tag list ->
?retain_interval:int ->
?copy_tags:bool ->
unit ->
properties
val make_retention_archive_tier :
?interval_unit:string ->
?count:int ->
?interval:int ->
unit ->
retention_archive_tier
val make_tag : key:string -> value:string -> unit -> tag
val make_fast_restore_rule :
?interval_unit:string ->
?availability_zones:string list ->
?count:int ->
?interval:int ->
unit ->
fast_restore_rule
val make_cross_region_copy_target :
?target_region:string ->
unit ->
cross_region_copy_target
val make_script :
?execution_handler_service:string ->
?execution_timeout:int ->
?stages:string list ->
?execution_handler:string ->
?maximum_retry_count:int ->
?execute_operation_on_script_failure:bool ->
unit ->
script
val make_retain_rule :
?interval_unit:string ->
?count:int ->
?interval:int ->
unit ->
retain_rule
val make_cross_region_copy_deprecate_rule :
interval_unit:string ->
interval:int ->
unit ->
cross_region_copy_deprecate_rule
val make_event_parameters :
event_type:string ->
snapshot_owner:string list ->
?description_regex:string ->
unit ->
event_parameters
val make_deprecate_rule :
?interval_unit:string ->
?count:int ->
?interval:int ->
unit ->
deprecate_rule
val make_encryption_configuration :
encrypted:bool ->
?cmk_arn:string ->
unit ->
encryption_configuration
val make_cross_region_copy_retain_rule :
interval_unit:string ->
interval:int ->
unit ->
cross_region_copy_retain_rule
val make_create_rule :
?interval_unit:string ->
?scripts:script list ->
?times:string list ->
?cron_expression:string ->
?interval:int ->
?location:string ->
unit ->
create_rule
val make_parameters :
?exclude_boot_volume:bool ->
?exclude_data_volume_tags:tag list ->
?no_reboot:bool ->
unit ->
parameters
val make_archive_retain_rule :
retention_archive_tier:retention_archive_tier ->
unit ->
archive_retain_rule
val make_event_source :
type_:string ->
?parameters:event_parameters ->
unit ->
event_source
val make_exclusions :
?exclude_boot_volumes:bool ->
?exclude_tags:exclude_tags ->
?exclude_volume_types:exclude_volume_types_list ->
unit ->
exclusions
val make_cross_region_copy_rule :
?target_region:string ->
?target:string ->
?deprecate_rule:cross_region_copy_deprecate_rule ->
encrypted:bool ->
?cmk_arn:string ->
?retain_rule:cross_region_copy_retain_rule ->
?copy_tags:bool ->
unit ->
cross_region_copy_rule
val make_cross_region_copy_action :
target:string ->
encryption_configuration:encryption_configuration ->
?retain_rule:cross_region_copy_retain_rule ->
unit ->
cross_region_copy_action
val make_archive_rule : retain_rule:archive_retain_rule -> unit -> archive_rule
val make_action :
cross_region_copy:cross_region_copy_action list ->
name:string ->
unit ->
action
val make_schedule :
?share_rules:share_rule list ->
?deprecate_rule:deprecate_rule ->
?tags_to_add:tag list ->
?create_rule:create_rule ->
?variable_tags:tag list ->
?fast_restore_rule:fast_restore_rule ->
?archive_rule:archive_rule ->
?retain_rule:retain_rule ->
?cross_region_copy_rules:cross_region_copy_rule list ->
?name:string ->
?copy_tags:bool ->
unit ->
schedule
val make_policy_details :
?policy_language:string ->
?resource_types:string list ->
?schedules:schedule list ->
?policy_type:string ->
?create_interval:int ->
?parameters:parameters ->
?extend_deletion:bool ->
?exclusions:exclusions ->
?actions:action list ->
?resource_type:string ->
?retain_interval:int ->
?event_source:event_source ->
?cross_region_copy_targets:cross_region_copy_targets ->
?target_tags:tag list ->
?resource_locations:string list ->
?copy_tags:bool ->
unit ->
policy_details
val yojson_of_retention_archive_tier : retention_archive_tier -> Yojson.Safe.t
val yojson_of_tag : tag -> Yojson.Safe.t
val yojson_of_exclude_volume_types_list :
exclude_volume_types_list ->
Yojson.Safe.t
val yojson_of_fast_restore_rule : fast_restore_rule -> Yojson.Safe.t
val yojson_of_cross_region_copy_target :
cross_region_copy_target ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_script : script -> Yojson.Safe.t
val yojson_of_retain_rule : retain_rule -> Yojson.Safe.t
val yojson_of_cross_region_copy_deprecate_rule :
cross_region_copy_deprecate_rule ->
Yojson.Safe.t
val yojson_of_cross_region_copy_targets :
cross_region_copy_targets ->
Yojson.Safe.t
val yojson_of_event_parameters : event_parameters -> Yojson.Safe.t
val yojson_of_deprecate_rule : deprecate_rule -> Yojson.Safe.t
val yojson_of_volume_type_values : volume_type_values -> [> `Assoc of 'a list ]
val yojson_of_exclude_tags : exclude_tags -> Yojson.Safe.t
val yojson_of_encryption_configuration :
encryption_configuration ->
Yojson.Safe.t
val yojson_of_cross_region_copy_retain_rule :
cross_region_copy_retain_rule ->
Yojson.Safe.t
val yojson_of_create_rule : create_rule -> Yojson.Safe.t
val yojson_of_parameters : parameters -> Yojson.Safe.t
val yojson_of_archive_retain_rule : archive_retain_rule -> Yojson.Safe.t
val yojson_of_event_source : event_source -> Yojson.Safe.t
val yojson_of_exclusions : exclusions -> Yojson.Safe.t
val yojson_of_cross_region_copy_rule : cross_region_copy_rule -> Yojson.Safe.t
val yojson_of_cross_region_copy_action :
cross_region_copy_action ->
Yojson.Safe.t
val yojson_of_archive_rule : archive_rule -> Yojson.Safe.t
val yojson_of_action : action -> Yojson.Safe.t
val yojson_of_schedule : schedule -> Yojson.Safe.t
val yojson_of_policy_details :
policy_details ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties :
properties ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val create_attributes : string -> attributes