Documentation ¶
Index ¶
- type Cluster
- func (r *Cluster) AllowVersionUpgrade() *pulumi.BoolOutput
- func (r *Cluster) AutomatedSnapshotRetentionPeriod() *pulumi.IntOutput
- func (r *Cluster) AvailabilityZone() *pulumi.StringOutput
- func (r *Cluster) ClusterIdentifier() *pulumi.StringOutput
- func (r *Cluster) ClusterParameterGroupName() *pulumi.StringOutput
- func (r *Cluster) ClusterPublicKey() *pulumi.StringOutput
- func (r *Cluster) ClusterRevisionNumber() *pulumi.StringOutput
- func (r *Cluster) ClusterSecurityGroups() *pulumi.ArrayOutput
- func (r *Cluster) ClusterSubnetGroupName() *pulumi.StringOutput
- func (r *Cluster) ClusterType() *pulumi.StringOutput
- func (r *Cluster) ClusterVersion() *pulumi.StringOutput
- func (r *Cluster) DatabaseName() *pulumi.StringOutput
- func (r *Cluster) DnsName() *pulumi.StringOutput
- func (r *Cluster) ElasticIp() *pulumi.StringOutput
- func (r *Cluster) Encrypted() *pulumi.BoolOutput
- func (r *Cluster) Endpoint() *pulumi.StringOutput
- func (r *Cluster) EnhancedVpcRouting() *pulumi.BoolOutput
- func (r *Cluster) FinalSnapshotIdentifier() *pulumi.StringOutput
- func (r *Cluster) ID() *pulumi.IDOutput
- func (r *Cluster) IamRoles() *pulumi.ArrayOutput
- func (r *Cluster) KmsKeyId() *pulumi.StringOutput
- func (r *Cluster) Logging() *pulumi.Output
- func (r *Cluster) MasterPassword() *pulumi.StringOutput
- func (r *Cluster) MasterUsername() *pulumi.StringOutput
- func (r *Cluster) NodeType() *pulumi.StringOutput
- func (r *Cluster) NumberOfNodes() *pulumi.IntOutput
- func (r *Cluster) OwnerAccount() *pulumi.StringOutput
- func (r *Cluster) Port() *pulumi.IntOutput
- func (r *Cluster) PreferredMaintenanceWindow() *pulumi.StringOutput
- func (r *Cluster) PubliclyAccessible() *pulumi.BoolOutput
- func (r *Cluster) SkipFinalSnapshot() *pulumi.BoolOutput
- func (r *Cluster) SnapshotClusterIdentifier() *pulumi.StringOutput
- func (r *Cluster) SnapshotCopy() *pulumi.Output
- func (r *Cluster) SnapshotIdentifier() *pulumi.StringOutput
- func (r *Cluster) Tags() *pulumi.MapOutput
- func (r *Cluster) URN() *pulumi.URNOutput
- func (r *Cluster) VpcSecurityGroupIds() *pulumi.ArrayOutput
- type ClusterArgs
- type ClusterState
- type EventSubscription
- func (r *EventSubscription) CustomerAwsId() *pulumi.StringOutput
- func (r *EventSubscription) Enabled() *pulumi.BoolOutput
- func (r *EventSubscription) EventCategories() *pulumi.ArrayOutput
- func (r *EventSubscription) ID() *pulumi.IDOutput
- func (r *EventSubscription) Name() *pulumi.StringOutput
- func (r *EventSubscription) Severity() *pulumi.StringOutput
- func (r *EventSubscription) SnsTopicArn() *pulumi.StringOutput
- func (r *EventSubscription) SourceIds() *pulumi.ArrayOutput
- func (r *EventSubscription) SourceType() *pulumi.StringOutput
- func (r *EventSubscription) Status() *pulumi.StringOutput
- func (r *EventSubscription) Tags() *pulumi.MapOutput
- func (r *EventSubscription) URN() *pulumi.URNOutput
- type EventSubscriptionArgs
- type EventSubscriptionState
- type GetClusterArgs
- type GetClusterResult
- type GetServiceAccountArgs
- type GetServiceAccountResult
- type ParameterGroup
- func (r *ParameterGroup) Description() *pulumi.StringOutput
- func (r *ParameterGroup) Family() *pulumi.StringOutput
- func (r *ParameterGroup) ID() *pulumi.IDOutput
- func (r *ParameterGroup) Name() *pulumi.StringOutput
- func (r *ParameterGroup) Parameters() *pulumi.ArrayOutput
- func (r *ParameterGroup) URN() *pulumi.URNOutput
- type ParameterGroupArgs
- type ParameterGroupState
- type SecurityGroup
- type SecurityGroupArgs
- type SecurityGroupState
- type SnapshotCopyGrant
- type SnapshotCopyGrantArgs
- type SnapshotCopyGrantState
- type SubnetGroup
- type SubnetGroupArgs
- type SubnetGroupState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct {
// contains filtered or unexported fields
}
Provides a Redshift Cluster Resource.
> **Note:** All arguments including the username and password will be stored in the raw state as plain-text. [Read more about sensitive data in state](https://www.terraform.io/docs/state/sensitive-data.html).
func GetCluster ¶
func GetCluster(ctx *pulumi.Context, name string, id pulumi.ID, state *ClusterState, opts ...pulumi.ResourceOpt) (*Cluster, error)
GetCluster gets an existing Cluster resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewCluster ¶
func NewCluster(ctx *pulumi.Context, name string, args *ClusterArgs, opts ...pulumi.ResourceOpt) (*Cluster, error)
NewCluster registers a new resource with the given unique name, arguments, and options.
func (*Cluster) AllowVersionUpgrade ¶
func (r *Cluster) AllowVersionUpgrade() *pulumi.BoolOutput
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
func (*Cluster) AutomatedSnapshotRetentionPeriod ¶
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.
func (*Cluster) AvailabilityZone ¶
func (r *Cluster) AvailabilityZone() *pulumi.StringOutput
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.
func (*Cluster) ClusterIdentifier ¶
func (r *Cluster) ClusterIdentifier() *pulumi.StringOutput
The Cluster Identifier. Must be a lower case string.
func (*Cluster) ClusterParameterGroupName ¶
func (r *Cluster) ClusterParameterGroupName() *pulumi.StringOutput
The name of the parameter group to be associated with this cluster.
func (*Cluster) ClusterPublicKey ¶
func (r *Cluster) ClusterPublicKey() *pulumi.StringOutput
The public key for the cluster
func (*Cluster) ClusterRevisionNumber ¶
func (r *Cluster) ClusterRevisionNumber() *pulumi.StringOutput
The specific revision number of the database in the cluster
func (*Cluster) ClusterSecurityGroups ¶
func (r *Cluster) ClusterSecurityGroups() *pulumi.ArrayOutput
A list of security groups to be associated with this cluster.
func (*Cluster) ClusterSubnetGroupName ¶
func (r *Cluster) ClusterSubnetGroupName() *pulumi.StringOutput
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).
func (*Cluster) ClusterType ¶
func (r *Cluster) ClusterType() *pulumi.StringOutput
The cluster type to use. Either `single-node` or `multi-node`.
func (*Cluster) ClusterVersion ¶
func (r *Cluster) ClusterVersion() *pulumi.StringOutput
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.
func (*Cluster) DatabaseName ¶
func (r *Cluster) DatabaseName() *pulumi.StringOutput
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`.
func (*Cluster) DnsName ¶
func (r *Cluster) DnsName() *pulumi.StringOutput
The DNS name of the cluster
func (*Cluster) ElasticIp ¶
func (r *Cluster) ElasticIp() *pulumi.StringOutput
The Elastic IP (EIP) address for the cluster.
func (*Cluster) Encrypted ¶
func (r *Cluster) Encrypted() *pulumi.BoolOutput
If true , the data in the cluster is encrypted at rest.
func (*Cluster) Endpoint ¶
func (r *Cluster) Endpoint() *pulumi.StringOutput
The connection endpoint
func (*Cluster) EnhancedVpcRouting ¶
func (r *Cluster) EnhancedVpcRouting() *pulumi.BoolOutput
If true , enhanced VPC routing is enabled.
func (*Cluster) FinalSnapshotIdentifier ¶
func (r *Cluster) FinalSnapshotIdentifier() *pulumi.StringOutput
The identifier of the final snapshot that is to be created immediately before deleting the cluster. If this parameter is provided, `skip_final_snapshot` must be false.
func (*Cluster) IamRoles ¶
func (r *Cluster) IamRoles() *pulumi.ArrayOutput
A list of IAM Role ARNs to associate with the cluster. A Maximum of 10 can be associated to the cluster at any time.
func (*Cluster) KmsKeyId ¶
func (r *Cluster) KmsKeyId() *pulumi.StringOutput
The ARN for the KMS encryption key. When specifying `kms_key_id`, `encrypted` needs to be set to true.
func (*Cluster) MasterPassword ¶
func (r *Cluster) MasterPassword() *pulumi.StringOutput
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.
func (*Cluster) MasterUsername ¶
func (r *Cluster) MasterUsername() *pulumi.StringOutput
Username for the master DB user.
func (*Cluster) NodeType ¶
func (r *Cluster) NodeType() *pulumi.StringOutput
The node type to be provisioned for the cluster.
func (*Cluster) NumberOfNodes ¶
The number of compute nodes in the cluster. This parameter is required when the ClusterType parameter is specified as multi-node. Default is 1.
func (*Cluster) OwnerAccount ¶
func (r *Cluster) OwnerAccount() *pulumi.StringOutput
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.
func (*Cluster) Port ¶
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.
func (*Cluster) PreferredMaintenanceWindow ¶
func (r *Cluster) PreferredMaintenanceWindow() *pulumi.StringOutput
The weekly time range (in UTC) during which automated cluster maintenance can occur. Format: ddd:hh24:mi-ddd:hh24:mi
func (*Cluster) PubliclyAccessible ¶
func (r *Cluster) PubliclyAccessible() *pulumi.BoolOutput
If true, the cluster can be accessed from a public network. Default is `true`.
func (*Cluster) SkipFinalSnapshot ¶
func (r *Cluster) SkipFinalSnapshot() *pulumi.BoolOutput
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.
func (*Cluster) SnapshotClusterIdentifier ¶
func (r *Cluster) SnapshotClusterIdentifier() *pulumi.StringOutput
The name of the cluster the source snapshot was created from.
func (*Cluster) SnapshotCopy ¶
Configuration of automatic copy of snapshots from one region to another. Documented below.
func (*Cluster) SnapshotIdentifier ¶
func (r *Cluster) SnapshotIdentifier() *pulumi.StringOutput
The name of the snapshot from which to create the new cluster.
func (*Cluster) VpcSecurityGroupIds ¶
func (r *Cluster) VpcSecurityGroupIds() *pulumi.ArrayOutput
A list of Virtual Private Cloud (VPC) security groups to be associated with the cluster.
type ClusterArgs ¶
type ClusterArgs struct { // 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 AllowVersionUpgrade interface{} // 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. AutomatedSnapshotRetentionPeriod interface{} // 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. AvailabilityZone interface{} // The Cluster Identifier. Must be a lower case // string. ClusterIdentifier interface{} // The name of the parameter group to be associated with this cluster. ClusterParameterGroupName interface{} // The public key for the cluster ClusterPublicKey interface{} // The specific revision number of the database in the cluster ClusterRevisionNumber interface{} // A list of security groups to be associated with this cluster. ClusterSecurityGroups interface{} // 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). ClusterSubnetGroupName interface{} // The cluster type to use. Either `single-node` or `multi-node`. ClusterType interface{} // 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. ClusterVersion interface{} // 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`. DatabaseName interface{} // The Elastic IP (EIP) address for the cluster. ElasticIp interface{} // If true , the data in the cluster is encrypted at rest. Encrypted interface{} // The connection endpoint Endpoint interface{} // If true , enhanced VPC routing is enabled. EnhancedVpcRouting interface{} // The identifier of the final snapshot that is to be created immediately before deleting the cluster. If this parameter is provided, `skip_final_snapshot` must be false. FinalSnapshotIdentifier interface{} // A list of IAM Role ARNs to associate with the cluster. A Maximum of 10 can be associated to the cluster at any time. IamRoles interface{} // The ARN for the KMS encryption key. When specifying `kms_key_id`, `encrypted` needs to be set to true. KmsKeyId interface{} // Logging, documented below. Logging interface{} // 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. MasterPassword interface{} // Username for the master DB user. MasterUsername interface{} // The node type to be provisioned for the cluster. NodeType interface{} // The number of compute nodes in the cluster. This parameter is required when the ClusterType parameter is specified as multi-node. Default is 1. NumberOfNodes interface{} // 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. OwnerAccount interface{} // 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. Port interface{} // The weekly time range (in UTC) during which automated cluster maintenance can occur. // Format: ddd:hh24:mi-ddd:hh24:mi PreferredMaintenanceWindow interface{} // If true, the cluster can be accessed from a public network. Default is `true`. PubliclyAccessible interface{} // 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. SkipFinalSnapshot interface{} // The name of the cluster the source snapshot was created from. SnapshotClusterIdentifier interface{} // Configuration of automatic copy of snapshots from one region to another. Documented below. SnapshotCopy interface{} // The name of the snapshot from which to create the new cluster. SnapshotIdentifier interface{} // A mapping of tags to assign to the resource. Tags interface{} // A list of Virtual Private Cloud (VPC) security groups to be associated with the cluster. VpcSecurityGroupIds interface{} }
The set of arguments for constructing a Cluster resource.
type ClusterState ¶
type ClusterState struct { // 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 AllowVersionUpgrade interface{} // 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. AutomatedSnapshotRetentionPeriod interface{} // 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. AvailabilityZone interface{} // The Cluster Identifier. Must be a lower case // string. ClusterIdentifier interface{} // The name of the parameter group to be associated with this cluster. ClusterParameterGroupName interface{} // The public key for the cluster ClusterPublicKey interface{} // The specific revision number of the database in the cluster ClusterRevisionNumber interface{} // A list of security groups to be associated with this cluster. ClusterSecurityGroups interface{} // 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). ClusterSubnetGroupName interface{} // The cluster type to use. Either `single-node` or `multi-node`. ClusterType interface{} // 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. ClusterVersion interface{} // 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`. DatabaseName interface{} // The DNS name of the cluster DnsName interface{} // The Elastic IP (EIP) address for the cluster. ElasticIp interface{} // If true , the data in the cluster is encrypted at rest. Encrypted interface{} // The connection endpoint Endpoint interface{} // If true , enhanced VPC routing is enabled. EnhancedVpcRouting interface{} // The identifier of the final snapshot that is to be created immediately before deleting the cluster. If this parameter is provided, `skip_final_snapshot` must be false. FinalSnapshotIdentifier interface{} // A list of IAM Role ARNs to associate with the cluster. A Maximum of 10 can be associated to the cluster at any time. IamRoles interface{} // The ARN for the KMS encryption key. When specifying `kms_key_id`, `encrypted` needs to be set to true. KmsKeyId interface{} // Logging, documented below. Logging interface{} // 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. MasterPassword interface{} // Username for the master DB user. MasterUsername interface{} // The node type to be provisioned for the cluster. NodeType interface{} // The number of compute nodes in the cluster. This parameter is required when the ClusterType parameter is specified as multi-node. Default is 1. NumberOfNodes interface{} // 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. OwnerAccount interface{} // 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. Port interface{} // The weekly time range (in UTC) during which automated cluster maintenance can occur. // Format: ddd:hh24:mi-ddd:hh24:mi PreferredMaintenanceWindow interface{} // If true, the cluster can be accessed from a public network. Default is `true`. PubliclyAccessible interface{} // 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. SkipFinalSnapshot interface{} // The name of the cluster the source snapshot was created from. SnapshotClusterIdentifier interface{} // Configuration of automatic copy of snapshots from one region to another. Documented below. SnapshotCopy interface{} // The name of the snapshot from which to create the new cluster. SnapshotIdentifier interface{} // A mapping of tags to assign to the resource. Tags interface{} // A list of Virtual Private Cloud (VPC) security groups to be associated with the cluster. VpcSecurityGroupIds interface{} }
Input properties used for looking up and filtering Cluster resources.
type EventSubscription ¶ added in v0.16.1
type EventSubscription struct {
// contains filtered or unexported fields
}
Provides a Redshift event subscription resource.
## Attributes
The following additional atttributes are provided:
* `id` - The name of the Redshift event notification subscription * `customer_aws_id` - The AWS customer account associated with the Redshift event notification subscription
func GetEventSubscription ¶ added in v0.16.1
func GetEventSubscription(ctx *pulumi.Context, name string, id pulumi.ID, state *EventSubscriptionState, opts ...pulumi.ResourceOpt) (*EventSubscription, error)
GetEventSubscription gets an existing EventSubscription resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewEventSubscription ¶ added in v0.16.1
func NewEventSubscription(ctx *pulumi.Context, name string, args *EventSubscriptionArgs, opts ...pulumi.ResourceOpt) (*EventSubscription, error)
NewEventSubscription registers a new resource with the given unique name, arguments, and options.
func (*EventSubscription) CustomerAwsId ¶ added in v0.16.1
func (r *EventSubscription) CustomerAwsId() *pulumi.StringOutput
func (*EventSubscription) Enabled ¶ added in v0.16.1
func (r *EventSubscription) Enabled() *pulumi.BoolOutput
A boolean flag to enable/disable the subscription. Defaults to true.
func (*EventSubscription) EventCategories ¶ added in v0.16.1
func (r *EventSubscription) EventCategories() *pulumi.ArrayOutput
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`.
func (*EventSubscription) ID ¶ added in v0.16.1
func (r *EventSubscription) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*EventSubscription) Name ¶ added in v0.16.1
func (r *EventSubscription) Name() *pulumi.StringOutput
The name of the Redshift event subscription.
func (*EventSubscription) Severity ¶ added in v0.16.1
func (r *EventSubscription) Severity() *pulumi.StringOutput
The event severity to be published by the notification subscription. Valid options are `INFO` or `ERROR`.
func (*EventSubscription) SnsTopicArn ¶ added in v0.16.1
func (r *EventSubscription) SnsTopicArn() *pulumi.StringOutput
The ARN of the SNS topic to send events to.
func (*EventSubscription) SourceIds ¶ added in v0.16.1
func (r *EventSubscription) SourceIds() *pulumi.ArrayOutput
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 source_type must also be specified.
func (*EventSubscription) SourceType ¶ added in v0.16.1
func (r *EventSubscription) SourceType() *pulumi.StringOutput
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.
func (*EventSubscription) Status ¶ added in v0.16.1
func (r *EventSubscription) Status() *pulumi.StringOutput
func (*EventSubscription) Tags ¶ added in v0.16.1
func (r *EventSubscription) Tags() *pulumi.MapOutput
A mapping of tags to assign to the resource.
func (*EventSubscription) URN ¶ added in v0.16.1
func (r *EventSubscription) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type EventSubscriptionArgs ¶ added in v0.16.1
type EventSubscriptionArgs struct { // A boolean flag to enable/disable the subscription. Defaults to true. Enabled interface{} // 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`. EventCategories interface{} // The name of the Redshift event subscription. Name interface{} // The event severity to be published by the notification subscription. Valid options are `INFO` or `ERROR`. Severity interface{} // The ARN of the SNS topic to send events to. SnsTopicArn interface{} // 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 source_type must also be specified. SourceIds interface{} // 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. SourceType interface{} // A mapping of tags to assign to the resource. Tags interface{} }
The set of arguments for constructing a EventSubscription resource.
type EventSubscriptionState ¶ added in v0.16.1
type EventSubscriptionState struct { CustomerAwsId interface{} // A boolean flag to enable/disable the subscription. Defaults to true. Enabled interface{} // 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`. EventCategories interface{} // The name of the Redshift event subscription. Name interface{} // The event severity to be published by the notification subscription. Valid options are `INFO` or `ERROR`. Severity interface{} // The ARN of the SNS topic to send events to. SnsTopicArn interface{} // 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 source_type must also be specified. SourceIds interface{} // 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. SourceType interface{} Status interface{} // A mapping of tags to assign to the resource. Tags interface{} }
Input properties used for looking up and filtering EventSubscription resources.
type GetClusterArgs ¶
type GetClusterArgs struct { // The cluster identifier ClusterIdentifier interface{} Tags interface{} }
A collection of arguments for invoking getCluster.
type GetClusterResult ¶
type GetClusterResult struct { // Whether major version upgrades can be applied during maintenance period AllowVersionUpgrade interface{} // The backup retention period AutomatedSnapshotRetentionPeriod interface{} // The availability zone of the cluster AvailabilityZone interface{} // The name of the S3 bucket where the log files are to be stored BucketName interface{} // The name of the parameter group to be associated with this cluster ClusterParameterGroupName interface{} // The public key for the cluster ClusterPublicKey interface{} // The cluster revision number ClusterRevisionNumber interface{} // The security groups associated with the cluster ClusterSecurityGroups interface{} // The name of a cluster subnet group to be associated with this cluster ClusterSubnetGroupName interface{} // The cluster type ClusterType interface{} ClusterVersion interface{} // The name of the default database in the cluster DatabaseName interface{} // The Elastic IP of the cluster ElasticIp interface{} // Whether cluster logging is enabled EnableLogging interface{} // Whether the cluster data is encrypted Encrypted interface{} // The cluster endpoint Endpoint interface{} // Whether enhanced VPC routing is enabled EnhancedVpcRouting interface{} // The IAM roles associated to the cluster IamRoles interface{} // The KMS encryption key associated to the cluster KmsKeyId interface{} // Username for the master DB user MasterUsername interface{} // The cluster node type NodeType interface{} // The number of nodes in the cluster NumberOfNodes interface{} // The port the cluster responds on Port interface{} // The maintenance window PreferredMaintenanceWindow interface{} // Whether the cluster is publicly accessible PubliclyAccessible interface{} // The folder inside the S3 bucket where the log files are stored S3KeyPrefix interface{} // The VPC Id associated with the cluster VpcId interface{} // The VPC security group Ids associated with the cluster VpcSecurityGroupIds interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getCluster.
func LookupCluster ¶
func LookupCluster(ctx *pulumi.Context, args *GetClusterArgs) (*GetClusterResult, error)
Provides details about a specific redshift cluster.
type GetServiceAccountArgs ¶
type GetServiceAccountArgs struct { // Name of the region whose AWS Redshift account ID is desired. // Defaults to the region from the AWS provider configuration. Region interface{} }
A collection of arguments for invoking getServiceAccount.
type GetServiceAccountResult ¶
type GetServiceAccountResult struct { // The ARN of the AWS Redshift service account in the selected region. Arn interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getServiceAccount.
func LookupServiceAccount ¶
func LookupServiceAccount(ctx *pulumi.Context, args *GetServiceAccountArgs) (*GetServiceAccountResult, error)
Use this data source to get the Account ID of the [AWS Redshift Service Account](http://docs.aws.amazon.com/redshift/latest/mgmt/db-auditing.html#db-auditing-enable-logging) in a given region for the purpose of allowing Redshift to store audit data in S3.
type ParameterGroup ¶
type ParameterGroup struct {
// contains filtered or unexported fields
}
Provides a Redshift Cluster parameter group resource.
func GetParameterGroup ¶
func GetParameterGroup(ctx *pulumi.Context, name string, id pulumi.ID, state *ParameterGroupState, opts ...pulumi.ResourceOpt) (*ParameterGroup, error)
GetParameterGroup gets an existing ParameterGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewParameterGroup ¶
func NewParameterGroup(ctx *pulumi.Context, name string, args *ParameterGroupArgs, opts ...pulumi.ResourceOpt) (*ParameterGroup, error)
NewParameterGroup registers a new resource with the given unique name, arguments, and options.
func (*ParameterGroup) Description ¶
func (r *ParameterGroup) Description() *pulumi.StringOutput
The description of the Redshift parameter group. Defaults to "Managed by Terraform".
func (*ParameterGroup) Family ¶
func (r *ParameterGroup) Family() *pulumi.StringOutput
The family of the Redshift parameter group.
func (*ParameterGroup) ID ¶
func (r *ParameterGroup) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*ParameterGroup) Name ¶
func (r *ParameterGroup) Name() *pulumi.StringOutput
The name of the Redshift parameter.
func (*ParameterGroup) Parameters ¶
func (r *ParameterGroup) Parameters() *pulumi.ArrayOutput
A list of Redshift parameters to apply.
func (*ParameterGroup) URN ¶
func (r *ParameterGroup) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type ParameterGroupArgs ¶
type ParameterGroupArgs struct { // The description of the Redshift parameter group. Defaults to "Managed by Terraform". Description interface{} // The family of the Redshift parameter group. Family interface{} // The name of the Redshift parameter. Name interface{} // A list of Redshift parameters to apply. Parameters interface{} }
The set of arguments for constructing a ParameterGroup resource.
type ParameterGroupState ¶
type ParameterGroupState struct { // The description of the Redshift parameter group. Defaults to "Managed by Terraform". Description interface{} // The family of the Redshift parameter group. Family interface{} // The name of the Redshift parameter. Name interface{} // A list of Redshift parameters to apply. Parameters interface{} }
Input properties used for looking up and filtering ParameterGroup resources.
type SecurityGroup ¶
type SecurityGroup struct {
// contains filtered or unexported fields
}
Creates a new Amazon Redshift security group. You use security groups to control access to non-VPC clusters
func GetSecurityGroup ¶
func GetSecurityGroup(ctx *pulumi.Context, name string, id pulumi.ID, state *SecurityGroupState, opts ...pulumi.ResourceOpt) (*SecurityGroup, error)
GetSecurityGroup gets an existing SecurityGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSecurityGroup ¶
func NewSecurityGroup(ctx *pulumi.Context, name string, args *SecurityGroupArgs, opts ...pulumi.ResourceOpt) (*SecurityGroup, error)
NewSecurityGroup registers a new resource with the given unique name, arguments, and options.
func (*SecurityGroup) Description ¶
func (r *SecurityGroup) Description() *pulumi.StringOutput
The description of the Redshift security group. Defaults to "Managed by Terraform".
func (*SecurityGroup) ID ¶
func (r *SecurityGroup) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*SecurityGroup) Ingress ¶
func (r *SecurityGroup) Ingress() *pulumi.ArrayOutput
A list of ingress rules.
func (*SecurityGroup) Name ¶
func (r *SecurityGroup) Name() *pulumi.StringOutput
The name of the Redshift security group.
func (*SecurityGroup) URN ¶
func (r *SecurityGroup) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type SecurityGroupArgs ¶
type SecurityGroupArgs struct { // The description of the Redshift security group. Defaults to "Managed by Terraform". Description interface{} // A list of ingress rules. Ingress interface{} // The name of the Redshift security group. Name interface{} }
The set of arguments for constructing a SecurityGroup resource.
type SecurityGroupState ¶
type SecurityGroupState struct { // The description of the Redshift security group. Defaults to "Managed by Terraform". Description interface{} // A list of ingress rules. Ingress interface{} // The name of the Redshift security group. Name interface{} }
Input properties used for looking up and filtering SecurityGroup resources.
type SnapshotCopyGrant ¶ added in v0.16.1
type SnapshotCopyGrant struct {
// contains filtered or unexported fields
}
Creates 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.
func GetSnapshotCopyGrant ¶ added in v0.16.1
func GetSnapshotCopyGrant(ctx *pulumi.Context, name string, id pulumi.ID, state *SnapshotCopyGrantState, opts ...pulumi.ResourceOpt) (*SnapshotCopyGrant, error)
GetSnapshotCopyGrant gets an existing SnapshotCopyGrant resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSnapshotCopyGrant ¶ added in v0.16.1
func NewSnapshotCopyGrant(ctx *pulumi.Context, name string, args *SnapshotCopyGrantArgs, opts ...pulumi.ResourceOpt) (*SnapshotCopyGrant, error)
NewSnapshotCopyGrant registers a new resource with the given unique name, arguments, and options.
func (*SnapshotCopyGrant) ID ¶ added in v0.16.1
func (r *SnapshotCopyGrant) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*SnapshotCopyGrant) KmsKeyId ¶ added in v0.16.1
func (r *SnapshotCopyGrant) KmsKeyId() *pulumi.StringOutput
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.
func (*SnapshotCopyGrant) SnapshotCopyGrantName ¶ added in v0.16.1
func (r *SnapshotCopyGrant) SnapshotCopyGrantName() *pulumi.StringOutput
A friendly name for identifying the grant.
func (*SnapshotCopyGrant) Tags ¶ added in v0.16.1
func (r *SnapshotCopyGrant) Tags() *pulumi.MapOutput
A mapping of tags to assign to the resource.
func (*SnapshotCopyGrant) URN ¶ added in v0.16.1
func (r *SnapshotCopyGrant) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type SnapshotCopyGrantArgs ¶ added in v0.16.1
type SnapshotCopyGrantArgs struct { // 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. KmsKeyId interface{} // A friendly name for identifying the grant. SnapshotCopyGrantName interface{} // A mapping of tags to assign to the resource. Tags interface{} }
The set of arguments for constructing a SnapshotCopyGrant resource.
type SnapshotCopyGrantState ¶ added in v0.16.1
type SnapshotCopyGrantState struct { // 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. KmsKeyId interface{} // A friendly name for identifying the grant. SnapshotCopyGrantName interface{} // A mapping of tags to assign to the resource. Tags interface{} }
Input properties used for looking up and filtering SnapshotCopyGrant resources.
type SubnetGroup ¶
type SubnetGroup struct {
// contains filtered or unexported fields
}
Creates 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.
func GetSubnetGroup ¶
func GetSubnetGroup(ctx *pulumi.Context, name string, id pulumi.ID, state *SubnetGroupState, opts ...pulumi.ResourceOpt) (*SubnetGroup, error)
GetSubnetGroup gets an existing SubnetGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSubnetGroup ¶
func NewSubnetGroup(ctx *pulumi.Context, name string, args *SubnetGroupArgs, opts ...pulumi.ResourceOpt) (*SubnetGroup, error)
NewSubnetGroup registers a new resource with the given unique name, arguments, and options.
func (*SubnetGroup) Description ¶
func (r *SubnetGroup) Description() *pulumi.StringOutput
The description of the Redshift Subnet group. Defaults to "Managed by Terraform".
func (*SubnetGroup) ID ¶
func (r *SubnetGroup) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*SubnetGroup) Name ¶
func (r *SubnetGroup) Name() *pulumi.StringOutput
The name of the Redshift Subnet group.
func (*SubnetGroup) SubnetIds ¶
func (r *SubnetGroup) SubnetIds() *pulumi.ArrayOutput
An array of VPC subnet IDs.
func (*SubnetGroup) Tags ¶
func (r *SubnetGroup) Tags() *pulumi.MapOutput
A mapping of tags to assign to the resource.
func (*SubnetGroup) URN ¶
func (r *SubnetGroup) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type SubnetGroupArgs ¶
type SubnetGroupArgs struct { // The description of the Redshift Subnet group. Defaults to "Managed by Terraform". Description interface{} // The name of the Redshift Subnet group. Name interface{} // An array of VPC subnet IDs. SubnetIds interface{} // A mapping of tags to assign to the resource. Tags interface{} }
The set of arguments for constructing a SubnetGroup resource.
type SubnetGroupState ¶
type SubnetGroupState struct { // The description of the Redshift Subnet group. Defaults to "Managed by Terraform". Description interface{} // The name of the Redshift Subnet group. Name interface{} // An array of VPC subnet IDs. SubnetIds interface{} // A mapping of tags to assign to the resource. Tags interface{} }
Input properties used for looking up and filtering SubnetGroup resources.