Class CfnLifecyclePolicy.ShareRuleProperty
[Snapshot policies only] Specifies a rule for sharing snapshots across AWS accounts .
Inheritance
System.Object
CfnLifecyclePolicy.ShareRuleProperty
Implements
Namespace: Amazon.CDK.AWS.DLM
Assembly: Amazon.CDK.AWS.DLM.dll
Syntax (csharp)
public class ShareRuleProperty : Object, CfnLifecyclePolicy.IShareRuleProperty
Syntax (vb)
Public Class ShareRuleProperty
Inherits Object
Implements CfnLifecyclePolicy.IShareRuleProperty
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.DLM;
var shareRuleProperty = new ShareRuleProperty {
TargetAccounts = new [] { "targetAccounts" },
UnshareInterval = 123,
UnshareIntervalUnit = "unshareIntervalUnit"
};
Synopsis
Constructors
ShareRuleProperty() |
Properties
TargetAccounts | The IDs of the AWS accounts with which to share the snapshots. |
UnshareInterval | The period after which snapshots that are shared with other AWS accounts are automatically unshared. |
UnshareIntervalUnit | The unit of time for the automatic unsharing interval. |
Constructors
ShareRuleProperty()
public ShareRuleProperty()
Properties
TargetAccounts
The IDs of the AWS accounts with which to share the snapshots.
public string[] TargetAccounts { get; set; }
Property Value
System.String[]
Remarks
UnshareInterval
The period after which snapshots that are shared with other AWS accounts are automatically unshared.
public Nullable<double> UnshareInterval { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
UnshareIntervalUnit
The unit of time for the automatic unsharing interval.
public string UnshareIntervalUnit { get; set; }
Property Value
System.String