Class CfnLifecyclePolicyProps
Properties for defining a CfnLifecyclePolicy
.
Inheritance
System.Object
CfnLifecyclePolicyProps
Implements
Namespace: Amazon.CDK.AWS.OpenSearchServerless
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnLifecyclePolicyProps : Object, ICfnLifecyclePolicyProps
Syntax (vb)
Public Class CfnLifecyclePolicyProps
Inherits Object
Implements ICfnLifecyclePolicyProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.OpenSearchServerless;
var cfnLifecyclePolicyProps = new CfnLifecyclePolicyProps {
Name = "name",
Policy = "policy",
Type = "type",
// the properties below are optional
Description = "description"
};
Synopsis
Constructors
CfnLifecyclePolicyProps() |
Properties
Description | The description of the lifecycle policy. |
Name | The name of the lifecycle policy. |
Policy | The JSON policy document without any whitespaces. |
Type | The type of lifecycle policy. |
Constructors
CfnLifecyclePolicyProps()
public CfnLifecyclePolicyProps()
Properties
Description
The description of the lifecycle policy.
public string Description { get; set; }
Property Value
System.String
Remarks
Name
The name of the lifecycle policy.
public string Name { get; set; }
Property Value
System.String
Remarks
Policy
The JSON policy document without any whitespaces.
public string Policy { get; set; }
Property Value
System.String
Remarks
Type
The type of lifecycle policy.
public string Type { get; set; }
Property Value
System.String