Show / Hide Table of Contents

Class CfnLifecyclePolicyPropsMixin.CrossRegionCopyActionProperty

[Event-based policies only] Specifies a cross-Region copy action for event-based policies.

Inheritance
object
CfnLifecyclePolicyPropsMixin.CrossRegionCopyActionProperty
Implements
CfnLifecyclePolicyPropsMixin.ICrossRegionCopyActionProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.DLM
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnLifecyclePolicyPropsMixin.CrossRegionCopyActionProperty : CfnLifecyclePolicyPropsMixin.ICrossRegionCopyActionProperty
Syntax (vb)
Public Class CfnLifecyclePolicyPropsMixin.CrossRegionCopyActionProperty Implements CfnLifecyclePolicyPropsMixin.ICrossRegionCopyActionProperty
Remarks
To specify a cross-Region copy rule for snapshot and AMI policies, use <a href="https://docs.aws.amazon.com/dlm/latest/APIReference/API_CrossRegionCopyRule.html">CrossRegionCopyRule</a> .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-crossregioncopyaction.html

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.CfnPropertyMixins.AWS.DLM;

             var crossRegionCopyActionProperty = new CrossRegionCopyActionProperty {
                 EncryptionConfiguration = new EncryptionConfigurationProperty {
                     CmkArn = "cmkArn",
                     Encrypted = false
                 },
                 RetainRule = new CrossRegionCopyRetainRuleProperty {
                     Interval = 123,
                     IntervalUnit = "intervalUnit"
                 },
                 Target = "target"
             };

Synopsis

Constructors

CrossRegionCopyActionProperty()

[Event-based policies only] Specifies a cross-Region copy action for event-based policies.

Properties

EncryptionConfiguration

The encryption settings for the copied snapshot.

RetainRule

Specifies a retention rule for cross-Region snapshot copies created by snapshot or event-based policies, or cross-Region AMI copies created by AMI policies.

Target

The target Region.

Constructors

CrossRegionCopyActionProperty()

[Event-based policies only] Specifies a cross-Region copy action for event-based policies.

public CrossRegionCopyActionProperty()
Remarks
To specify a cross-Region copy rule for snapshot and AMI policies, use <a href="https://docs.aws.amazon.com/dlm/latest/APIReference/API_CrossRegionCopyRule.html">CrossRegionCopyRule</a> .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-crossregioncopyaction.html

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.CfnPropertyMixins.AWS.DLM;

             var crossRegionCopyActionProperty = new CrossRegionCopyActionProperty {
                 EncryptionConfiguration = new EncryptionConfigurationProperty {
                     CmkArn = "cmkArn",
                     Encrypted = false
                 },
                 RetainRule = new CrossRegionCopyRetainRuleProperty {
                     Interval = 123,
                     IntervalUnit = "intervalUnit"
                 },
                 Target = "target"
             };

Properties

EncryptionConfiguration

The encryption settings for the copied snapshot.

public object? EncryptionConfiguration { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-crossregioncopyaction.html#cfn-dlm-lifecyclepolicy-crossregioncopyaction-encryptionconfiguration

Type union: either IResolvable or CfnLifecyclePolicyPropsMixin.IEncryptionConfigurationProperty

RetainRule

Specifies a retention rule for cross-Region snapshot copies created by snapshot or event-based policies, or cross-Region AMI copies created by AMI policies.

public object? RetainRule { get; set; }
Property Value

object

Remarks

After the retention period expires, the cross-Region copy is deleted.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-crossregioncopyaction.html#cfn-dlm-lifecyclepolicy-crossregioncopyaction-retainrule

Type union: either IResolvable or CfnLifecyclePolicyPropsMixin.ICrossRegionCopyRetainRuleProperty

Target

The target Region.

public string? Target { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dlm-lifecyclepolicy-crossregioncopyaction.html#cfn-dlm-lifecyclepolicy-crossregioncopyaction-target

Implements

CfnLifecyclePolicyPropsMixin.ICrossRegionCopyActionProperty
Back to top Generated by DocFX