{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/SecretId"
 ],
 "definitions": {
  "ExternalSecretRotationMetadataItem": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "type": "string"
    },
    "Value": {
     "type": "string"
    }
   },
   "required": [
    "Key",
    "Value"
   ],
   "type": "object"
  },
  "HostedRotationLambda": {
   "additionalProperties": false,
   "properties": {
    "ExcludeCharacters": {
     "type": "string"
    },
    "KmsKeyArn": {
     "format": "AWS::KMS::Key.Arn",
     "type": "string"
    },
    "MasterSecretArn": {
     "type": "string"
    },
    "MasterSecretKmsKeyArn": {
     "type": "string"
    },
    "RotationLambdaName": {
     "type": "string"
    },
    "RotationType": {
     "type": "string"
    },
    "Runtime": {
     "type": "string"
    },
    "SuperuserSecretArn": {
     "type": "string"
    },
    "SuperuserSecretKmsKeyArn": {
     "type": "string"
    },
    "VpcSecurityGroupIds": {
     "type": "string"
    },
    "VpcSubnetIds": {
     "type": "string"
    }
   },
   "required": [
    "RotationType"
   ],
   "type": "object"
  },
  "RotationRules": {
   "additionalProperties": false,
   "properties": {
    "AutomaticallyAfterDays": {
     "type": "integer"
    },
    "Duration": {
     "type": "string"
    },
    "ScheduleExpression": {
     "type": "string"
    }
   },
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/Id"
 ],
 "properties": {
  "ExternalSecretRotationMetadata": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/ExternalSecretRotationMetadataItem"
   },
   "type": "array",
   "uniqueItems": false
  },
  "ExternalSecretRotationRoleArn": {
   "format": "AWS::IAM::Role.Arn",
   "type": "string"
  },
  "HostedRotationLambda": {
   "$ref": "#/definitions/HostedRotationLambda"
  },
  "Id": {
   "type": "string"
  },
  "RotateImmediatelyOnUpdate": {
   "type": "boolean"
  },
  "RotationLambdaARN": {
   "type": "string"
  },
  "RotationRules": {
   "$ref": "#/definitions/RotationRules"
  },
  "SecretId": {
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/Id"
 ],
 "required": [
  "SecretId"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-secretsmanager",
 "tagging": {
  "taggable": false
 },
 "typeName": "AWS::SecretsManager::RotationSchedule",
 "writeOnlyProperties": [
  "/properties/RotateImmediatelyOnUpdate",
  "/properties/HostedRotationLambda",
  "/properties/HostedRotationLambda/ExcludeCharacters",
  "/properties/HostedRotationLambda/KmsKeyArn",
  "/properties/HostedRotationLambda/MasterSecretArn",
  "/properties/HostedRotationLambda/MasterSecretKmsKeyArn",
  "/properties/HostedRotationLambda/RotationLambdaName",
  "/properties/HostedRotationLambda/RotationType",
  "/properties/HostedRotationLambda/Runtime",
  "/properties/HostedRotationLambda/SuperuserSecretArn",
  "/properties/HostedRotationLambda/SuperuserSecretKmsKeyArn",
  "/properties/HostedRotationLambda/VpcSecurityGroupIds",
  "/properties/HostedRotationLambda/VpcSubnetIds"
 ]
}
