RotationScheduleArgs

data class RotationScheduleArgs(val hostedRotationLambda: Output<RotationScheduleHostedRotationLambdaArgs>? = null, val rotateImmediatelyOnUpdate: Output<Boolean>? = null, val rotationLambdaArn: Output<String>? = null, val rotationRules: Output<RotationScheduleRotationRulesArgs>? = null, val secretId: Output<String>? = null) : ConvertibleToJava<RotationScheduleArgs>

Resource Type definition for AWS::SecretsManager::RotationSchedule

Constructors

Link copied to clipboard
constructor(hostedRotationLambda: Output<RotationScheduleHostedRotationLambdaArgs>? = null, rotateImmediatelyOnUpdate: Output<Boolean>? = null, rotationLambdaArn: Output<String>? = null, rotationRules: Output<RotationScheduleRotationRulesArgs>? = null, secretId: Output<String>? = null)

Properties

Link copied to clipboard

Creates a new Lambda rotation function based on one of the Secrets Manager rotation function templates. To use a rotation function that already exists, specify RotationLambdaARN instead.

Link copied to clipboard
val rotateImmediatelyOnUpdate: Output<Boolean>? = null

Specifies whether to rotate the secret immediately or wait until the next scheduled rotation window.

Link copied to clipboard
val rotationLambdaArn: Output<String>? = null

The ARN of an existing Lambda rotation function. To specify a rotation function that is also defined in this template, use the Ref function.

Link copied to clipboard

A structure that defines the rotation configuration for this secret.

Link copied to clipboard
val secretId: Output<String>? = null

The ARN or name of the secret to rotate.

Functions

Link copied to clipboard
open override fun toJava(): RotationScheduleArgs