Module redshift
This page documents the language specification for the aws package. If you're looking for help working with the inputs, outputs, or functions of aws resources in a Pulumi program, please see the resource documentation for examples and API reference.
This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the
pulumi/pulumi-awsrepo; however, if that doesn’t turn up anything, please consult the sourceterraform-providers/terraform-provider-awsrepo.
Resources
- Cluster
- EventSubscription
- ParameterGroup
- SecurityGroup
- SnapshotCopyGrant
- SnapshotSchedule
- SnapshotScheduleAssociation
- SubnetGroup
Functions
Others
- ClusterArgs
- ClusterState
- EventSubscriptionArgs
- EventSubscriptionState
- GetClusterArgs
- GetClusterResult
- GetServiceAccountArgs
- GetServiceAccountResult
- ParameterGroupArgs
- ParameterGroupState
- SecurityGroupArgs
- SecurityGroupState
- SnapshotCopyGrantArgs
- SnapshotCopyGrantState
- SnapshotScheduleArgs
- SnapshotScheduleAssociationArgs
- SnapshotScheduleAssociationState
- SnapshotScheduleState
- SubnetGroupArgs
- SubnetGroupState
Resources
Resource Cluster
class Cluster extends CustomResourceProvides a Redshift Cluster Resource.
Note: All arguments including the username and password will be stored in the raw state as plain-text.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const defaultCluster = new aws.redshift.Cluster("default", {
clusterIdentifier: "tf-redshift-cluster",
clusterType: "single-node",
databaseName: "mydb",
masterPassword: "Mustbe8characters",
masterUsername: "foo",
nodeType: "dc1.large",
});constructor
new Cluster(name: string, args: ClusterArgs, opts?: pulumi.CustomResourceOptions)Create a Cluster resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ClusterState, opts?: pulumi.CustomResourceOptions): ClusterGet an existing Cluster resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is ClusterReturns true if the given object is an instance of Cluster. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property allowVersionUpgrade
public allowVersionUpgrade: pulumi.Output<boolean | undefined>;If true , major version upgrades can be applied during the maintenance window to the Amazon Redshift engine that is running on the cluster. Default is true
property arn
public arn: pulumi.Output<string>;Amazon Resource Name (ARN) of cluster
property automatedSnapshotRetentionPeriod
public automatedSnapshotRetentionPeriod: pulumi.Output<number | undefined>;The number of days that automated snapshots are retained. If the value is 0, automated snapshots are disabled. Even if automated snapshots are disabled, you can still create manual snapshots when you want with create-cluster-snapshot. Default is 1.
property availabilityZone
public availabilityZone: pulumi.Output<string>;The EC2 Availability Zone (AZ) in which you want Amazon Redshift to provision the cluster. For example, if you have several EC2 instances running in a specific Availability Zone, then you might want the cluster to be provisioned in the same zone in order to decrease network latency.
property clusterIdentifier
public clusterIdentifier: pulumi.Output<string>;The Cluster Identifier. Must be a lower case string.
property clusterParameterGroupName
public clusterParameterGroupName: pulumi.Output<string>;The name of the parameter group to be associated with this cluster.
property clusterPublicKey
public clusterPublicKey: pulumi.Output<string>;The public key for the cluster
property clusterRevisionNumber
public clusterRevisionNumber: pulumi.Output<string>;The specific revision number of the database in the cluster
property clusterSecurityGroups
public clusterSecurityGroups: pulumi.Output<string[]>;A list of security groups to be associated with this cluster.
property clusterSubnetGroupName
public clusterSubnetGroupName: pulumi.Output<string>;The name of a cluster subnet group to be associated with this cluster. If this parameter is not provided the resulting cluster will be deployed outside virtual private cloud (VPC).
property clusterType
public clusterType: pulumi.Output<string>;The cluster type to use. Either single-node or multi-node.
property clusterVersion
public clusterVersion: pulumi.Output<string | undefined>;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.
property databaseName
public databaseName: pulumi.Output<string>;The name of the first database to be created when the cluster is created.
If you do not provide a name, Amazon Redshift will create a default database called dev.
property dnsName
public dnsName: pulumi.Output<string>;The DNS name of the cluster
property elasticIp
public elasticIp: pulumi.Output<string | undefined>;The Elastic IP (EIP) address for the cluster.
property encrypted
public encrypted: pulumi.Output<boolean | undefined>;If true , the data in the cluster is encrypted at rest.
property endpoint
public endpoint: pulumi.Output<string>;The connection endpoint
property enhancedVpcRouting
public enhancedVpcRouting: pulumi.Output<boolean>;If true , enhanced VPC routing is enabled.
property finalSnapshotIdentifier
public finalSnapshotIdentifier: pulumi.Output<string | undefined>;The identifier of the final snapshot that is to be created immediately before deleting the cluster. If this parameter is provided, skipFinalSnapshot must be false.
property iamRoles
public iamRoles: pulumi.Output<string[]>;A list of IAM Role ARNs to associate with the cluster. A Maximum of 10 can be associated to the cluster at any time.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property kmsKeyId
public kmsKeyId: pulumi.Output<string>;The ARN for the KMS encryption key. When specifying kmsKeyId, encrypted needs to be set to true.
property logging
public logging: pulumi.Output<ClusterLogging | undefined>;Logging, documented below.
property masterPassword
public masterPassword: pulumi.Output<string | undefined>;Password for the master DB user. Note that this may show up in logs, and it will be stored in the state file. Password must contain at least 8 chars and contain at least one uppercase letter, one lowercase letter, and one number.
property masterUsername
public masterUsername: pulumi.Output<string | undefined>;Username for the master DB user.
property nodeType
public nodeType: pulumi.Output<string>;The node type to be provisioned for the cluster.
property numberOfNodes
public numberOfNodes: pulumi.Output<number | undefined>;The number of compute nodes in the cluster. This parameter is required when the ClusterType parameter is specified as multi-node. Default is 1.
property ownerAccount
public ownerAccount: pulumi.Output<string | undefined>;The AWS customer account used to create or copy the snapshot. Required if you are restoring a snapshot you do not own, optional if you own the snapshot.
property port
public port: pulumi.Output<number | undefined>;The port number on which the cluster accepts incoming connections. The cluster is accessible only via the JDBC and ODBC connection strings. Part of the connection string requires the port on which the cluster will listen for incoming connections. Default port is 5439.
property preferredMaintenanceWindow
public preferredMaintenanceWindow: pulumi.Output<string>;The weekly time range (in UTC) during which automated cluster maintenance can occur. Format: ddd:hh24:mi-ddd:hh24:mi
property publiclyAccessible
public publiclyAccessible: pulumi.Output<boolean | undefined>;If true, the cluster can be accessed from a public network. Default is true.
property skipFinalSnapshot
public skipFinalSnapshot: pulumi.Output<boolean | undefined>;Determines whether a final snapshot of the cluster is created before Amazon Redshift deletes the cluster. If true , a final cluster snapshot is not created. If false , a final cluster snapshot is created before the cluster is deleted. Default is false.
property snapshotClusterIdentifier
public snapshotClusterIdentifier: pulumi.Output<string | undefined>;The name of the cluster the source snapshot was created from.
property snapshotCopy
public snapshotCopy: pulumi.Output<ClusterSnapshotCopy | undefined>;Configuration of automatic copy of snapshots from one region to another. Documented below.
property snapshotIdentifier
public snapshotIdentifier: pulumi.Output<string | undefined>;The name of the snapshot from which to create the new cluster.
property tags
public tags: pulumi.Output<{[key: string]: any} | undefined>;A map of tags to assign to the resource.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
property vpcSecurityGroupIds
public vpcSecurityGroupIds: pulumi.Output<string[]>;A list of Virtual Private Cloud (VPC) security groups to be associated with the cluster.
Resource EventSubscription
class EventSubscription extends CustomResourceProvides a Redshift event subscription resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const defaultCluster = new aws.redshift.Cluster("default", {
clusterIdentifier: "default",
databaseName: "default",
});
const defaultTopic = new aws.sns.Topic("default", {});
const defaultEventSubscription = new aws.redshift.EventSubscription("default", {
eventCategories: [
"configuration",
"management",
"monitoring",
"security",
],
severity: "INFO",
snsTopicArn: defaultTopic.arn,
sourceIds: [defaultCluster.id],
sourceType: "cluster",
tags: {
Name: "default",
},
});Attributes
The following additional atttributes are provided:
arn- Amazon Resource Name (ARN) of the Redshift event notification subscriptionid- The name of the Redshift event notification subscriptioncustomerAwsId- The AWS customer account associated with the Redshift event notification subscription
constructor
new EventSubscription(name: string, args: EventSubscriptionArgs, opts?: pulumi.CustomResourceOptions)Create a EventSubscription resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EventSubscriptionState, opts?: pulumi.CustomResourceOptions): EventSubscriptionGet an existing EventSubscription resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is EventSubscriptionReturns true if the given object is an instance of EventSubscription. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property arn
public arn: pulumi.Output<string>;property customerAwsId
public customerAwsId: pulumi.Output<string>;property enabled
public enabled: pulumi.Output<boolean | undefined>;A boolean flag to enable/disable the subscription. Defaults to true.
property eventCategories
public eventCategories: pulumi.Output<string[] | undefined>;A list of event categories for a SourceType that you want to subscribe to. See https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-event-notifications.html or run aws redshift describe-event-categories.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property name
public name: pulumi.Output<string>;The name of the Redshift event subscription.
property severity
public severity: pulumi.Output<string | undefined>;The event severity to be published by the notification subscription. Valid options are INFO or ERROR.
property snsTopicArn
public snsTopicArn: pulumi.Output<string>;The ARN of the SNS topic to send events to.
property sourceIds
public sourceIds: pulumi.Output<string[] | undefined>;A list of identifiers of the event sources for which events will be returned. If not specified, then all sources are included in the response. If specified, a sourceType must also be specified.
property sourceType
public sourceType: pulumi.Output<string | undefined>;The type of source that will be generating the events. Valid options are cluster, cluster-parameter-group, cluster-security-group, or cluster-snapshot. If not set, all sources will be subscribed to.
property status
public status: pulumi.Output<string>;property tags
public tags: pulumi.Output<{[key: string]: any} | undefined>;A map of tags to assign to the resource.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Resource ParameterGroup
class ParameterGroup extends CustomResourceProvides a Redshift Cluster parameter group resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const bar = new aws.redshift.ParameterGroup("bar", {
family: "redshift-1.0",
parameters: [
{
name: "require_ssl",
value: "true",
},
{
name: "query_group",
value: "example",
},
{
name: "enable_user_activity_logging",
value: "true",
},
],
});constructor
new ParameterGroup(name: string, args: ParameterGroupArgs, opts?: pulumi.CustomResourceOptions)Create a ParameterGroup resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ParameterGroupState, opts?: pulumi.CustomResourceOptions): ParameterGroupGet an existing ParameterGroup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is ParameterGroupReturns true if the given object is an instance of ParameterGroup. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property arn
public arn: pulumi.Output<string>;Amazon Resource Name (ARN) of parameter group
property description
public description: pulumi.Output<string>;The description of the Redshift parameter group. Defaults to “Managed by Pulumi”.
property family
public family: pulumi.Output<string>;The family of the Redshift parameter group.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property name
public name: pulumi.Output<string>;The name of the Redshift parameter.
property parameters
public parameters: pulumi.Output<ParameterGroupParameter[] | undefined>;A list of Redshift parameters to apply.
property tags
public tags: pulumi.Output<{[key: string]: any} | undefined>;A map of tags to assign to the resource.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Resource SecurityGroup
class SecurityGroup extends CustomResourceCreates a new Amazon Redshift security group. You use security groups to control access to non-VPC clusters
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const defaultSecurityGroup = new aws.redshift.SecurityGroup("default", {
ingress: [{
cidr: "10.0.0.0/24",
}],
});constructor
new SecurityGroup(name: string, args: SecurityGroupArgs, opts?: pulumi.CustomResourceOptions)Create a SecurityGroup resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SecurityGroupState, opts?: pulumi.CustomResourceOptions): SecurityGroupGet an existing SecurityGroup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is SecurityGroupReturns true if the given object is an instance of SecurityGroup. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property description
public description: pulumi.Output<string>;The description of the Redshift security group. Defaults to “Managed by Pulumi”.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property ingress
public ingress: pulumi.Output<SecurityGroupIngress[]>;A list of ingress rules.
property name
public name: pulumi.Output<string>;The name of the Redshift security group.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Resource SnapshotCopyGrant
class SnapshotCopyGrant extends CustomResourceCreates a snapshot copy grant that allows AWS Redshift to encrypt copied snapshots with a customer master key from AWS KMS in a destination region.
Note that the grant must exist in the destination region, and not in the region of the cluster.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const testSnapshotCopyGrant = new aws.redshift.SnapshotCopyGrant("test", {
snapshotCopyGrantName: "my-grant",
});
const testCluster = new aws.redshift.Cluster("test", {
// ... other configuration ...
snapshotCopy: {
destinationRegion: "us-east-2",
grantName: testSnapshotCopyGrant.snapshotCopyGrantName,
},
});constructor
new SnapshotCopyGrant(name: string, args: SnapshotCopyGrantArgs, opts?: pulumi.CustomResourceOptions)Create a SnapshotCopyGrant resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SnapshotCopyGrantState, opts?: pulumi.CustomResourceOptions): SnapshotCopyGrantGet an existing SnapshotCopyGrant resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is SnapshotCopyGrantReturns true if the given object is an instance of SnapshotCopyGrant. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property arn
public arn: pulumi.Output<string>;Amazon Resource Name (ARN) of snapshot copy grant
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property kmsKeyId
public kmsKeyId: pulumi.Output<string>;The unique identifier for the customer master key (CMK) that the grant applies to. Specify the key ID or the Amazon Resource Name (ARN) of the CMK. To specify a CMK in a different AWS account, you must use the key ARN. If not specified, the default key is used.
property snapshotCopyGrantName
public snapshotCopyGrantName: pulumi.Output<string>;A friendly name for identifying the grant.
property tags
public tags: pulumi.Output<{[key: string]: any} | undefined>;A map of tags to assign to the resource.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Resource SnapshotSchedule
class SnapshotSchedule extends CustomResourceExample Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const defaultSnapshotSchedule = new aws.redshift.SnapshotSchedule("default", {
definitions: ["rate(12 hours)"],
identifier: "tf-redshift-snapshot-schedule",
});constructor
new SnapshotSchedule(name: string, args: SnapshotScheduleArgs, opts?: pulumi.CustomResourceOptions)Create a SnapshotSchedule resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SnapshotScheduleState, opts?: pulumi.CustomResourceOptions): SnapshotScheduleGet an existing SnapshotSchedule resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is SnapshotScheduleReturns true if the given object is an instance of SnapshotSchedule. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property arn
public arn: pulumi.Output<string>;property definitions
public definitions: pulumi.Output<string[]>;The definition of the snapshot schedule. The definition is made up of schedule expressions, for example cron(30 12 *) or rate(12 hours).
property description
public description: pulumi.Output<string | undefined>;The description of the snapshot schedule.
property forceDestroy
public forceDestroy: pulumi.Output<boolean | undefined>;Whether to destroy all associated clusters with this snapshot schedule on deletion. Must be enabled and applied before attempting deletion.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property identifier
public identifier: pulumi.Output<string>;The snapshot schedule identifier. If omitted, this provider will assign a random, unique identifier.
property identifierPrefix
public identifierPrefix: pulumi.Output<string>;Creates a unique
identifier beginning with the specified prefix. Conflicts with identifier.
property tags
public tags: pulumi.Output<{[key: string]: any} | undefined>;A map of tags to assign to the resource.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Resource SnapshotScheduleAssociation
class SnapshotScheduleAssociation extends CustomResourceExample Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const defaultCluster = new aws.redshift.Cluster("default", {
clusterIdentifier: "tf-redshift-cluster",
clusterType: "single-node",
databaseName: "mydb",
masterPassword: "Mustbe8characters",
masterUsername: "foo",
nodeType: "dc1.large",
});
const defaultSnapshotSchedule = new aws.redshift.SnapshotSchedule("default", {
definitions: ["rate(12 hours)"],
identifier: "tf-redshift-snapshot-schedule",
});
const defaultSnapshotScheduleAssociation = new aws.redshift.SnapshotScheduleAssociation("default", {
clusterIdentifier: defaultCluster.id,
scheduleIdentifier: defaultSnapshotSchedule.id,
});constructor
new SnapshotScheduleAssociation(name: string, args: SnapshotScheduleAssociationArgs, opts?: pulumi.CustomResourceOptions)Create a SnapshotScheduleAssociation resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SnapshotScheduleAssociationState, opts?: pulumi.CustomResourceOptions): SnapshotScheduleAssociationGet an existing SnapshotScheduleAssociation resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is SnapshotScheduleAssociationReturns true if the given object is an instance of SnapshotScheduleAssociation. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property clusterIdentifier
public clusterIdentifier: pulumi.Output<string>;The cluster identifier.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property scheduleIdentifier
public scheduleIdentifier: pulumi.Output<string>;The snapshot schedule identifier.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Resource SubnetGroup
class SubnetGroup extends CustomResourceCreates a new Amazon Redshift subnet group. You must provide a list of one or more subnets in your existing Amazon Virtual Private Cloud (Amazon VPC) when creating Amazon Redshift subnet group.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const fooVpc = new aws.ec2.Vpc("foo", {
cidrBlock: "10.1.0.0/16",
});
const fooSubnet = new aws.ec2.Subnet("foo", {
availabilityZone: "us-west-2a",
cidrBlock: "10.1.1.0/24",
tags: {
Name: "tf-dbsubnet-test-1",
},
vpcId: fooVpc.id,
});
const bar = new aws.ec2.Subnet("bar", {
availabilityZone: "us-west-2b",
cidrBlock: "10.1.2.0/24",
tags: {
Name: "tf-dbsubnet-test-2",
},
vpcId: fooVpc.id,
});
const fooSubnetGroup = new aws.redshift.SubnetGroup("foo", {
subnetIds: [
fooSubnet.id,
bar.id,
],
tags: {
environment: "Production",
},
});constructor
new SubnetGroup(name: string, args: SubnetGroupArgs, opts?: pulumi.CustomResourceOptions)Create a SubnetGroup resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SubnetGroupState, opts?: pulumi.CustomResourceOptions): SubnetGroupGet an existing SubnetGroup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is SubnetGroupReturns true if the given object is an instance of SubnetGroup. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property arn
public arn: pulumi.Output<string>;Amazon Resource Name (ARN) of the Redshift Subnet group name
property description
public description: pulumi.Output<string>;The description of the Redshift Subnet group. Defaults to “Managed by Pulumi”.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property name
public name: pulumi.Output<string>;The name of the Redshift Subnet group.
property subnetIds
public subnetIds: pulumi.Output<string[]>;An array of VPC subnet IDs.
property tags
public tags: pulumi.Output<{[key: string]: any} | undefined>;A map of tags to assign to the resource.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Functions
Function getCluster
getCluster(args: GetClusterArgs, opts?: pulumi.InvokeOptions): Promise<GetClusterResult>Provides details about a specific redshift cluster.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const testCluster = pulumi.output(aws.redshift.getCluster({
clusterIdentifier: "test-cluster",
}, { async: true }));
const testStream = new aws.kinesis.FirehoseDeliveryStream("test_stream", {
destination: "redshift",
redshiftConfiguration: {
clusterJdbcurl: pulumi.interpolate`jdbc:redshift://${testCluster.endpoint}/${testCluster.databaseName}`,
copyOptions: "delimiter '|'", // the default delimiter
dataTableColumns: "test-col",
dataTableName: "test-table",
password: "T3stPass",
roleArn: aws_iam_role_firehose_role.arn,
username: "testuser",
},
s3Configuration: {
bucketArn: aws_s3_bucket_bucket.arn,
bufferInterval: 400,
bufferSize: 10,
compressionFormat: "GZIP",
roleArn: aws_iam_role_firehose_role.arn,
},
});Function getServiceAccount
getServiceAccount(args?: GetServiceAccountArgs, opts?: pulumi.InvokeOptions): Promise<GetServiceAccountResult>Use this data source to get the Account ID of the AWS Redshift Service Account in a given region for the purpose of allowing Redshift to store audit data in S3.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const main = pulumi.output(aws.redshift.getServiceAccount({ async: true }));
const bucket = new aws.s3.Bucket("bucket", {
forceDestroy: true,
policy: pulumi.interpolate`{
"Version": "2008-10-17",
"Statement": [
{
"Sid": "Put bucket policy needed for audit logging",
"Effect": "Allow",
"Principal": {
"AWS": "${main.arn}"
},
"Action": "s3:PutObject",
"Resource": "arn:aws:s3:::tf-redshift-logging-test-bucket/*"
},
{
"Sid": "Get bucket policy needed for audit logging ",
"Effect": "Allow",
"Principal": {
"AWS": "${main.arn}"
},
"Action": "s3:GetBucketAcl",
"Resource": "arn:aws:s3:::tf-redshift-logging-test-bucket"
}
]
}
`,
});Others
interface ClusterArgs
interface ClusterArgsThe set of arguments for constructing a Cluster resource.
property allowVersionUpgrade
allowVersionUpgrade?: pulumi.Input<boolean>;If true , major version upgrades can be applied during the maintenance window to the Amazon Redshift engine that is running on the cluster. Default is true
property automatedSnapshotRetentionPeriod
automatedSnapshotRetentionPeriod?: pulumi.Input<number>;The number of days that automated snapshots are retained. If the value is 0, automated snapshots are disabled. Even if automated snapshots are disabled, you can still create manual snapshots when you want with create-cluster-snapshot. Default is 1.
property availabilityZone
availabilityZone?: pulumi.Input<string>;The EC2 Availability Zone (AZ) in which you want Amazon Redshift to provision the cluster. For example, if you have several EC2 instances running in a specific Availability Zone, then you might want the cluster to be provisioned in the same zone in order to decrease network latency.
property clusterIdentifier
clusterIdentifier: pulumi.Input<string>;The Cluster Identifier. Must be a lower case string.
property clusterParameterGroupName
clusterParameterGroupName?: pulumi.Input<string>;The name of the parameter group to be associated with this cluster.
property clusterPublicKey
clusterPublicKey?: pulumi.Input<string>;The public key for the cluster
property clusterRevisionNumber
clusterRevisionNumber?: pulumi.Input<string>;The specific revision number of the database in the cluster
property clusterSecurityGroups
clusterSecurityGroups?: pulumi.Input<pulumi.Input<string>[]>;A list of security groups to be associated with this cluster.
property clusterSubnetGroupName
clusterSubnetGroupName?: pulumi.Input<string>;The name of a cluster subnet group to be associated with this cluster. If this parameter is not provided the resulting cluster will be deployed outside virtual private cloud (VPC).
property clusterType
clusterType?: pulumi.Input<string>;The cluster type to use. Either single-node or multi-node.
property clusterVersion
clusterVersion?: pulumi.Input<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.
property databaseName
databaseName?: pulumi.Input<string>;The name of the first database to be created when the cluster is created.
If you do not provide a name, Amazon Redshift will create a default database called dev.
property elasticIp
elasticIp?: pulumi.Input<string>;The Elastic IP (EIP) address for the cluster.
property encrypted
encrypted?: pulumi.Input<boolean>;If true , the data in the cluster is encrypted at rest.
property endpoint
endpoint?: pulumi.Input<string>;The connection endpoint
property enhancedVpcRouting
enhancedVpcRouting?: pulumi.Input<boolean>;If true , enhanced VPC routing is enabled.
property finalSnapshotIdentifier
finalSnapshotIdentifier?: pulumi.Input<string>;The identifier of the final snapshot that is to be created immediately before deleting the cluster. If this parameter is provided, skipFinalSnapshot must be false.
property iamRoles
iamRoles?: pulumi.Input<pulumi.Input<string>[]>;A list of IAM Role ARNs to associate with the cluster. A Maximum of 10 can be associated to the cluster at any time.
property kmsKeyId
kmsKeyId?: pulumi.Input<string>;The ARN for the KMS encryption key. When specifying kmsKeyId, encrypted needs to be set to true.
property logging
logging?: pulumi.Input<ClusterLogging>;Logging, documented below.
property masterPassword
masterPassword?: pulumi.Input<string>;Password for the master DB user. Note that this may show up in logs, and it will be stored in the state file. Password must contain at least 8 chars and contain at least one uppercase letter, one lowercase letter, and one number.
property masterUsername
masterUsername?: pulumi.Input<string>;Username for the master DB user.
property nodeType
nodeType: pulumi.Input<string>;The node type to be provisioned for the cluster.
property numberOfNodes
numberOfNodes?: pulumi.Input<number>;The number of compute nodes in the cluster. This parameter is required when the ClusterType parameter is specified as multi-node. Default is 1.
property ownerAccount
ownerAccount?: pulumi.Input<string>;The AWS customer account used to create or copy the snapshot. Required if you are restoring a snapshot you do not own, optional if you own the snapshot.
property port
port?: pulumi.Input<number>;The port number on which the cluster accepts incoming connections. The cluster is accessible only via the JDBC and ODBC connection strings. Part of the connection string requires the port on which the cluster will listen for incoming connections. Default port is 5439.
property preferredMaintenanceWindow
preferredMaintenanceWindow?: pulumi.Input<string>;The weekly time range (in UTC) during which automated cluster maintenance can occur. Format: ddd:hh24:mi-ddd:hh24:mi
property publiclyAccessible
publiclyAccessible?: pulumi.Input<boolean>;If true, the cluster can be accessed from a public network. Default is true.
property skipFinalSnapshot
skipFinalSnapshot?: pulumi.Input<boolean>;Determines whether a final snapshot of the cluster is created before Amazon Redshift deletes the cluster. If true , a final cluster snapshot is not created. If false , a final cluster snapshot is created before the cluster is deleted. Default is false.
property snapshotClusterIdentifier
snapshotClusterIdentifier?: pulumi.Input<string>;The name of the cluster the source snapshot was created from.
property snapshotCopy
snapshotCopy?: pulumi.Input<ClusterSnapshotCopy>;Configuration of automatic copy of snapshots from one region to another. Documented below.
property snapshotIdentifier
snapshotIdentifier?: pulumi.Input<string>;The name of the snapshot from which to create the new cluster.
property tags
tags?: pulumi.Input<{[key: string]: any}>;A map of tags to assign to the resource.
property vpcSecurityGroupIds
vpcSecurityGroupIds?: pulumi.Input<pulumi.Input<string>[]>;A list of Virtual Private Cloud (VPC) security groups to be associated with the cluster.
interface ClusterState
interface ClusterStateInput properties used for looking up and filtering Cluster resources.
property allowVersionUpgrade
allowVersionUpgrade?: pulumi.Input<boolean>;If true , major version upgrades can be applied during the maintenance window to the Amazon Redshift engine that is running on the cluster. Default is true
property arn
arn?: pulumi.Input<string>;Amazon Resource Name (ARN) of cluster
property automatedSnapshotRetentionPeriod
automatedSnapshotRetentionPeriod?: pulumi.Input<number>;The number of days that automated snapshots are retained. If the value is 0, automated snapshots are disabled. Even if automated snapshots are disabled, you can still create manual snapshots when you want with create-cluster-snapshot. Default is 1.
property availabilityZone
availabilityZone?: pulumi.Input<string>;The EC2 Availability Zone (AZ) in which you want Amazon Redshift to provision the cluster. For example, if you have several EC2 instances running in a specific Availability Zone, then you might want the cluster to be provisioned in the same zone in order to decrease network latency.
property clusterIdentifier
clusterIdentifier?: pulumi.Input<string>;The Cluster Identifier. Must be a lower case string.
property clusterParameterGroupName
clusterParameterGroupName?: pulumi.Input<string>;The name of the parameter group to be associated with this cluster.
property clusterPublicKey
clusterPublicKey?: pulumi.Input<string>;The public key for the cluster
property clusterRevisionNumber
clusterRevisionNumber?: pulumi.Input<string>;The specific revision number of the database in the cluster
property clusterSecurityGroups
clusterSecurityGroups?: pulumi.Input<pulumi.Input<string>[]>;A list of security groups to be associated with this cluster.
property clusterSubnetGroupName
clusterSubnetGroupName?: pulumi.Input<string>;The name of a cluster subnet group to be associated with this cluster. If this parameter is not provided the resulting cluster will be deployed outside virtual private cloud (VPC).
property clusterType
clusterType?: pulumi.Input<string>;The cluster type to use. Either single-node or multi-node.
property clusterVersion
clusterVersion?: pulumi.Input<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.
property databaseName
databaseName?: pulumi.Input<string>;The name of the first database to be created when the cluster is created.
If you do not provide a name, Amazon Redshift will create a default database called dev.
property dnsName
dnsName?: pulumi.Input<string>;The DNS name of the cluster
property elasticIp
elasticIp?: pulumi.Input<string>;The Elastic IP (EIP) address for the cluster.
property encrypted
encrypted?: pulumi.Input<boolean>;If true , the data in the cluster is encrypted at rest.
property endpoint
endpoint?: pulumi.Input<string>;The connection endpoint
property enhancedVpcRouting
enhancedVpcRouting?: pulumi.Input<boolean>;If true , enhanced VPC routing is enabled.
property finalSnapshotIdentifier
finalSnapshotIdentifier?: pulumi.Input<string>;The identifier of the final snapshot that is to be created immediately before deleting the cluster. If this parameter is provided, skipFinalSnapshot must be false.
property iamRoles
iamRoles?: pulumi.Input<pulumi.Input<string>[]>;A list of IAM Role ARNs to associate with the cluster. A Maximum of 10 can be associated to the cluster at any time.
property kmsKeyId
kmsKeyId?: pulumi.Input<string>;The ARN for the KMS encryption key. When specifying kmsKeyId, encrypted needs to be set to true.
property logging
logging?: pulumi.Input<ClusterLogging>;Logging, documented below.
property masterPassword
masterPassword?: pulumi.Input<string>;Password for the master DB user. Note that this may show up in logs, and it will be stored in the state file. Password must contain at least 8 chars and contain at least one uppercase letter, one lowercase letter, and one number.
property masterUsername
masterUsername?: pulumi.Input<string>;Username for the master DB user.
property nodeType
nodeType?: pulumi.Input<string>;The node type to be provisioned for the cluster.
property numberOfNodes
numberOfNodes?: pulumi.Input<number>;The number of compute nodes in the cluster. This parameter is required when the ClusterType parameter is specified as multi-node. Default is 1.
property ownerAccount
ownerAccount?: pulumi.Input<string>;The AWS customer account used to create or copy the snapshot. Required if you are restoring a snapshot you do not own, optional if you own the snapshot.
property port
port?: pulumi.Input<number>;The port number on which the cluster accepts incoming connections. The cluster is accessible only via the JDBC and ODBC connection strings. Part of the connection string requires the port on which the cluster will listen for incoming connections. Default port is 5439.
property preferredMaintenanceWindow
preferredMaintenanceWindow?: pulumi.Input<string>;The weekly time range (in UTC) during which automated cluster maintenance can occur. Format: ddd:hh24:mi-ddd:hh24:mi
property publiclyAccessible
publiclyAccessible?: pulumi.Input<boolean>;If true, the cluster can be accessed from a public network. Default is true.
property skipFinalSnapshot
skipFinalSnapshot?: pulumi.Input<boolean>;Determines whether a final snapshot of the cluster is created before Amazon Redshift deletes the cluster. If true , a final cluster snapshot is not created. If false , a final cluster snapshot is created before the cluster is deleted. Default is false.
property snapshotClusterIdentifier
snapshotClusterIdentifier?: pulumi.Input<string>;The name of the cluster the source snapshot was created from.
property snapshotCopy
snapshotCopy?: pulumi.Input<ClusterSnapshotCopy>;Configuration of automatic copy of snapshots from one region to another. Documented below.
property snapshotIdentifier
snapshotIdentifier?: pulumi.Input<string>;The name of the snapshot from which to create the new cluster.
property tags
tags?: pulumi.Input<{[key: string]: any}>;A map of tags to assign to the resource.
property vpcSecurityGroupIds
vpcSecurityGroupIds?: pulumi.Input<pulumi.Input<string>[]>;A list of Virtual Private Cloud (VPC) security groups to be associated with the cluster.
interface EventSubscriptionArgs
interface EventSubscriptionArgsThe set of arguments for constructing a EventSubscription resource.
property enabled
enabled?: pulumi.Input<boolean>;A boolean flag to enable/disable the subscription. Defaults to true.
property eventCategories
eventCategories?: pulumi.Input<pulumi.Input<string>[]>;A list of event categories for a SourceType that you want to subscribe to. See https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-event-notifications.html or run aws redshift describe-event-categories.
property name
name?: pulumi.Input<string>;The name of the Redshift event subscription.
property severity
severity?: pulumi.Input<string>;The event severity to be published by the notification subscription. Valid options are INFO or ERROR.
property snsTopicArn
snsTopicArn: pulumi.Input<string>;The ARN of the SNS topic to send events to.
property sourceIds
sourceIds?: pulumi.Input<pulumi.Input<string>[]>;A list of identifiers of the event sources for which events will be returned. If not specified, then all sources are included in the response. If specified, a sourceType must also be specified.
property sourceType
sourceType?: pulumi.Input<string>;The type of source that will be generating the events. Valid options are cluster, cluster-parameter-group, cluster-security-group, or cluster-snapshot. If not set, all sources will be subscribed to.
property tags
tags?: pulumi.Input<{[key: string]: any}>;A map of tags to assign to the resource.
interface EventSubscriptionState
interface EventSubscriptionStateInput properties used for looking up and filtering EventSubscription resources.
property arn
arn?: pulumi.Input<string>;property customerAwsId
customerAwsId?: pulumi.Input<string>;property enabled
enabled?: pulumi.Input<boolean>;A boolean flag to enable/disable the subscription. Defaults to true.
property eventCategories
eventCategories?: pulumi.Input<pulumi.Input<string>[]>;A list of event categories for a SourceType that you want to subscribe to. See https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-event-notifications.html or run aws redshift describe-event-categories.
property name
name?: pulumi.Input<string>;The name of the Redshift event subscription.
property severity
severity?: pulumi.Input<string>;The event severity to be published by the notification subscription. Valid options are INFO or ERROR.
property snsTopicArn
snsTopicArn?: pulumi.Input<string>;The ARN of the SNS topic to send events to.
property sourceIds
sourceIds?: pulumi.Input<pulumi.Input<string>[]>;A list of identifiers of the event sources for which events will be returned. If not specified, then all sources are included in the response. If specified, a sourceType must also be specified.
property sourceType
sourceType?: pulumi.Input<string>;The type of source that will be generating the events. Valid options are cluster, cluster-parameter-group, cluster-security-group, or cluster-snapshot. If not set, all sources will be subscribed to.
property status
status?: pulumi.Input<string>;property tags
tags?: pulumi.Input<{[key: string]: any}>;A map of tags to assign to the resource.
interface GetClusterArgs
interface GetClusterArgsA collection of arguments for invoking getCluster.
property clusterIdentifier
clusterIdentifier: string;The cluster identifier
property tags
tags?: undefined | {[key: string]: any};The tags associated to the cluster
interface GetClusterResult
interface GetClusterResultA collection of values returned by getCluster.
property allowVersionUpgrade
allowVersionUpgrade: boolean;Whether major version upgrades can be applied during maintenance period
property automatedSnapshotRetentionPeriod
automatedSnapshotRetentionPeriod: number;The backup retention period
property availabilityZone
availabilityZone: string;The availability zone of the cluster
property bucketName
bucketName: string;The name of the S3 bucket where the log files are to be stored
property clusterIdentifier
clusterIdentifier: string;The cluster identifier
property clusterParameterGroupName
clusterParameterGroupName: string;The name of the parameter group to be associated with this cluster
property clusterPublicKey
clusterPublicKey: string;The public key for the cluster
property clusterRevisionNumber
clusterRevisionNumber: string;The cluster revision number
property clusterSecurityGroups
clusterSecurityGroups: string[];The security groups associated with the cluster
property clusterSubnetGroupName
clusterSubnetGroupName: string;The name of a cluster subnet group to be associated with this cluster
property clusterType
clusterType: string;The cluster type
property clusterVersion
clusterVersion: string;property databaseName
databaseName: string;The name of the default database in the cluster
property elasticIp
elasticIp: string;The Elastic IP of the cluster
property enableLogging
enableLogging: boolean;Whether cluster logging is enabled
property encrypted
encrypted: boolean;Whether the cluster data is encrypted
property endpoint
endpoint: string;The cluster endpoint
property enhancedVpcRouting
enhancedVpcRouting: boolean;Whether enhanced VPC routing is enabled
property iamRoles
iamRoles: string[];The IAM roles associated to the cluster
property id
id: string;The provider-assigned unique ID for this managed resource.
property kmsKeyId
kmsKeyId: string;The KMS encryption key associated to the cluster
property masterUsername
masterUsername: string;Username for the master DB user
property nodeType
nodeType: string;The cluster node type
property numberOfNodes
numberOfNodes: number;The number of nodes in the cluster
property port
port: number;The port the cluster responds on
property preferredMaintenanceWindow
preferredMaintenanceWindow: string;The maintenance window
property publiclyAccessible
publiclyAccessible: boolean;Whether the cluster is publicly accessible
property s3KeyPrefix
s3KeyPrefix: string;The folder inside the S3 bucket where the log files are stored
property tags
tags?: undefined | {[key: string]: any};The tags associated to the cluster
property vpcId
vpcId: string;The VPC Id associated with the cluster
property vpcSecurityGroupIds
vpcSecurityGroupIds: string[];The VPC security group Ids associated with the cluster
interface GetServiceAccountArgs
interface GetServiceAccountArgsA collection of arguments for invoking getServiceAccount.
property region
region?: undefined | string;Name of the region whose AWS Redshift account ID is desired. Defaults to the region from the AWS provider configuration.
interface GetServiceAccountResult
interface GetServiceAccountResultA collection of values returned by getServiceAccount.
property arn
arn: string;The ARN of the AWS Redshift service account in the selected region.
property id
id: string;The provider-assigned unique ID for this managed resource.
property region
region?: undefined | string;interface ParameterGroupArgs
interface ParameterGroupArgsThe set of arguments for constructing a ParameterGroup resource.
property description
description?: pulumi.Input<string>;The description of the Redshift parameter group. Defaults to “Managed by Pulumi”.
property family
family: pulumi.Input<string>;The family of the Redshift parameter group.
property name
name?: pulumi.Input<string>;The name of the Redshift parameter.
property parameters
parameters?: pulumi.Input<pulumi.Input<ParameterGroupParameter>[]>;A list of Redshift parameters to apply.
property tags
tags?: pulumi.Input<{[key: string]: any}>;A map of tags to assign to the resource.
interface ParameterGroupState
interface ParameterGroupStateInput properties used for looking up and filtering ParameterGroup resources.
property arn
arn?: pulumi.Input<string>;Amazon Resource Name (ARN) of parameter group
property description
description?: pulumi.Input<string>;The description of the Redshift parameter group. Defaults to “Managed by Pulumi”.
property family
family?: pulumi.Input<string>;The family of the Redshift parameter group.
property name
name?: pulumi.Input<string>;The name of the Redshift parameter.
property parameters
parameters?: pulumi.Input<pulumi.Input<ParameterGroupParameter>[]>;A list of Redshift parameters to apply.
property tags
tags?: pulumi.Input<{[key: string]: any}>;A map of tags to assign to the resource.
interface SecurityGroupArgs
interface SecurityGroupArgsThe set of arguments for constructing a SecurityGroup resource.
property description
description?: pulumi.Input<string>;The description of the Redshift security group. Defaults to “Managed by Pulumi”.
property ingress
ingress: pulumi.Input<pulumi.Input<SecurityGroupIngress>[]>;A list of ingress rules.
property name
name?: pulumi.Input<string>;The name of the Redshift security group.
interface SecurityGroupState
interface SecurityGroupStateInput properties used for looking up and filtering SecurityGroup resources.
property description
description?: pulumi.Input<string>;The description of the Redshift security group. Defaults to “Managed by Pulumi”.
property ingress
ingress?: pulumi.Input<pulumi.Input<SecurityGroupIngress>[]>;A list of ingress rules.
property name
name?: pulumi.Input<string>;The name of the Redshift security group.
interface SnapshotCopyGrantArgs
interface SnapshotCopyGrantArgsThe set of arguments for constructing a SnapshotCopyGrant resource.
property kmsKeyId
kmsKeyId?: pulumi.Input<string>;The unique identifier for the customer master key (CMK) that the grant applies to. Specify the key ID or the Amazon Resource Name (ARN) of the CMK. To specify a CMK in a different AWS account, you must use the key ARN. If not specified, the default key is used.
property snapshotCopyGrantName
snapshotCopyGrantName: pulumi.Input<string>;A friendly name for identifying the grant.
property tags
tags?: pulumi.Input<{[key: string]: any}>;A map of tags to assign to the resource.
interface SnapshotCopyGrantState
interface SnapshotCopyGrantStateInput properties used for looking up and filtering SnapshotCopyGrant resources.
property arn
arn?: pulumi.Input<string>;Amazon Resource Name (ARN) of snapshot copy grant
property kmsKeyId
kmsKeyId?: pulumi.Input<string>;The unique identifier for the customer master key (CMK) that the grant applies to. Specify the key ID or the Amazon Resource Name (ARN) of the CMK. To specify a CMK in a different AWS account, you must use the key ARN. If not specified, the default key is used.
property snapshotCopyGrantName
snapshotCopyGrantName?: pulumi.Input<string>;A friendly name for identifying the grant.
property tags
tags?: pulumi.Input<{[key: string]: any}>;A map of tags to assign to the resource.
interface SnapshotScheduleArgs
interface SnapshotScheduleArgsThe set of arguments for constructing a SnapshotSchedule resource.
property definitions
definitions: pulumi.Input<pulumi.Input<string>[]>;The definition of the snapshot schedule. The definition is made up of schedule expressions, for example cron(30 12 *) or rate(12 hours).
property description
description?: pulumi.Input<string>;The description of the snapshot schedule.
property forceDestroy
forceDestroy?: pulumi.Input<boolean>;Whether to destroy all associated clusters with this snapshot schedule on deletion. Must be enabled and applied before attempting deletion.
property identifier
identifier?: pulumi.Input<string>;The snapshot schedule identifier. If omitted, this provider will assign a random, unique identifier.
property identifierPrefix
identifierPrefix?: pulumi.Input<string>;Creates a unique
identifier beginning with the specified prefix. Conflicts with identifier.
property tags
tags?: pulumi.Input<{[key: string]: any}>;A map of tags to assign to the resource.
interface SnapshotScheduleAssociationArgs
interface SnapshotScheduleAssociationArgsThe set of arguments for constructing a SnapshotScheduleAssociation resource.
property clusterIdentifier
clusterIdentifier: pulumi.Input<string>;The cluster identifier.
property scheduleIdentifier
scheduleIdentifier: pulumi.Input<string>;The snapshot schedule identifier.
interface SnapshotScheduleAssociationState
interface SnapshotScheduleAssociationStateInput properties used for looking up and filtering SnapshotScheduleAssociation resources.
property clusterIdentifier
clusterIdentifier?: pulumi.Input<string>;The cluster identifier.
property scheduleIdentifier
scheduleIdentifier?: pulumi.Input<string>;The snapshot schedule identifier.
interface SnapshotScheduleState
interface SnapshotScheduleStateInput properties used for looking up and filtering SnapshotSchedule resources.
property arn
arn?: pulumi.Input<string>;property definitions
definitions?: pulumi.Input<pulumi.Input<string>[]>;The definition of the snapshot schedule. The definition is made up of schedule expressions, for example cron(30 12 *) or rate(12 hours).
property description
description?: pulumi.Input<string>;The description of the snapshot schedule.
property forceDestroy
forceDestroy?: pulumi.Input<boolean>;Whether to destroy all associated clusters with this snapshot schedule on deletion. Must be enabled and applied before attempting deletion.
property identifier
identifier?: pulumi.Input<string>;The snapshot schedule identifier. If omitted, this provider will assign a random, unique identifier.
property identifierPrefix
identifierPrefix?: pulumi.Input<string>;Creates a unique
identifier beginning with the specified prefix. Conflicts with identifier.
property tags
tags?: pulumi.Input<{[key: string]: any}>;A map of tags to assign to the resource.
interface SubnetGroupArgs
interface SubnetGroupArgsThe set of arguments for constructing a SubnetGroup resource.
property description
description?: pulumi.Input<string>;The description of the Redshift Subnet group. Defaults to “Managed by Pulumi”.
property name
name?: pulumi.Input<string>;The name of the Redshift Subnet group.
property subnetIds
subnetIds: pulumi.Input<pulumi.Input<string>[]>;An array of VPC subnet IDs.
property tags
tags?: pulumi.Input<{[key: string]: any}>;A map of tags to assign to the resource.
interface SubnetGroupState
interface SubnetGroupStateInput properties used for looking up and filtering SubnetGroup resources.
property arn
arn?: pulumi.Input<string>;Amazon Resource Name (ARN) of the Redshift Subnet group name
property description
description?: pulumi.Input<string>;The description of the Redshift Subnet group. Defaults to “Managed by Pulumi”.
property name
name?: pulumi.Input<string>;The name of the Redshift Subnet group.
property subnetIds
subnetIds?: pulumi.Input<pulumi.Input<string>[]>;An array of VPC subnet IDs.
property tags
tags?: pulumi.Input<{[key: string]: any}>;A map of tags to assign to the resource.