SecretsManager.RotationSchedule
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-rotationschedule.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-rotationschedule-rotationrules.html
and hosted_rotation_lambda = {
runtime : string option;
rotation_type : string;
rotation_lambda_name : string option;
kms_key_arn : string option;
master_secret_arn : string option;
vpc_security_group_ids : string option;
exclude_characters : string option;
master_secret_kms_key_arn : string option;
superuser_secret_arn : string option;
superuser_secret_kms_key_arn : string option;
vpc_subnet_ids : string option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-rotationschedule-hostedrotationlambda.html
type properties = {
secret_id : string;
hosted_rotation_lambda : hosted_rotation_lambda option;
rotation_lambda_arn : string option;
rotation_rules : rotation_rules option;
rotate_immediately_on_update : bool option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-rotationschedule.html;
val make_properties :
secret_id:string ->
?hosted_rotation_lambda:hosted_rotation_lambda ->
?rotation_lambda_arn:string ->
?rotation_rules:rotation_rules ->
?rotate_immediately_on_update:bool ->
unit ->
properties
val make_rotation_rules :
?schedule_expression:string ->
?duration:string ->
?automatically_after_days:int ->
unit ->
rotation_rules
val make_hosted_rotation_lambda :
?runtime:string ->
rotation_type:string ->
?rotation_lambda_name:string ->
?kms_key_arn:string ->
?master_secret_arn:string ->
?vpc_security_group_ids:string ->
?exclude_characters:string ->
?master_secret_kms_key_arn:string ->
?superuser_secret_arn:string ->
?superuser_secret_kms_key_arn:string ->
?vpc_subnet_ids:string ->
unit ->
hosted_rotation_lambda
val yojson_of_rotation_rules :
rotation_rules ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_hosted_rotation_lambda :
hosted_rotation_lambda ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties :
properties ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val create_attributes : string -> attributes