We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
Resource Type definition for AWS::FSx::Snapshot
Create Snapshot Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Snapshot(name: string, args: SnapshotArgs, opts?: CustomResourceOptions);@overload
def Snapshot(resource_name: str,
args: SnapshotArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Snapshot(resource_name: str,
opts: Optional[ResourceOptions] = None,
volume_id: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewSnapshot(ctx *Context, name string, args SnapshotArgs, opts ...ResourceOption) (*Snapshot, error)public Snapshot(string name, SnapshotArgs args, CustomResourceOptions? opts = null)
public Snapshot(String name, SnapshotArgs args)
public Snapshot(String name, SnapshotArgs args, CustomResourceOptions options)
type: aws-native:fsx:Snapshot
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_fsx_snapshot" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args SnapshotArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SnapshotArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SnapshotArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SnapshotArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SnapshotArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Snapshot Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Snapshot resource accepts the following input properties:
- Volume
Id string - The ID of the volume that the snapshot is of.
- Name string
- The name of the snapshot.
-
List<Pulumi.
Aws Native. Inputs. Tag> - A list of Tag values, with a maximum of 50 elements.
- volume_
id string - The ID of the volume that the snapshot is of.
- name string
- The name of the snapshot.
- list(object)
- A list of Tag values, with a maximum of 50 elements.
- volume_
id str - The ID of the volume that the snapshot is of.
- name str
- The name of the snapshot.
-
Sequence[Tag
Args] - A list of Tag values, with a maximum of 50 elements.
- volume
Id String - The ID of the volume that the snapshot is of.
- name String
- The name of the snapshot.
- List<Property Map>
- A list of Tag values, with a maximum of 50 elements.
Outputs
All input properties are implicitly available as output properties. Additionally, the Snapshot resource produces the following output properties:
- Aws
Id string - The ID of the snapshot.
- Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Arn string - Returns the snapshot's Amazon Resource Name (ARN).
- Aws
Id string - The ID of the snapshot.
- Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Arn string - Returns the snapshot's Amazon Resource Name (ARN).
- aws_
id string - The ID of the snapshot.
- id string
- The provider-assigned unique ID for this managed resource.
- resource_
arn string - Returns the snapshot's Amazon Resource Name (ARN).
- aws
Id String - The ID of the snapshot.
- id String
- The provider-assigned unique ID for this managed resource.
- resource
Arn String - Returns the snapshot's Amazon Resource Name (ARN).
- aws
Id string - The ID of the snapshot.
- id string
- The provider-assigned unique ID for this managed resource.
- resource
Arn string - Returns the snapshot's Amazon Resource Name (ARN).
- aws_
id str - The ID of the snapshot.
- id str
- The provider-assigned unique ID for this managed resource.
- resource_
arn str - Returns the snapshot's Amazon Resource Name (ARN).
- aws
Id String - The ID of the snapshot.
- id String
- The provider-assigned unique ID for this managed resource.
- resource
Arn String - Returns the snapshot's Amazon Resource Name (ARN).
Look up Existing Snapshot Resource
Get an existing Snapshot resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): Snapshot@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> Snapshotfunc GetSnapshot(ctx *Context, name string, id IDInput, state *SnapshotState, opts ...ResourceOption) (*Snapshot, error)public static Snapshot Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static Snapshot get(String name, Output<String> id, CustomResourceOptions options)resources: existingSnapshot: type: aws-native:fsx:Snapshot get: id: ${id}import {
to = aws-native_fsx_snapshot.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state SnapshotState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
Tag, TagArgs
A set of tags to apply to the resource.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi