@Stability(value=Stable) public static final class CfnRotationScheduleProps.Builder extends Object implements software.amazon.jsii.Builder<CfnRotationScheduleProps>
CfnRotationScheduleProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnRotationScheduleProps.Builder secretId(String secretId)
CfnRotationScheduleProps.getSecretId()secretId - The ARN or name of the secret to rotate. This parameter is required.
To reference a secret also created in this template, use the Ref function with the secret's logical ID.this@Stability(value=Stable) public CfnRotationScheduleProps.Builder hostedRotationLambda(CfnRotationSchedule.HostedRotationLambdaProperty hostedRotationLambda)
CfnRotationScheduleProps.getHostedRotationLambda()hostedRotationLambda - To use these values, you must specify `Transform: AWS::SecretsManager-2020-07-23` at the beginning of the CloudFormation template.
When you enter valid values for RotationSchedule.HostedRotationLambda , Secrets Manager launches a Lambda that performs rotation on the secret specified in the secret-id property. The template creates a Lambda as part of a nested stack within the current stack.this@Stability(value=Stable) public CfnRotationScheduleProps.Builder hostedRotationLambda(IResolvable hostedRotationLambda)
CfnRotationScheduleProps.getHostedRotationLambda()hostedRotationLambda - To use these values, you must specify `Transform: AWS::SecretsManager-2020-07-23` at the beginning of the CloudFormation template.
When you enter valid values for RotationSchedule.HostedRotationLambda , Secrets Manager launches a Lambda that performs rotation on the secret specified in the secret-id property. The template creates a Lambda as part of a nested stack within the current stack.this@Stability(value=Stable) public CfnRotationScheduleProps.Builder rotationLambdaArn(String rotationLambdaArn)
CfnRotationScheduleProps.getRotationLambdaArn()rotationLambdaArn - The ARN of the Lambda function that can rotate the secret.
If you don't specify this parameter, then the secret must already have the ARN of a Lambda function configured.
To reference a Lambda function also created in this template, use the Ref function with the function's logical ID.
this@Stability(value=Stable) public CfnRotationScheduleProps.Builder rotationRules(CfnRotationSchedule.RotationRulesProperty rotationRules)
CfnRotationScheduleProps.getRotationRules()rotationRules - A structure that defines the rotation configuration for this secret.this@Stability(value=Stable) public CfnRotationScheduleProps.Builder rotationRules(IResolvable rotationRules)
CfnRotationScheduleProps.getRotationRules()rotationRules - A structure that defines the rotation configuration for this secret.this@Stability(value=Stable) public CfnRotationScheduleProps build()
build in interface software.amazon.jsii.Builder<CfnRotationScheduleProps>CfnRotationSchedulePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.