AWS::SecretsManager::RotationScheduleResource Type definition for AWS::SecretsManager::RotationSchedule
7 configurable properties. 1 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
SecretId | string | RequiredCreate-only |
ExternalSecretRotationMetadata | Array<ExternalSecretRotationMetadataItem> | |
ExternalSecretRotationRoleArn | string | |
HostedRotationLambda | HostedRotationLambda | Write-only |
RotateImmediatelyOnUpdate | boolean | Write-only |
RotationLambdaARN | string | |
RotationRules | RotationRules |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Id | string | The ARN of the secret. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::SecretsManager::RotationSchedule
Resources:
MyResource:
Type: AWS::SecretsManager::RotationSchedule
Properties:
SecretId: "my-secretid"Permissions CloudFormation needs in your IAM role to manage this resource.
secretsmanager:DescribeSecretsecretsmanager:RotateSecretsecretsmanager:DescribeSecretlambda:InvokeFunctioniam:PassRolesecretsmanager:RotateSecretsecretsmanager:DescribeSecretlambda:InvokeFunctioniam:PassRolesecretsmanager:DescribeSecretsecretsmanager:ListSecretssecretsmanager:CancelRotateSecretsecretsmanager:DescribeSecretOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterIdThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
SecretId