Class GetSelection
Inheritance
System.Object
GetSelection
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Backup
Assembly: Pulumi.Aws.dll
Syntax
public static class GetSelection
Methods
View SourceInvokeAsync(GetSelectionArgs, InvokeOptions)
Use this data source to get information on an existing backup selection.
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var example = Output.Create(Aws.Backup.GetSelection.InvokeAsync(new Aws.Backup.GetSelectionArgs
{
PlanId = data.Aws_backup_plan.Example.Id,
SelectionId = "selection-id-example",
}));
}
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetSelectionResult> InvokeAsync(GetSelectionArgs args, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetSelectionArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetSelectionResult> |