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.
Using getSnapshotCopyGrant
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 getSnapshotCopyGrant(args: GetSnapshotCopyGrantArgs, opts?: InvokeOptions): Promise<GetSnapshotCopyGrantResult>
function getSnapshotCopyGrantOutput(args: GetSnapshotCopyGrantOutputArgs, opts?: InvokeOutputOptions): Output<GetSnapshotCopyGrantResult>def get_snapshot_copy_grant(arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSnapshotCopyGrantResult
def get_snapshot_copy_grant_output(arn: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetSnapshotCopyGrantResult]func LookupSnapshotCopyGrant(ctx *Context, args *LookupSnapshotCopyGrantArgs, opts ...InvokeOption) (*LookupSnapshotCopyGrantResult, error)
func LookupSnapshotCopyGrantOutput(ctx *Context, args *LookupSnapshotCopyGrantOutputArgs, opts ...InvokeOption) LookupSnapshotCopyGrantResultOutput> Note: This function is named LookupSnapshotCopyGrant in the Go SDK.
public static class GetSnapshotCopyGrant
{
public static Task<GetSnapshotCopyGrantResult> InvokeAsync(GetSnapshotCopyGrantArgs args, InvokeOptions? opts = null)
public static Output<GetSnapshotCopyGrantResult> Invoke(GetSnapshotCopyGrantInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetSnapshotCopyGrantResult> Invoke(GetSnapshotCopyGrantInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetSnapshotCopyGrantResult> getSnapshotCopyGrant(GetSnapshotCopyGrantArgs args, InvokeOptions options)
public static Output<GetSnapshotCopyGrantResult> getSnapshotCopyGrant(GetSnapshotCopyGrantArgs args, InvokeOptions options)
public static Output<GetSnapshotCopyGrantResult> getSnapshotCopyGrant(GetSnapshotCopyGrantArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:redshift:getSnapshotCopyGrant
arguments:
# arguments dictionarydata "aws-native_redshift_get_snapshot_copy_grant" "name" {
# arguments
}The following arguments are supported:
- Arn string
- The Amazon Resource Name (ARN) of the snapshot copy grant.
- Arn string
- The Amazon Resource Name (ARN) of the snapshot copy grant.
- arn string
- The Amazon Resource Name (ARN) of the snapshot copy grant.
- arn String
- The Amazon Resource Name (ARN) of the snapshot copy grant.
- arn string
- The Amazon Resource Name (ARN) of the snapshot copy grant.
- arn str
- The Amazon Resource Name (ARN) of the snapshot copy grant.
- arn String
- The Amazon Resource Name (ARN) of the snapshot copy grant.
getSnapshotCopyGrant Result
The following output properties are available:
- Arn string
- The Amazon Resource Name (ARN) of the snapshot copy grant.
-
List<Pulumi.
Aws Native. Outputs. Tag> - A list of tag instances.
- arn string
- The Amazon Resource Name (ARN) of the snapshot copy grant.
- list(object)
- A list of tag instances.
- arn str
- The Amazon Resource Name (ARN) of the snapshot copy grant.
- Sequence[root_Tag]
- A list of tag instances.
- arn String
- The Amazon Resource Name (ARN) of the snapshot copy grant.
- List<Property Map>
- A list of tag instances.
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.
published on Monday, Sep 28, 2026 by Pulumi