AWS Fundamentals Logo
AWS Fundamentals
AWS::SecretsManager::RotationSchedule

SecretsManager RotationSchedule

Resource Type definition for AWS::SecretsManager::RotationSchedule

Properties

7 configurable properties. 1 required. Click a row to see details.

Filter:
PropertyTypeFlags
SecretId
string
RequiredCreate-only
ExternalSecretRotationMetadata
Array<ExternalSecretRotationMetadataItem>
ExternalSecretRotationRoleArn
string
HostedRotationLambda
HostedRotationLambda
Write-only
RotateImmediatelyOnUpdate
boolean
Write-only
RotationLambdaARN
string
RotationRules
RotationRules

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
IdstringThe ARN of the secret.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::SecretsManager::RotationSchedule

Resources:
  MyResource:
    Type: AWS::SecretsManager::RotationSchedule
    Properties:
      SecretId: "my-secretid"

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

read

secretsmanager:DescribeSecret

create

secretsmanager:RotateSecretsecretsmanager:DescribeSecretlambda:InvokeFunctioniam:PassRole

update

secretsmanager:RotateSecretsecretsmanager:DescribeSecretlambda:InvokeFunctioniam:PassRole

list

secretsmanager:DescribeSecretsecretsmanager:ListSecrets

delete

secretsmanager:CancelRotateSecretsecretsmanager:DescribeSecret

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceSecretsManager
Properties8
Required1
TaggingNot supported
Primary IDId

Supported Operations

ReadCreateUpdateListDelete

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

SecretId

External Links