We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
published on Wednesday, Nov 18, 2026 by Pulumi
Resource Type definition for AWS::FSx::Snapshot
Using getSnapshot
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSnapshot(args: GetSnapshotArgs, opts?: InvokeOptions): Promise<GetSnapshotResult>
function getSnapshotOutput(args: GetSnapshotOutputArgs, opts?: InvokeOutputOptions): Output<GetSnapshotResult>def get_snapshot(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSnapshotResult
def get_snapshot_output(id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetSnapshotResult]func LookupSnapshot(ctx *Context, args *LookupSnapshotArgs, opts ...InvokeOption) (*LookupSnapshotResult, error)
func LookupSnapshotOutput(ctx *Context, args *LookupSnapshotOutputArgs, opts ...InvokeOption) LookupSnapshotResultOutput> Note: This function is named LookupSnapshot in the Go SDK.
public static class GetSnapshot
{
public static Task<GetSnapshotResult> InvokeAsync(GetSnapshotArgs args, InvokeOptions? opts = null)
public static Output<GetSnapshotResult> Invoke(GetSnapshotInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetSnapshotResult> Invoke(GetSnapshotInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetSnapshotResult> getSnapshot(GetSnapshotArgs args, InvokeOptions options)
public static Output<GetSnapshotResult> getSnapshot(GetSnapshotArgs args, InvokeOptions options)
public static Output<GetSnapshotResult> getSnapshot(GetSnapshotArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:fsx:getSnapshot
arguments:
# arguments dictionarydata "aws-native_fsx_get_snapshot" "name" {
# arguments
}The following arguments are supported:
- Id string
- The ID of the snapshot.
- Id string
- The ID of the snapshot.
- id string
- The ID of the snapshot.
- id String
- The ID of the snapshot.
- id string
- The ID of the snapshot.
- id str
- The ID of the snapshot.
- id String
- The ID of the snapshot.
getSnapshot Result
The following output properties are available:
- Id string
- The ID of the snapshot.
- Name string
- The name of the snapshot.
- Resource
Arn string - Returns the snapshot's Amazon Resource Name (ARN).
-
List<Pulumi.
Aws Native. Outputs. Tag> - A list of Tag values, with a maximum of 50 elements.
- Id string
- The ID of the snapshot.
- Name string
- The name of the snapshot.
- Resource
Arn string - Returns the snapshot's Amazon Resource Name (ARN).
- Tag
- A list of Tag values, with a maximum of 50 elements.
- id string
- The ID of the snapshot.
- name string
- The name of the snapshot.
- resource_
arn string - Returns the snapshot's Amazon Resource Name (ARN).
- list(object)
- A list of Tag values, with a maximum of 50 elements.
- id String
- The ID of the snapshot.
- name String
- The name of the snapshot.
- resource
Arn String - Returns the snapshot's Amazon Resource Name (ARN).
- List<Tag>
- A list of Tag values, with a maximum of 50 elements.
- id string
- The ID of the snapshot.
- name string
- The name of the snapshot.
- resource
Arn string - Returns the snapshot's Amazon Resource Name (ARN).
- Tag[]
- A list of Tag values, with a maximum of 50 elements.
- id str
- The ID of the snapshot.
- name str
- The name of the snapshot.
- resource_
arn str - Returns the snapshot's Amazon Resource Name (ARN).
- Sequence[root_Tag]
- A list of Tag values, with a maximum of 50 elements.
- id String
- The ID of the snapshot.
- name String
- The name of the snapshot.
- resource
Arn String - Returns the snapshot's Amazon Resource Name (ARN).
- List<Property Map>
- A list of Tag values, with a maximum of 50 elements.
Supporting Types
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
published on Wednesday, Nov 18, 2026 by Pulumi