We recommend new projects start with resources from the AWS provider.
aws-native.redshiftserverless.Snapshot
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::RedshiftServerless::Snapshot Resource Type.
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: Optional[SnapshotArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Snapshot(resource_name: str,
opts: Optional[ResourceOptions] = None,
namespace_name: Optional[str] = None,
retention_period: Optional[int] = None,
snapshot_name: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.CreateOnlyTagArgs]] = None)
func NewSnapshot(ctx *Context, name string, args *SnapshotArgs, opts ...ResourceOption) (*Snapshot, error)
public Snapshot(string name, SnapshotArgs? args = null, CustomResourceOptions? opts = null)
public Snapshot(String name, SnapshotArgs args)
public Snapshot(String name, SnapshotArgs args, CustomResourceOptions options)
type: aws-native:redshiftserverless:Snapshot
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
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:
- Namespace
Name string - The namespace the snapshot is associated with.
- Retention
Period int - The retention period of the snapshot.
- Snapshot
Name string - The name of the snapshot.
- List<Pulumi.
Aws Native. Inputs. Create Only Tag> - An array of key-value pairs to apply to this resource.
- Namespace
Name string - The namespace the snapshot is associated with.
- Retention
Period int - The retention period of the snapshot.
- Snapshot
Name string - The name of the snapshot.
- Create
Only Tag Args - An array of key-value pairs to apply to this resource.
- namespace
Name String - The namespace the snapshot is associated with.
- retention
Period Integer - The retention period of the snapshot.
- snapshot
Name String - The name of the snapshot.
- List<Create
Only Tag> - An array of key-value pairs to apply to this resource.
- namespace
Name string - The namespace the snapshot is associated with.
- retention
Period number - The retention period of the snapshot.
- snapshot
Name string - The name of the snapshot.
- Create
Only Tag[] - An array of key-value pairs to apply to this resource.
- namespace_
name str - The namespace the snapshot is associated with.
- retention_
period int - The retention period of the snapshot.
- snapshot_
name str - The name of the snapshot.
- Sequence[Create
Only Tag Args] - An array of key-value pairs to apply to this resource.
- namespace
Name String - The namespace the snapshot is associated with.
- retention
Period Number - The retention period of the snapshot.
- snapshot
Name String - The name of the snapshot.
- List<Property Map>
- An array of key-value pairs to apply to this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the Snapshot resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Owner
Account string - The owner account of the snapshot.
- Snapshot
Value Pulumi.Aws Native. Redshift Serverless. Outputs. Snapshot - Definition for snapshot resource
- Id string
- The provider-assigned unique ID for this managed resource.
- Owner
Account string - The owner account of the snapshot.
- Snapshot
Snapshot
Type - Definition for snapshot resource
- id String
- The provider-assigned unique ID for this managed resource.
- owner
Account String - The owner account of the snapshot.
- snapshot Snapshot
- Definition for snapshot resource
- id string
- The provider-assigned unique ID for this managed resource.
- owner
Account string - The owner account of the snapshot.
- snapshot Snapshot
- Definition for snapshot resource
- id str
- The provider-assigned unique ID for this managed resource.
- owner_
account str - The owner account of the snapshot.
- snapshot Snapshot
- Definition for snapshot resource
- id String
- The provider-assigned unique ID for this managed resource.
- owner
Account String - The owner account of the snapshot.
- snapshot Property Map
- Definition for snapshot resource
Supporting Types
CreateOnlyTag, CreateOnlyTagArgs
Snapshot, SnapshotArgs
- Admin
Username string - The username of the database within a snapshot.
- Kms
Key stringId - The unique identifier of the KMS key used to encrypt the snapshot.
- Namespace
Arn string - The Amazon Resource Name (ARN) of the namespace the snapshot was created from.
- Namespace
Name string - The name of the namepsace.
- Owner
Account string - The owner AWS ; account of the snapshot.
- Retention
Period int - Snapshot
Arn string - The Amazon Resource Name (ARN) of the snapshot.
- Snapshot
Create stringTime - The timestamp of when the snapshot was created.
- Snapshot
Name string - The name of the snapshot.
- Status
Pulumi.
Aws Native. Redshift Serverless. Snapshot Status - The status of the snapshot.
- Admin
Username string - The username of the database within a snapshot.
- Kms
Key stringId - The unique identifier of the KMS key used to encrypt the snapshot.
- Namespace
Arn string - The Amazon Resource Name (ARN) of the namespace the snapshot was created from.
- Namespace
Name string - The name of the namepsace.
- Owner
Account string - The owner AWS ; account of the snapshot.
- Retention
Period int - Snapshot
Arn string - The Amazon Resource Name (ARN) of the snapshot.
- Snapshot
Create stringTime - The timestamp of when the snapshot was created.
- Snapshot
Name string - The name of the snapshot.
- Status
Snapshot
Status - The status of the snapshot.
- admin
Username String - The username of the database within a snapshot.
- kms
Key StringId - The unique identifier of the KMS key used to encrypt the snapshot.
- namespace
Arn String - The Amazon Resource Name (ARN) of the namespace the snapshot was created from.
- namespace
Name String - The name of the namepsace.
- owner
Account String - The owner AWS ; account of the snapshot.
- retention
Period Integer - snapshot
Arn String - The Amazon Resource Name (ARN) of the snapshot.
- snapshot
Create StringTime - The timestamp of when the snapshot was created.
- snapshot
Name String - The name of the snapshot.
- status
Snapshot
Status - The status of the snapshot.
- admin
Username string - The username of the database within a snapshot.
- kms
Key stringId - The unique identifier of the KMS key used to encrypt the snapshot.
- namespace
Arn string - The Amazon Resource Name (ARN) of the namespace the snapshot was created from.
- namespace
Name string - The name of the namepsace.
- owner
Account string - The owner AWS ; account of the snapshot.
- retention
Period number - snapshot
Arn string - The Amazon Resource Name (ARN) of the snapshot.
- snapshot
Create stringTime - The timestamp of when the snapshot was created.
- snapshot
Name string - The name of the snapshot.
- status
Snapshot
Status - The status of the snapshot.
- admin_
username str - The username of the database within a snapshot.
- kms_
key_ strid - The unique identifier of the KMS key used to encrypt the snapshot.
- namespace_
arn str - The Amazon Resource Name (ARN) of the namespace the snapshot was created from.
- namespace_
name str - The name of the namepsace.
- owner_
account str - The owner AWS ; account of the snapshot.
- retention_
period int - snapshot_
arn str - The Amazon Resource Name (ARN) of the snapshot.
- snapshot_
create_ strtime - The timestamp of when the snapshot was created.
- snapshot_
name str - The name of the snapshot.
- status
Snapshot
Status - The status of the snapshot.
- admin
Username String - The username of the database within a snapshot.
- kms
Key StringId - The unique identifier of the KMS key used to encrypt the snapshot.
- namespace
Arn String - The Amazon Resource Name (ARN) of the namespace the snapshot was created from.
- namespace
Name String - The name of the namepsace.
- owner
Account String - The owner AWS ; account of the snapshot.
- retention
Period Number - snapshot
Arn String - The Amazon Resource Name (ARN) of the snapshot.
- snapshot
Create StringTime - The timestamp of when the snapshot was created.
- snapshot
Name String - The name of the snapshot.
- status "AVAILABLE" | "CREATING" | "DELETED" | "CANCELLED" | "FAILED" | "COPYING"
- The status of the snapshot.
SnapshotStatus, SnapshotStatusArgs
- Available
- AVAILABLE
- Creating
- CREATING
- Deleted
- DELETED
- Cancelled
- CANCELLED
- Failed
- FAILED
- Copying
- COPYING
- Snapshot
Status Available - AVAILABLE
- Snapshot
Status Creating - CREATING
- Snapshot
Status Deleted - DELETED
- Snapshot
Status Cancelled - CANCELLED
- Snapshot
Status Failed - FAILED
- Snapshot
Status Copying - COPYING
- Available
- AVAILABLE
- Creating
- CREATING
- Deleted
- DELETED
- Cancelled
- CANCELLED
- Failed
- FAILED
- Copying
- COPYING
- Available
- AVAILABLE
- Creating
- CREATING
- Deleted
- DELETED
- Cancelled
- CANCELLED
- Failed
- FAILED
- Copying
- COPYING
- AVAILABLE
- AVAILABLE
- CREATING
- CREATING
- DELETED
- DELETED
- CANCELLED
- CANCELLED
- FAILED
- FAILED
- COPYING
- COPYING
- "AVAILABLE"
- AVAILABLE
- "CREATING"
- CREATING
- "DELETED"
- DELETED
- "CANCELLED"
- CANCELLED
- "FAILED"
- FAILED
- "COPYING"
- COPYING
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.