Class BackupSelection
A backup selection.
Inherited Members
Namespace: Amazon.CDK.AWS.Backup
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class BackupSelection : Resource, IResource, IGrantable
Syntax (vb)
Public Class BackupSelection
Inherits Resource
Implements IResource, IGrantable
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.Backup;
using Amazon.CDK.AWS.IAM;
BackupPlan backupPlan;
BackupResource backupResource;
Role role;
var backupSelection = new BackupSelection(this, "MyBackupSelection", new BackupSelectionProps {
BackupPlan = backupPlan,
Resources = new [] { backupResource },
// the properties below are optional
AllowRestores = false,
BackupSelectionName = "backupSelectionName",
DisableDefaultBackupPolicy = false,
Role = role
});
Synopsis
Constructors
BackupSelection(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
BackupSelection(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
BackupSelection(Construct, String, IBackupSelectionProps) |
Properties
BackupPlanId | The identifier of the backup plan. |
GrantPrincipal | The principal to grant permissions to. |
SelectionId | The identifier of the backup selection. |
Constructors
BackupSelection(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected BackupSelection(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
BackupSelection(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected BackupSelection(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
BackupSelection(Construct, String, IBackupSelectionProps)
public BackupSelection(Construct scope, string id, IBackupSelectionProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props IBackupSelectionProps
Properties
BackupPlanId
The identifier of the backup plan.
public virtual string BackupPlanId { get; }
Property Value
System.String
Remarks
Attribute: true
GrantPrincipal
The principal to grant permissions to.
public virtual IPrincipal GrantPrincipal { get; }
Property Value
SelectionId
The identifier of the backup selection.
public virtual string SelectionId { get; }
Property Value
System.String
Remarks
Attribute: true
Implements
Constructs.IConstruct
Constructs.IDependable