@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:07.881Z") @Stability(value=Stable) public class CfnRotationSchedule extends CfnResource implements IInspectable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.secretsmanager.*;
CfnRotationSchedule cfnRotationSchedule = CfnRotationSchedule.Builder.create(this, "MyCfnRotationSchedule")
.secretId("secretId")
// the properties below are optional
.hostedRotationLambda(HostedRotationLambdaProperty.builder()
.rotationType("rotationType")
// the properties below are optional
.kmsKeyArn("kmsKeyArn")
.masterSecretArn("masterSecretArn")
.masterSecretKmsKeyArn("masterSecretKmsKeyArn")
.rotationLambdaName("rotationLambdaName")
.superuserSecretArn("superuserSecretArn")
.superuserSecretKmsKeyArn("superuserSecretKmsKeyArn")
.vpcSecurityGroupIds("vpcSecurityGroupIds")
.vpcSubnetIds("vpcSubnetIds")
.build())
.rotationLambdaArn("rotationLambdaArn")
.rotationRules(RotationRulesProperty.builder()
.automaticallyAfterDays(123)
.build())
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnRotationSchedule.Builder
A fluent builder for
CfnRotationSchedule. |
static interface |
CfnRotationSchedule.HostedRotationLambdaProperty
Example:
|
static interface |
CfnRotationSchedule.RotationRulesProperty
Example:
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnRotationSchedule(software.constructs.Construct scope,
String id,
CfnRotationScheduleProps props)
Create a new `AWS::SecretsManager::RotationSchedule`.
|
protected |
CfnRotationSchedule(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnRotationSchedule(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
getCfnProperties() |
Object |
getHostedRotationLambda()
`AWS::SecretsManager::RotationSchedule.HostedRotationLambda`.
|
String |
getRotationLambdaArn()
`AWS::SecretsManager::RotationSchedule.RotationLambdaARN`.
|
Object |
getRotationRules()
`AWS::SecretsManager::RotationSchedule.RotationRules`.
|
String |
getSecretId()
`AWS::SecretsManager::RotationSchedule.SecretId`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setHostedRotationLambda(CfnRotationSchedule.HostedRotationLambdaProperty value)
`AWS::SecretsManager::RotationSchedule.HostedRotationLambda`.
|
void |
setHostedRotationLambda(IResolvable value)
`AWS::SecretsManager::RotationSchedule.HostedRotationLambda`.
|
void |
setRotationLambdaArn(String value)
`AWS::SecretsManager::RotationSchedule.RotationLambdaARN`.
|
void |
setRotationRules(CfnRotationSchedule.RotationRulesProperty value)
`AWS::SecretsManager::RotationSchedule.RotationRules`.
|
void |
setRotationRules(IResolvable value)
`AWS::SecretsManager::RotationSchedule.RotationRules`.
|
void |
setSecretId(String value)
`AWS::SecretsManager::RotationSchedule.SecretId`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnRotationSchedule(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnRotationSchedule(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnRotationSchedule(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnRotationScheduleProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @Nullable public Object getHostedRotationLambda()
@Stability(value=Stable)
public void setHostedRotationLambda(@Nullable
CfnRotationSchedule.HostedRotationLambdaProperty value)
@Stability(value=Stable)
public void setHostedRotationLambda(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getRotationLambdaArn()
@Stability(value=Stable)
public void setRotationLambdaArn(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getRotationRules()
@Stability(value=Stable)
public void setRotationRules(@Nullable
CfnRotationSchedule.RotationRulesProperty value)
@Stability(value=Stable)
public void setRotationRules(@Nullable
IResolvable value)
@Stability(value=Stable) @NotNull public String getSecretId()
@Stability(value=Stable)
public void setSecretId(@NotNull
String value)
Copyright © 2021. All rights reserved.