@Stability(value=Stable) public static final class CfnLifecyclePolicy.Builder extends Object implements software.amazon.jsii.Builder<CfnLifecyclePolicy>
CfnLifecyclePolicy.| Modifier and Type | Method and Description |
|---|---|
CfnLifecyclePolicy |
build() |
static CfnLifecyclePolicy.Builder |
create(software.constructs.Construct scope,
String id) |
CfnLifecyclePolicy.Builder |
description(String description)
A description of the lifecycle policy.
|
CfnLifecyclePolicy.Builder |
executionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.
|
CfnLifecyclePolicy.Builder |
policyDetails(CfnLifecyclePolicy.PolicyDetailsProperty policyDetails)
The configuration details of the lifecycle policy.
|
CfnLifecyclePolicy.Builder |
policyDetails(IResolvable policyDetails)
The configuration details of the lifecycle policy.
|
CfnLifecyclePolicy.Builder |
state(String state)
The activation state of the lifecycle policy.
|
CfnLifecyclePolicy.Builder |
tags(List<? extends CfnTag> tags)
The tags to apply to the lifecycle policy during creation.
|
@Stability(value=Stable) public static CfnLifecyclePolicy.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnLifecyclePolicy.ActionProperty.Builder.@Stability(value=Stable) public CfnLifecyclePolicy.Builder description(String description)
The characters ^[0-9A-Za-z _-]+$ are supported.
description - A description of the lifecycle policy. This parameter is required.this@Stability(value=Stable) public CfnLifecyclePolicy.Builder executionRoleArn(String executionRoleArn)
executionRoleArn - The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy. This parameter is required.this@Stability(value=Stable) public CfnLifecyclePolicy.Builder policyDetails(CfnLifecyclePolicy.PolicyDetailsProperty policyDetails)
policyDetails - The configuration details of the lifecycle policy. This parameter is required.this@Stability(value=Stable) public CfnLifecyclePolicy.Builder policyDetails(IResolvable policyDetails)
policyDetails - The configuration details of the lifecycle policy. This parameter is required.this@Stability(value=Stable) public CfnLifecyclePolicy.Builder state(String state)
state - The activation state of the lifecycle policy. This parameter is required.this@Stability(value=Stable) public CfnLifecyclePolicy.Builder tags(List<? extends CfnTag> tags)
tags - The tags to apply to the lifecycle policy during creation. This parameter is required.this@Stability(value=Stable) public CfnLifecyclePolicy build()
build in interface software.amazon.jsii.Builder<CfnLifecyclePolicy>Copyright © 2022. All rights reserved.