We recommend new projects start with resources from the AWS provider.
aws-native.redshift.getCluster
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
An example resource schema demonstrating some basic constructs and validation rules.
Using getCluster
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 getCluster(args: GetClusterArgs, opts?: InvokeOptions): Promise<GetClusterResult>
function getClusterOutput(args: GetClusterOutputArgs, opts?: InvokeOptions): Output<GetClusterResult>
def get_cluster(cluster_identifier: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetClusterResult
def get_cluster_output(cluster_identifier: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetClusterResult]
func LookupCluster(ctx *Context, args *LookupClusterArgs, opts ...InvokeOption) (*LookupClusterResult, error)
func LookupClusterOutput(ctx *Context, args *LookupClusterOutputArgs, opts ...InvokeOption) LookupClusterResultOutput
> Note: This function is named LookupCluster
in the Go SDK.
public static class GetCluster
{
public static Task<GetClusterResult> InvokeAsync(GetClusterArgs args, InvokeOptions? opts = null)
public static Output<GetClusterResult> Invoke(GetClusterInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetClusterResult> getCluster(GetClusterArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:redshift:getCluster
arguments:
# arguments dictionary
The following arguments are supported:
- Cluster
Identifier string - A unique identifier for the cluster. You use this identifier to refer to the cluster for any subsequent cluster operations such as deleting or modifying. All alphabetical characters must be lower case, no hypens at the end, no two consecutive hyphens. Cluster name should be unique for all clusters within an AWS account
- Cluster
Identifier string - A unique identifier for the cluster. You use this identifier to refer to the cluster for any subsequent cluster operations such as deleting or modifying. All alphabetical characters must be lower case, no hypens at the end, no two consecutive hyphens. Cluster name should be unique for all clusters within an AWS account
- cluster
Identifier String - A unique identifier for the cluster. You use this identifier to refer to the cluster for any subsequent cluster operations such as deleting or modifying. All alphabetical characters must be lower case, no hypens at the end, no two consecutive hyphens. Cluster name should be unique for all clusters within an AWS account
- cluster
Identifier string - A unique identifier for the cluster. You use this identifier to refer to the cluster for any subsequent cluster operations such as deleting or modifying. All alphabetical characters must be lower case, no hypens at the end, no two consecutive hyphens. Cluster name should be unique for all clusters within an AWS account
- cluster_
identifier str - A unique identifier for the cluster. You use this identifier to refer to the cluster for any subsequent cluster operations such as deleting or modifying. All alphabetical characters must be lower case, no hypens at the end, no two consecutive hyphens. Cluster name should be unique for all clusters within an AWS account
- cluster
Identifier String - A unique identifier for the cluster. You use this identifier to refer to the cluster for any subsequent cluster operations such as deleting or modifying. All alphabetical characters must be lower case, no hypens at the end, no two consecutive hyphens. Cluster name should be unique for all clusters within an AWS account
getCluster Result
The following output properties are available:
- Allow
Version boolUpgrade - Major version upgrades can be applied during the maintenance window to the Amazon Redshift engine that is running on the cluster. Default value is True
- Aqua
Configuration stringStatus The value represents how the cluster is configured to use AQUA (Advanced Query Accelerator) after the cluster is restored. Possible values include the following.
enabled - Use AQUA if it is available for the current Region and Amazon Redshift node type. disabled - Don't use AQUA. auto - Amazon Redshift determines whether to use AQUA.
- Automated
Snapshot intRetention Period - The number of days that automated snapshots are retained. If the value is 0, automated snapshots are disabled. Default value is 1
- Availability
Zone string - The EC2 Availability Zone (AZ) in which you want Amazon Redshift to provision the cluster. Default: A random, system-chosen Availability Zone in the region that is specified by the endpoint
- Availability
Zone boolRelocation - The option to enable relocation for an Amazon Redshift cluster between Availability Zones after the cluster modification is complete.
- Availability
Zone stringRelocation Status - The availability zone relocation status of the cluster
- Cluster
Namespace stringArn - The Amazon Resource Name (ARN) of the cluster namespace.
- Cluster
Parameter stringGroup Name - The name of the parameter group to be associated with this cluster.
- Cluster
Security List<string>Groups - A list of security groups to be associated with this cluster.
- Cluster
Type string - The type of the cluster. When cluster type is specified as single-node, the NumberOfNodes parameter is not required and if multi-node, the NumberOfNodes parameter is required
- Cluster
Version string - The version of the Amazon Redshift engine software that you want to deploy on the cluster.The version selected runs on all the nodes in the cluster.
- Defer
Maintenance stringEnd Time - A timestamp indicating end time for the deferred maintenance window. If you specify an end time, you can't specify a duration.
- Defer
Maintenance stringIdentifier - A unique identifier for the deferred maintenance window.
- Defer
Maintenance stringStart Time - A timestamp indicating the start time for the deferred maintenance window.
- Destination
Region string - The destination AWS Region that you want to copy snapshots to. Constraints: Must be the name of a valid AWS Region. For more information, see Regions and Endpoints in the Amazon Web Services [https://docs.aws.amazon.com/general/latest/gr/rande.html#redshift_region] General Reference
- Elastic
Ip string - The Elastic IP (EIP) address for the cluster.
- Encrypted bool
- If true, the data in the cluster is encrypted at rest.
- Endpoint
Pulumi.
Aws Native. Redshift. Outputs. Cluster Endpoint - The connection endpoint.
- Enhanced
Vpc boolRouting An option that specifies whether to create the cluster with enhanced VPC routing enabled. To create a cluster that uses enhanced VPC routing, the cluster must be in a VPC. For more information, see Enhanced VPC Routing in the Amazon Redshift Cluster Management Guide.
If this option is true , enhanced VPC routing is enabled.
Default: false
- Hsm
Client stringCertificate Identifier - Specifies the name of the HSM client certificate the Amazon Redshift cluster uses to retrieve the data encryption keys stored in an HSM
- Hsm
Configuration stringIdentifier - Specifies the name of the HSM configuration that contains the information the Amazon Redshift cluster can use to retrieve and store keys in an HSM.
- Iam
Roles List<string> - A list of AWS Identity and Access Management (IAM) roles that can be used by the cluster to access other AWS services. You must supply the IAM roles in their Amazon Resource Name (ARN) format. You can supply up to 50 IAM roles in a single request
- Kms
Key stringId - The AWS Key Management Service (KMS) key ID of the encryption key that you want to use to encrypt data in the cluster.
- Logging
Properties Pulumi.Aws Native. Redshift. Outputs. Cluster Logging Properties - Specifies logging information, such as queries and connection attempts, for the specified Amazon Redshift cluster.
- Maintenance
Track stringName - The name for the maintenance track that you want to assign for the cluster. This name change is asynchronous. The new track name stays in the PendingModifiedValues for the cluster until the next maintenance window. When the maintenance track changes, the cluster is switched to the latest cluster release available for the maintenance track. At this point, the maintenance track name is applied.
- Manual
Snapshot intRetention Period The number of days to retain newly copied snapshots in the destination AWS Region after they are copied from the source AWS Region. If the value is -1, the manual snapshot is retained indefinitely.
The value must be either -1 or an integer between 1 and 3,653.
- Master
Password stringSecret Arn - The Amazon Resource Name (ARN) for the cluster's admin user credentials secret.
- Master
Password stringSecret Kms Key Id - The ID of the Key Management Service (KMS) key used to encrypt and store the cluster's admin user credentials secret.
- Multi
Az bool - A boolean indicating if the redshift cluster is multi-az or not. If you don't provide this parameter or set the value to false, the redshift cluster will be single-az.
- Namespace
Resource objectPolicy The namespace resource policy document that will be attached to a Redshift cluster.
Search the CloudFormation User Guide for
AWS::Redshift::Cluster
for more information about the expected schema for this property.- Node
Type string - The node type to be provisioned for the cluster.Valid Values: ds2.xlarge | ds2.8xlarge | dc1.large | dc1.8xlarge | dc2.large | dc2.8xlarge | ra3.4xlarge | ra3.16xlarge
- Number
Of intNodes - The number of compute nodes in the cluster. This parameter is required when the ClusterType parameter is specified as multi-node.
- Port int
- The port number on which the cluster accepts incoming connections. The cluster is accessible only via the JDBC and ODBC connection strings
- Preferred
Maintenance stringWindow - The weekly time range (in UTC) during which automated cluster maintenance can occur.
- Publicly
Accessible bool - If true, the cluster can be accessed from a public network.
- Resource
Action string - The Redshift operation to be performed. Resource Action supports pause-cluster, resume-cluster, failover-primary-compute APIs
- Revision
Target string - The identifier of the database revision. You can retrieve this value from the response to the DescribeClusterDbRevisions request.
- Rotate
Encryption boolKey - A boolean indicating if we want to rotate Encryption Keys.
- Snapshot
Copy stringGrant Name - The name of the snapshot copy grant to use when snapshots of an AWS KMS-encrypted cluster are copied to the destination region.
- Snapshot
Copy boolManual - Indicates whether to apply the snapshot retention period to newly copied manual snapshots instead of automated snapshots.
- Snapshot
Copy intRetention Period The number of days to retain automated snapshots in the destination region after they are copied from the source region.
Default is 7.
Constraints: Must be at least 1 and no more than 35.
- List<Pulumi.
Aws Native. Outputs. Tag> - The list of tags for the cluster parameter group.
- Vpc
Security List<string>Group Ids - A list of Virtual Private Cloud (VPC) security groups to be associated with the cluster.
- Allow
Version boolUpgrade - Major version upgrades can be applied during the maintenance window to the Amazon Redshift engine that is running on the cluster. Default value is True
- Aqua
Configuration stringStatus The value represents how the cluster is configured to use AQUA (Advanced Query Accelerator) after the cluster is restored. Possible values include the following.
enabled - Use AQUA if it is available for the current Region and Amazon Redshift node type. disabled - Don't use AQUA. auto - Amazon Redshift determines whether to use AQUA.
- Automated
Snapshot intRetention Period - The number of days that automated snapshots are retained. If the value is 0, automated snapshots are disabled. Default value is 1
- Availability
Zone string - The EC2 Availability Zone (AZ) in which you want Amazon Redshift to provision the cluster. Default: A random, system-chosen Availability Zone in the region that is specified by the endpoint
- Availability
Zone boolRelocation - The option to enable relocation for an Amazon Redshift cluster between Availability Zones after the cluster modification is complete.
- Availability
Zone stringRelocation Status - The availability zone relocation status of the cluster
- Cluster
Namespace stringArn - The Amazon Resource Name (ARN) of the cluster namespace.
- Cluster
Parameter stringGroup Name - The name of the parameter group to be associated with this cluster.
- Cluster
Security []stringGroups - A list of security groups to be associated with this cluster.
- Cluster
Type string - The type of the cluster. When cluster type is specified as single-node, the NumberOfNodes parameter is not required and if multi-node, the NumberOfNodes parameter is required
- Cluster
Version string - The version of the Amazon Redshift engine software that you want to deploy on the cluster.The version selected runs on all the nodes in the cluster.
- Defer
Maintenance stringEnd Time - A timestamp indicating end time for the deferred maintenance window. If you specify an end time, you can't specify a duration.
- Defer
Maintenance stringIdentifier - A unique identifier for the deferred maintenance window.
- Defer
Maintenance stringStart Time - A timestamp indicating the start time for the deferred maintenance window.
- Destination
Region string - The destination AWS Region that you want to copy snapshots to. Constraints: Must be the name of a valid AWS Region. For more information, see Regions and Endpoints in the Amazon Web Services [https://docs.aws.amazon.com/general/latest/gr/rande.html#redshift_region] General Reference
- Elastic
Ip string - The Elastic IP (EIP) address for the cluster.
- Encrypted bool
- If true, the data in the cluster is encrypted at rest.
- Endpoint
Cluster
Endpoint - The connection endpoint.
- Enhanced
Vpc boolRouting An option that specifies whether to create the cluster with enhanced VPC routing enabled. To create a cluster that uses enhanced VPC routing, the cluster must be in a VPC. For more information, see Enhanced VPC Routing in the Amazon Redshift Cluster Management Guide.
If this option is true , enhanced VPC routing is enabled.
Default: false
- Hsm
Client stringCertificate Identifier - Specifies the name of the HSM client certificate the Amazon Redshift cluster uses to retrieve the data encryption keys stored in an HSM
- Hsm
Configuration stringIdentifier - Specifies the name of the HSM configuration that contains the information the Amazon Redshift cluster can use to retrieve and store keys in an HSM.
- Iam
Roles []string - A list of AWS Identity and Access Management (IAM) roles that can be used by the cluster to access other AWS services. You must supply the IAM roles in their Amazon Resource Name (ARN) format. You can supply up to 50 IAM roles in a single request
- Kms
Key stringId - The AWS Key Management Service (KMS) key ID of the encryption key that you want to use to encrypt data in the cluster.
- Logging
Properties ClusterLogging Properties - Specifies logging information, such as queries and connection attempts, for the specified Amazon Redshift cluster.
- Maintenance
Track stringName - The name for the maintenance track that you want to assign for the cluster. This name change is asynchronous. The new track name stays in the PendingModifiedValues for the cluster until the next maintenance window. When the maintenance track changes, the cluster is switched to the latest cluster release available for the maintenance track. At this point, the maintenance track name is applied.
- Manual
Snapshot intRetention Period The number of days to retain newly copied snapshots in the destination AWS Region after they are copied from the source AWS Region. If the value is -1, the manual snapshot is retained indefinitely.
The value must be either -1 or an integer between 1 and 3,653.
- Master
Password stringSecret Arn - The Amazon Resource Name (ARN) for the cluster's admin user credentials secret.
- Master
Password stringSecret Kms Key Id - The ID of the Key Management Service (KMS) key used to encrypt and store the cluster's admin user credentials secret.
- Multi
Az bool - A boolean indicating if the redshift cluster is multi-az or not. If you don't provide this parameter or set the value to false, the redshift cluster will be single-az.
- Namespace
Resource interface{}Policy The namespace resource policy document that will be attached to a Redshift cluster.
Search the CloudFormation User Guide for
AWS::Redshift::Cluster
for more information about the expected schema for this property.- Node
Type string - The node type to be provisioned for the cluster.Valid Values: ds2.xlarge | ds2.8xlarge | dc1.large | dc1.8xlarge | dc2.large | dc2.8xlarge | ra3.4xlarge | ra3.16xlarge
- Number
Of intNodes - The number of compute nodes in the cluster. This parameter is required when the ClusterType parameter is specified as multi-node.
- Port int
- The port number on which the cluster accepts incoming connections. The cluster is accessible only via the JDBC and ODBC connection strings
- Preferred
Maintenance stringWindow - The weekly time range (in UTC) during which automated cluster maintenance can occur.
- Publicly
Accessible bool - If true, the cluster can be accessed from a public network.
- Resource
Action string - The Redshift operation to be performed. Resource Action supports pause-cluster, resume-cluster, failover-primary-compute APIs
- Revision
Target string - The identifier of the database revision. You can retrieve this value from the response to the DescribeClusterDbRevisions request.
- Rotate
Encryption boolKey - A boolean indicating if we want to rotate Encryption Keys.
- Snapshot
Copy stringGrant Name - The name of the snapshot copy grant to use when snapshots of an AWS KMS-encrypted cluster are copied to the destination region.
- Snapshot
Copy boolManual - Indicates whether to apply the snapshot retention period to newly copied manual snapshots instead of automated snapshots.
- Snapshot
Copy intRetention Period The number of days to retain automated snapshots in the destination region after they are copied from the source region.
Default is 7.
Constraints: Must be at least 1 and no more than 35.
- Tag
- The list of tags for the cluster parameter group.
- Vpc
Security []stringGroup Ids - A list of Virtual Private Cloud (VPC) security groups to be associated with the cluster.
- allow
Version BooleanUpgrade - Major version upgrades can be applied during the maintenance window to the Amazon Redshift engine that is running on the cluster. Default value is True
- aqua
Configuration StringStatus The value represents how the cluster is configured to use AQUA (Advanced Query Accelerator) after the cluster is restored. Possible values include the following.
enabled - Use AQUA if it is available for the current Region and Amazon Redshift node type. disabled - Don't use AQUA. auto - Amazon Redshift determines whether to use AQUA.
- automated
Snapshot IntegerRetention Period - The number of days that automated snapshots are retained. If the value is 0, automated snapshots are disabled. Default value is 1
- availability
Zone String - The EC2 Availability Zone (AZ) in which you want Amazon Redshift to provision the cluster. Default: A random, system-chosen Availability Zone in the region that is specified by the endpoint
- availability
Zone BooleanRelocation - The option to enable relocation for an Amazon Redshift cluster between Availability Zones after the cluster modification is complete.
- availability
Zone StringRelocation Status - The availability zone relocation status of the cluster
- cluster
Namespace StringArn - The Amazon Resource Name (ARN) of the cluster namespace.
- cluster
Parameter StringGroup Name - The name of the parameter group to be associated with this cluster.
- cluster
Security List<String>Groups - A list of security groups to be associated with this cluster.
- cluster
Type String - The type of the cluster. When cluster type is specified as single-node, the NumberOfNodes parameter is not required and if multi-node, the NumberOfNodes parameter is required
- cluster
Version String - The version of the Amazon Redshift engine software that you want to deploy on the cluster.The version selected runs on all the nodes in the cluster.
- defer
Maintenance StringEnd Time - A timestamp indicating end time for the deferred maintenance window. If you specify an end time, you can't specify a duration.
- defer
Maintenance StringIdentifier - A unique identifier for the deferred maintenance window.
- defer
Maintenance StringStart Time - A timestamp indicating the start time for the deferred maintenance window.
- destination
Region String - The destination AWS Region that you want to copy snapshots to. Constraints: Must be the name of a valid AWS Region. For more information, see Regions and Endpoints in the Amazon Web Services [https://docs.aws.amazon.com/general/latest/gr/rande.html#redshift_region] General Reference
- elastic
Ip String - The Elastic IP (EIP) address for the cluster.
- encrypted Boolean
- If true, the data in the cluster is encrypted at rest.
- endpoint
Cluster
Endpoint - The connection endpoint.
- enhanced
Vpc BooleanRouting An option that specifies whether to create the cluster with enhanced VPC routing enabled. To create a cluster that uses enhanced VPC routing, the cluster must be in a VPC. For more information, see Enhanced VPC Routing in the Amazon Redshift Cluster Management Guide.
If this option is true , enhanced VPC routing is enabled.
Default: false
- hsm
Client StringCertificate Identifier - Specifies the name of the HSM client certificate the Amazon Redshift cluster uses to retrieve the data encryption keys stored in an HSM
- hsm
Configuration StringIdentifier - Specifies the name of the HSM configuration that contains the information the Amazon Redshift cluster can use to retrieve and store keys in an HSM.
- iam
Roles List<String> - A list of AWS Identity and Access Management (IAM) roles that can be used by the cluster to access other AWS services. You must supply the IAM roles in their Amazon Resource Name (ARN) format. You can supply up to 50 IAM roles in a single request
- kms
Key StringId - The AWS Key Management Service (KMS) key ID of the encryption key that you want to use to encrypt data in the cluster.
- logging
Properties ClusterLogging Properties - Specifies logging information, such as queries and connection attempts, for the specified Amazon Redshift cluster.
- maintenance
Track StringName - The name for the maintenance track that you want to assign for the cluster. This name change is asynchronous. The new track name stays in the PendingModifiedValues for the cluster until the next maintenance window. When the maintenance track changes, the cluster is switched to the latest cluster release available for the maintenance track. At this point, the maintenance track name is applied.
- manual
Snapshot IntegerRetention Period The number of days to retain newly copied snapshots in the destination AWS Region after they are copied from the source AWS Region. If the value is -1, the manual snapshot is retained indefinitely.
The value must be either -1 or an integer between 1 and 3,653.
- master
Password StringSecret Arn - The Amazon Resource Name (ARN) for the cluster's admin user credentials secret.
- master
Password StringSecret Kms Key Id - The ID of the Key Management Service (KMS) key used to encrypt and store the cluster's admin user credentials secret.
- multi
Az Boolean - A boolean indicating if the redshift cluster is multi-az or not. If you don't provide this parameter or set the value to false, the redshift cluster will be single-az.
- namespace
Resource ObjectPolicy The namespace resource policy document that will be attached to a Redshift cluster.
Search the CloudFormation User Guide for
AWS::Redshift::Cluster
for more information about the expected schema for this property.- node
Type String - The node type to be provisioned for the cluster.Valid Values: ds2.xlarge | ds2.8xlarge | dc1.large | dc1.8xlarge | dc2.large | dc2.8xlarge | ra3.4xlarge | ra3.16xlarge
- number
Of IntegerNodes - The number of compute nodes in the cluster. This parameter is required when the ClusterType parameter is specified as multi-node.
- port Integer
- The port number on which the cluster accepts incoming connections. The cluster is accessible only via the JDBC and ODBC connection strings
- preferred
Maintenance StringWindow - The weekly time range (in UTC) during which automated cluster maintenance can occur.
- publicly
Accessible Boolean - If true, the cluster can be accessed from a public network.
- resource
Action String - The Redshift operation to be performed. Resource Action supports pause-cluster, resume-cluster, failover-primary-compute APIs
- revision
Target String - The identifier of the database revision. You can retrieve this value from the response to the DescribeClusterDbRevisions request.
- rotate
Encryption BooleanKey - A boolean indicating if we want to rotate Encryption Keys.
- snapshot
Copy StringGrant Name - The name of the snapshot copy grant to use when snapshots of an AWS KMS-encrypted cluster are copied to the destination region.
- snapshot
Copy BooleanManual - Indicates whether to apply the snapshot retention period to newly copied manual snapshots instead of automated snapshots.
- snapshot
Copy IntegerRetention Period The number of days to retain automated snapshots in the destination region after they are copied from the source region.
Default is 7.
Constraints: Must be at least 1 and no more than 35.
- List<Tag>
- The list of tags for the cluster parameter group.
- vpc
Security List<String>Group Ids - A list of Virtual Private Cloud (VPC) security groups to be associated with the cluster.
- allow
Version booleanUpgrade - Major version upgrades can be applied during the maintenance window to the Amazon Redshift engine that is running on the cluster. Default value is True
- aqua
Configuration stringStatus The value represents how the cluster is configured to use AQUA (Advanced Query Accelerator) after the cluster is restored. Possible values include the following.
enabled - Use AQUA if it is available for the current Region and Amazon Redshift node type. disabled - Don't use AQUA. auto - Amazon Redshift determines whether to use AQUA.
- automated
Snapshot numberRetention Period - The number of days that automated snapshots are retained. If the value is 0, automated snapshots are disabled. Default value is 1
- availability
Zone string - The EC2 Availability Zone (AZ) in which you want Amazon Redshift to provision the cluster. Default: A random, system-chosen Availability Zone in the region that is specified by the endpoint
- availability
Zone booleanRelocation - The option to enable relocation for an Amazon Redshift cluster between Availability Zones after the cluster modification is complete.
- availability
Zone stringRelocation Status - The availability zone relocation status of the cluster
- cluster
Namespace stringArn - The Amazon Resource Name (ARN) of the cluster namespace.
- cluster
Parameter stringGroup Name - The name of the parameter group to be associated with this cluster.
- cluster
Security string[]Groups - A list of security groups to be associated with this cluster.
- cluster
Type string - The type of the cluster. When cluster type is specified as single-node, the NumberOfNodes parameter is not required and if multi-node, the NumberOfNodes parameter is required
- cluster
Version string - The version of the Amazon Redshift engine software that you want to deploy on the cluster.The version selected runs on all the nodes in the cluster.
- defer
Maintenance stringEnd Time - A timestamp indicating end time for the deferred maintenance window. If you specify an end time, you can't specify a duration.
- defer
Maintenance stringIdentifier - A unique identifier for the deferred maintenance window.
- defer
Maintenance stringStart Time - A timestamp indicating the start time for the deferred maintenance window.
- destination
Region string - The destination AWS Region that you want to copy snapshots to. Constraints: Must be the name of a valid AWS Region. For more information, see Regions and Endpoints in the Amazon Web Services [https://docs.aws.amazon.com/general/latest/gr/rande.html#redshift_region] General Reference
- elastic
Ip string - The Elastic IP (EIP) address for the cluster.
- encrypted boolean
- If true, the data in the cluster is encrypted at rest.
- endpoint
Cluster
Endpoint - The connection endpoint.
- enhanced
Vpc booleanRouting An option that specifies whether to create the cluster with enhanced VPC routing enabled. To create a cluster that uses enhanced VPC routing, the cluster must be in a VPC. For more information, see Enhanced VPC Routing in the Amazon Redshift Cluster Management Guide.
If this option is true , enhanced VPC routing is enabled.
Default: false
- hsm
Client stringCertificate Identifier - Specifies the name of the HSM client certificate the Amazon Redshift cluster uses to retrieve the data encryption keys stored in an HSM
- hsm
Configuration stringIdentifier - Specifies the name of the HSM configuration that contains the information the Amazon Redshift cluster can use to retrieve and store keys in an HSM.
- iam
Roles string[] - A list of AWS Identity and Access Management (IAM) roles that can be used by the cluster to access other AWS services. You must supply the IAM roles in their Amazon Resource Name (ARN) format. You can supply up to 50 IAM roles in a single request
- kms
Key stringId - The AWS Key Management Service (KMS) key ID of the encryption key that you want to use to encrypt data in the cluster.
- logging
Properties ClusterLogging Properties - Specifies logging information, such as queries and connection attempts, for the specified Amazon Redshift cluster.
- maintenance
Track stringName - The name for the maintenance track that you want to assign for the cluster. This name change is asynchronous. The new track name stays in the PendingModifiedValues for the cluster until the next maintenance window. When the maintenance track changes, the cluster is switched to the latest cluster release available for the maintenance track. At this point, the maintenance track name is applied.
- manual
Snapshot numberRetention Period The number of days to retain newly copied snapshots in the destination AWS Region after they are copied from the source AWS Region. If the value is -1, the manual snapshot is retained indefinitely.
The value must be either -1 or an integer between 1 and 3,653.
- master
Password stringSecret Arn - The Amazon Resource Name (ARN) for the cluster's admin user credentials secret.
- master
Password stringSecret Kms Key Id - The ID of the Key Management Service (KMS) key used to encrypt and store the cluster's admin user credentials secret.
- multi
Az boolean - A boolean indicating if the redshift cluster is multi-az or not. If you don't provide this parameter or set the value to false, the redshift cluster will be single-az.
- namespace
Resource anyPolicy The namespace resource policy document that will be attached to a Redshift cluster.
Search the CloudFormation User Guide for
AWS::Redshift::Cluster
for more information about the expected schema for this property.- node
Type string - The node type to be provisioned for the cluster.Valid Values: ds2.xlarge | ds2.8xlarge | dc1.large | dc1.8xlarge | dc2.large | dc2.8xlarge | ra3.4xlarge | ra3.16xlarge
- number
Of numberNodes - The number of compute nodes in the cluster. This parameter is required when the ClusterType parameter is specified as multi-node.
- port number
- The port number on which the cluster accepts incoming connections. The cluster is accessible only via the JDBC and ODBC connection strings
- preferred
Maintenance stringWindow - The weekly time range (in UTC) during which automated cluster maintenance can occur.
- publicly
Accessible boolean - If true, the cluster can be accessed from a public network.
- resource
Action string - The Redshift operation to be performed. Resource Action supports pause-cluster, resume-cluster, failover-primary-compute APIs
- revision
Target string - The identifier of the database revision. You can retrieve this value from the response to the DescribeClusterDbRevisions request.
- rotate
Encryption booleanKey - A boolean indicating if we want to rotate Encryption Keys.
- snapshot
Copy stringGrant Name - The name of the snapshot copy grant to use when snapshots of an AWS KMS-encrypted cluster are copied to the destination region.
- snapshot
Copy booleanManual - Indicates whether to apply the snapshot retention period to newly copied manual snapshots instead of automated snapshots.
- snapshot
Copy numberRetention Period The number of days to retain automated snapshots in the destination region after they are copied from the source region.
Default is 7.
Constraints: Must be at least 1 and no more than 35.
- Tag[]
- The list of tags for the cluster parameter group.
- vpc
Security string[]Group Ids - A list of Virtual Private Cloud (VPC) security groups to be associated with the cluster.
- allow_
version_ boolupgrade - Major version upgrades can be applied during the maintenance window to the Amazon Redshift engine that is running on the cluster. Default value is True
- aqua_
configuration_ strstatus The value represents how the cluster is configured to use AQUA (Advanced Query Accelerator) after the cluster is restored. Possible values include the following.
enabled - Use AQUA if it is available for the current Region and Amazon Redshift node type. disabled - Don't use AQUA. auto - Amazon Redshift determines whether to use AQUA.
- automated_
snapshot_ intretention_ period - The number of days that automated snapshots are retained. If the value is 0, automated snapshots are disabled. Default value is 1
- availability_
zone str - The EC2 Availability Zone (AZ) in which you want Amazon Redshift to provision the cluster. Default: A random, system-chosen Availability Zone in the region that is specified by the endpoint
- availability_
zone_ boolrelocation - The option to enable relocation for an Amazon Redshift cluster between Availability Zones after the cluster modification is complete.
- availability_
zone_ strrelocation_ status - The availability zone relocation status of the cluster
- cluster_
namespace_ strarn - The Amazon Resource Name (ARN) of the cluster namespace.
- cluster_
parameter_ strgroup_ name - The name of the parameter group to be associated with this cluster.
- cluster_
security_ Sequence[str]groups - A list of security groups to be associated with this cluster.
- cluster_
type str - The type of the cluster. When cluster type is specified as single-node, the NumberOfNodes parameter is not required and if multi-node, the NumberOfNodes parameter is required
- cluster_
version str - The version of the Amazon Redshift engine software that you want to deploy on the cluster.The version selected runs on all the nodes in the cluster.
- defer_
maintenance_ strend_ time - A timestamp indicating end time for the deferred maintenance window. If you specify an end time, you can't specify a duration.
- defer_
maintenance_ stridentifier - A unique identifier for the deferred maintenance window.
- defer_
maintenance_ strstart_ time - A timestamp indicating the start time for the deferred maintenance window.
- destination_
region str - The destination AWS Region that you want to copy snapshots to. Constraints: Must be the name of a valid AWS Region. For more information, see Regions and Endpoints in the Amazon Web Services [https://docs.aws.amazon.com/general/latest/gr/rande.html#redshift_region] General Reference
- elastic_
ip str - The Elastic IP (EIP) address for the cluster.
- encrypted bool
- If true, the data in the cluster is encrypted at rest.
- endpoint
Cluster
Endpoint - The connection endpoint.
- enhanced_
vpc_ boolrouting An option that specifies whether to create the cluster with enhanced VPC routing enabled. To create a cluster that uses enhanced VPC routing, the cluster must be in a VPC. For more information, see Enhanced VPC Routing in the Amazon Redshift Cluster Management Guide.
If this option is true , enhanced VPC routing is enabled.
Default: false
- hsm_
client_ strcertificate_ identifier - Specifies the name of the HSM client certificate the Amazon Redshift cluster uses to retrieve the data encryption keys stored in an HSM
- hsm_
configuration_ stridentifier - Specifies the name of the HSM configuration that contains the information the Amazon Redshift cluster can use to retrieve and store keys in an HSM.
- iam_
roles Sequence[str] - A list of AWS Identity and Access Management (IAM) roles that can be used by the cluster to access other AWS services. You must supply the IAM roles in their Amazon Resource Name (ARN) format. You can supply up to 50 IAM roles in a single request
- kms_
key_ strid - The AWS Key Management Service (KMS) key ID of the encryption key that you want to use to encrypt data in the cluster.
- logging_
properties ClusterLogging Properties - Specifies logging information, such as queries and connection attempts, for the specified Amazon Redshift cluster.
- maintenance_
track_ strname - The name for the maintenance track that you want to assign for the cluster. This name change is asynchronous. The new track name stays in the PendingModifiedValues for the cluster until the next maintenance window. When the maintenance track changes, the cluster is switched to the latest cluster release available for the maintenance track. At this point, the maintenance track name is applied.
- manual_
snapshot_ intretention_ period The number of days to retain newly copied snapshots in the destination AWS Region after they are copied from the source AWS Region. If the value is -1, the manual snapshot is retained indefinitely.
The value must be either -1 or an integer between 1 and 3,653.
- master_
password_ strsecret_ arn - The Amazon Resource Name (ARN) for the cluster's admin user credentials secret.
- master_
password_ strsecret_ kms_ key_ id - The ID of the Key Management Service (KMS) key used to encrypt and store the cluster's admin user credentials secret.
- multi_
az bool - A boolean indicating if the redshift cluster is multi-az or not. If you don't provide this parameter or set the value to false, the redshift cluster will be single-az.
- namespace_
resource_ Anypolicy The namespace resource policy document that will be attached to a Redshift cluster.
Search the CloudFormation User Guide for
AWS::Redshift::Cluster
for more information about the expected schema for this property.- node_
type str - The node type to be provisioned for the cluster.Valid Values: ds2.xlarge | ds2.8xlarge | dc1.large | dc1.8xlarge | dc2.large | dc2.8xlarge | ra3.4xlarge | ra3.16xlarge
- number_
of_ intnodes - The number of compute nodes in the cluster. This parameter is required when the ClusterType parameter is specified as multi-node.
- port int
- The port number on which the cluster accepts incoming connections. The cluster is accessible only via the JDBC and ODBC connection strings
- preferred_
maintenance_ strwindow - The weekly time range (in UTC) during which automated cluster maintenance can occur.
- publicly_
accessible bool - If true, the cluster can be accessed from a public network.
- resource_
action str - The Redshift operation to be performed. Resource Action supports pause-cluster, resume-cluster, failover-primary-compute APIs
- revision_
target str - The identifier of the database revision. You can retrieve this value from the response to the DescribeClusterDbRevisions request.
- rotate_
encryption_ boolkey - A boolean indicating if we want to rotate Encryption Keys.
- snapshot_
copy_ strgrant_ name - The name of the snapshot copy grant to use when snapshots of an AWS KMS-encrypted cluster are copied to the destination region.
- snapshot_
copy_ boolmanual - Indicates whether to apply the snapshot retention period to newly copied manual snapshots instead of automated snapshots.
- snapshot_
copy_ intretention_ period The number of days to retain automated snapshots in the destination region after they are copied from the source region.
Default is 7.
Constraints: Must be at least 1 and no more than 35.
- Sequence[root_Tag]
- The list of tags for the cluster parameter group.
- vpc_
security_ Sequence[str]group_ ids - A list of Virtual Private Cloud (VPC) security groups to be associated with the cluster.
- allow
Version BooleanUpgrade - Major version upgrades can be applied during the maintenance window to the Amazon Redshift engine that is running on the cluster. Default value is True
- aqua
Configuration StringStatus The value represents how the cluster is configured to use AQUA (Advanced Query Accelerator) after the cluster is restored. Possible values include the following.
enabled - Use AQUA if it is available for the current Region and Amazon Redshift node type. disabled - Don't use AQUA. auto - Amazon Redshift determines whether to use AQUA.
- automated
Snapshot NumberRetention Period - The number of days that automated snapshots are retained. If the value is 0, automated snapshots are disabled. Default value is 1
- availability
Zone String - The EC2 Availability Zone (AZ) in which you want Amazon Redshift to provision the cluster. Default: A random, system-chosen Availability Zone in the region that is specified by the endpoint
- availability
Zone BooleanRelocation - The option to enable relocation for an Amazon Redshift cluster between Availability Zones after the cluster modification is complete.
- availability
Zone StringRelocation Status - The availability zone relocation status of the cluster
- cluster
Namespace StringArn - The Amazon Resource Name (ARN) of the cluster namespace.
- cluster
Parameter StringGroup Name - The name of the parameter group to be associated with this cluster.
- cluster
Security List<String>Groups - A list of security groups to be associated with this cluster.
- cluster
Type String - The type of the cluster. When cluster type is specified as single-node, the NumberOfNodes parameter is not required and if multi-node, the NumberOfNodes parameter is required
- cluster
Version String - The version of the Amazon Redshift engine software that you want to deploy on the cluster.The version selected runs on all the nodes in the cluster.
- defer
Maintenance StringEnd Time - A timestamp indicating end time for the deferred maintenance window. If you specify an end time, you can't specify a duration.
- defer
Maintenance StringIdentifier - A unique identifier for the deferred maintenance window.
- defer
Maintenance StringStart Time - A timestamp indicating the start time for the deferred maintenance window.
- destination
Region String - The destination AWS Region that you want to copy snapshots to. Constraints: Must be the name of a valid AWS Region. For more information, see Regions and Endpoints in the Amazon Web Services [https://docs.aws.amazon.com/general/latest/gr/rande.html#redshift_region] General Reference
- elastic
Ip String - The Elastic IP (EIP) address for the cluster.
- encrypted Boolean
- If true, the data in the cluster is encrypted at rest.
- endpoint Property Map
- The connection endpoint.
- enhanced
Vpc BooleanRouting An option that specifies whether to create the cluster with enhanced VPC routing enabled. To create a cluster that uses enhanced VPC routing, the cluster must be in a VPC. For more information, see Enhanced VPC Routing in the Amazon Redshift Cluster Management Guide.
If this option is true , enhanced VPC routing is enabled.
Default: false
- hsm
Client StringCertificate Identifier - Specifies the name of the HSM client certificate the Amazon Redshift cluster uses to retrieve the data encryption keys stored in an HSM
- hsm
Configuration StringIdentifier - Specifies the name of the HSM configuration that contains the information the Amazon Redshift cluster can use to retrieve and store keys in an HSM.
- iam
Roles List<String> - A list of AWS Identity and Access Management (IAM) roles that can be used by the cluster to access other AWS services. You must supply the IAM roles in their Amazon Resource Name (ARN) format. You can supply up to 50 IAM roles in a single request
- kms
Key StringId - The AWS Key Management Service (KMS) key ID of the encryption key that you want to use to encrypt data in the cluster.
- logging
Properties Property Map - Specifies logging information, such as queries and connection attempts, for the specified Amazon Redshift cluster.
- maintenance
Track StringName - The name for the maintenance track that you want to assign for the cluster. This name change is asynchronous. The new track name stays in the PendingModifiedValues for the cluster until the next maintenance window. When the maintenance track changes, the cluster is switched to the latest cluster release available for the maintenance track. At this point, the maintenance track name is applied.
- manual
Snapshot NumberRetention Period The number of days to retain newly copied snapshots in the destination AWS Region after they are copied from the source AWS Region. If the value is -1, the manual snapshot is retained indefinitely.
The value must be either -1 or an integer between 1 and 3,653.
- master
Password StringSecret Arn - The Amazon Resource Name (ARN) for the cluster's admin user credentials secret.
- master
Password StringSecret Kms Key Id - The ID of the Key Management Service (KMS) key used to encrypt and store the cluster's admin user credentials secret.
- multi
Az Boolean - A boolean indicating if the redshift cluster is multi-az or not. If you don't provide this parameter or set the value to false, the redshift cluster will be single-az.
- namespace
Resource AnyPolicy The namespace resource policy document that will be attached to a Redshift cluster.
Search the CloudFormation User Guide for
AWS::Redshift::Cluster
for more information about the expected schema for this property.- node
Type String - The node type to be provisioned for the cluster.Valid Values: ds2.xlarge | ds2.8xlarge | dc1.large | dc1.8xlarge | dc2.large | dc2.8xlarge | ra3.4xlarge | ra3.16xlarge
- number
Of NumberNodes - The number of compute nodes in the cluster. This parameter is required when the ClusterType parameter is specified as multi-node.
- port Number
- The port number on which the cluster accepts incoming connections. The cluster is accessible only via the JDBC and ODBC connection strings
- preferred
Maintenance StringWindow - The weekly time range (in UTC) during which automated cluster maintenance can occur.
- publicly
Accessible Boolean - If true, the cluster can be accessed from a public network.
- resource
Action String - The Redshift operation to be performed. Resource Action supports pause-cluster, resume-cluster, failover-primary-compute APIs
- revision
Target String - The identifier of the database revision. You can retrieve this value from the response to the DescribeClusterDbRevisions request.
- rotate
Encryption BooleanKey - A boolean indicating if we want to rotate Encryption Keys.
- snapshot
Copy StringGrant Name - The name of the snapshot copy grant to use when snapshots of an AWS KMS-encrypted cluster are copied to the destination region.
- snapshot
Copy BooleanManual - Indicates whether to apply the snapshot retention period to newly copied manual snapshots instead of automated snapshots.
- snapshot
Copy NumberRetention Period The number of days to retain automated snapshots in the destination region after they are copied from the source region.
Default is 7.
Constraints: Must be at least 1 and no more than 35.
- List<Property Map>
- The list of tags for the cluster parameter group.
- vpc
Security List<String>Group Ids - A list of Virtual Private Cloud (VPC) security groups to be associated with the cluster.
Supporting Types
ClusterEndpoint
ClusterLoggingProperties
- Bucket
Name string The name of an existing S3 bucket where the log files are to be stored.
Constraints:
- Must be in the same region as the cluster
- The cluster must have read bucket and put object permissions
- Log
Destination stringType - The log destination type. An enum with possible values of
s3
andcloudwatch
. - Log
Exports List<string> - The collection of exported log types. Possible values are
connectionlog
,useractivitylog
, anduserlog
. - S3Key
Prefix string The prefix applied to the log file names.
Constraints:
Cannot exceed 512 characters
Cannot contain spaces( ), double quotes ("), single quotes ('), a backslash (), or control characters. The hexadecimal codes for invalid characters are:
x00 to x20
x22
x27
x5c
x7f or larger
- Bucket
Name string The name of an existing S3 bucket where the log files are to be stored.
Constraints:
- Must be in the same region as the cluster
- The cluster must have read bucket and put object permissions
- Log
Destination stringType - The log destination type. An enum with possible values of
s3
andcloudwatch
. - Log
Exports []string - The collection of exported log types. Possible values are
connectionlog
,useractivitylog
, anduserlog
. - S3Key
Prefix string The prefix applied to the log file names.
Constraints:
Cannot exceed 512 characters
Cannot contain spaces( ), double quotes ("), single quotes ('), a backslash (), or control characters. The hexadecimal codes for invalid characters are:
x00 to x20
x22
x27
x5c
x7f or larger
- bucket
Name String The name of an existing S3 bucket where the log files are to be stored.
Constraints:
- Must be in the same region as the cluster
- The cluster must have read bucket and put object permissions
- log
Destination StringType - The log destination type. An enum with possible values of
s3
andcloudwatch
. - log
Exports List<String> - The collection of exported log types. Possible values are
connectionlog
,useractivitylog
, anduserlog
. - s3Key
Prefix String The prefix applied to the log file names.
Constraints:
Cannot exceed 512 characters
Cannot contain spaces( ), double quotes ("), single quotes ('), a backslash (), or control characters. The hexadecimal codes for invalid characters are:
x00 to x20
x22
x27
x5c
x7f or larger
- bucket
Name string The name of an existing S3 bucket where the log files are to be stored.
Constraints:
- Must be in the same region as the cluster
- The cluster must have read bucket and put object permissions
- log
Destination stringType - The log destination type. An enum with possible values of
s3
andcloudwatch
. - log
Exports string[] - The collection of exported log types. Possible values are
connectionlog
,useractivitylog
, anduserlog
. - s3Key
Prefix string The prefix applied to the log file names.
Constraints:
Cannot exceed 512 characters
Cannot contain spaces( ), double quotes ("), single quotes ('), a backslash (), or control characters. The hexadecimal codes for invalid characters are:
x00 to x20
x22
x27
x5c
x7f or larger
- bucket_
name str The name of an existing S3 bucket where the log files are to be stored.
Constraints:
- Must be in the same region as the cluster
- The cluster must have read bucket and put object permissions
- log_
destination_ strtype - The log destination type. An enum with possible values of
s3
andcloudwatch
. - log_
exports Sequence[str] - The collection of exported log types. Possible values are
connectionlog
,useractivitylog
, anduserlog
. - s3_
key_ strprefix The prefix applied to the log file names.
Constraints:
Cannot exceed 512 characters
Cannot contain spaces( ), double quotes ("), single quotes ('), a backslash (), or control characters. The hexadecimal codes for invalid characters are:
x00 to x20
x22
x27
x5c
x7f or larger
- bucket
Name String The name of an existing S3 bucket where the log files are to be stored.
Constraints:
- Must be in the same region as the cluster
- The cluster must have read bucket and put object permissions
- log
Destination StringType - The log destination type. An enum with possible values of
s3
andcloudwatch
. - log
Exports List<String> - The collection of exported log types. Possible values are
connectionlog
,useractivitylog
, anduserlog
. - s3Key
Prefix String The prefix applied to the log file names.
Constraints:
Cannot exceed 512 characters
Cannot contain spaces( ), double quotes ("), single quotes ('), a backslash (), or control characters. The hexadecimal codes for invalid characters are:
x00 to x20
x22
x27
x5c
x7f or larger
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.