We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 28, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 28, 2026 by Pulumi
Creates a snapshot copy grant that permits Amazon Redshift to use an encrypted symmetric key from AWS Key Management Service (KMS) to encrypt copied snapshots in a destination region.
Create SnapshotCopyGrant Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SnapshotCopyGrant(name: string, args?: SnapshotCopyGrantArgs, opts?: CustomResourceOptions);@overload
def SnapshotCopyGrant(resource_name: str,
args: Optional[SnapshotCopyGrantArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def SnapshotCopyGrant(resource_name: str,
opts: Optional[ResourceOptions] = None,
kms_key_id: Optional[str] = None,
snapshot_copy_grant_name: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewSnapshotCopyGrant(ctx *Context, name string, args *SnapshotCopyGrantArgs, opts ...ResourceOption) (*SnapshotCopyGrant, error)public SnapshotCopyGrant(string name, SnapshotCopyGrantArgs? args = null, CustomResourceOptions? opts = null)
public SnapshotCopyGrant(String name, SnapshotCopyGrantArgs args)
public SnapshotCopyGrant(String name, SnapshotCopyGrantArgs args, CustomResourceOptions options)
type: aws-native:redshift:SnapshotCopyGrant
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_redshift_snapshot_copy_grant" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args SnapshotCopyGrantArgs
- 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 SnapshotCopyGrantArgs
- 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 SnapshotCopyGrantArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SnapshotCopyGrantArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SnapshotCopyGrantArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
SnapshotCopyGrant 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 SnapshotCopyGrant resource accepts the following input properties:
- Kms
Key stringId - The unique identifier of the encrypted symmetric key to which to grant Amazon Redshift permission. If no key is specified, the default key is used. Marked writeOnly because Create accepts aliases/key-ids but Describe returns the resolved key ARN, which would fail drift detection.
- Snapshot
Copy stringGrant Name - The name of the snapshot copy grant. This name must be unique in the region for the AWS account.
-
List<Pulumi.
Aws Native. Inputs. Tag> - A list of tag instances.
- Kms
Key stringId - The unique identifier of the encrypted symmetric key to which to grant Amazon Redshift permission. If no key is specified, the default key is used. Marked writeOnly because Create accepts aliases/key-ids but Describe returns the resolved key ARN, which would fail drift detection.
- Snapshot
Copy stringGrant Name - The name of the snapshot copy grant. This name must be unique in the region for the AWS account.
-
Tag
Args - A list of tag instances.
- kms_
key_ stringid - The unique identifier of the encrypted symmetric key to which to grant Amazon Redshift permission. If no key is specified, the default key is used. Marked writeOnly because Create accepts aliases/key-ids but Describe returns the resolved key ARN, which would fail drift detection.
- snapshot_
copy_ stringgrant_ name - The name of the snapshot copy grant. This name must be unique in the region for the AWS account.
- list(object)
- A list of tag instances.
- kms
Key StringId - The unique identifier of the encrypted symmetric key to which to grant Amazon Redshift permission. If no key is specified, the default key is used. Marked writeOnly because Create accepts aliases/key-ids but Describe returns the resolved key ARN, which would fail drift detection.
- snapshot
Copy StringGrant Name - The name of the snapshot copy grant. This name must be unique in the region for the AWS account.
- List<Tag>
- A list of tag instances.
- kms
Key stringId - The unique identifier of the encrypted symmetric key to which to grant Amazon Redshift permission. If no key is specified, the default key is used. Marked writeOnly because Create accepts aliases/key-ids but Describe returns the resolved key ARN, which would fail drift detection.
- snapshot
Copy stringGrant Name - The name of the snapshot copy grant. This name must be unique in the region for the AWS account.
- Tag[]
- A list of tag instances.
- kms_
key_ strid - The unique identifier of the encrypted symmetric key to which to grant Amazon Redshift permission. If no key is specified, the default key is used. Marked writeOnly because Create accepts aliases/key-ids but Describe returns the resolved key ARN, which would fail drift detection.
- snapshot_
copy_ strgrant_ name - The name of the snapshot copy grant. This name must be unique in the region for the AWS account.
-
Sequence[Tag
Args] - A list of tag instances.
- kms
Key StringId - The unique identifier of the encrypted symmetric key to which to grant Amazon Redshift permission. If no key is specified, the default key is used. Marked writeOnly because Create accepts aliases/key-ids but Describe returns the resolved key ARN, which would fail drift detection.
- snapshot
Copy StringGrant Name - The name of the snapshot copy grant. This name must be unique in the region for the AWS account.
- List<Property Map>
- A list of tag instances.
Outputs
All input properties are implicitly available as output properties. Additionally, the SnapshotCopyGrant resource produces the following output properties:
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 Monday, Sep 28, 2026 by Pulumi