Documentation ¶
Index ¶
- type Args
- type ClusterNodesAttributes
- func (cn ClusterNodesAttributes) InternalRef() (terra.Reference, error)
- func (cn ClusterNodesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cn ClusterNodesAttributes) InternalWithRef(ref terra.Reference) ClusterNodesAttributes
- func (cn ClusterNodesAttributes) NodeRole() terra.StringValue
- func (cn ClusterNodesAttributes) PrivateIpAddress() terra.StringValue
- func (cn ClusterNodesAttributes) PublicIpAddress() terra.StringValue
- type ClusterNodesState
- type DataArgs
- type DataClusterNodesAttributes
- func (cn DataClusterNodesAttributes) InternalRef() (terra.Reference, error)
- func (cn DataClusterNodesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cn DataClusterNodesAttributes) InternalWithRef(ref terra.Reference) DataClusterNodesAttributes
- func (cn DataClusterNodesAttributes) NodeRole() terra.StringValue
- func (cn DataClusterNodesAttributes) PrivateIpAddress() terra.StringValue
- func (cn DataClusterNodesAttributes) PublicIpAddress() terra.StringValue
- type DataClusterNodesState
- type DataSource
- type Logging
- type LoggingAttributes
- func (l LoggingAttributes) BucketName() terra.StringValue
- func (l LoggingAttributes) Enable() terra.BoolValue
- func (l LoggingAttributes) InternalRef() (terra.Reference, error)
- func (l LoggingAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (l LoggingAttributes) InternalWithRef(ref terra.Reference) LoggingAttributes
- func (l LoggingAttributes) LogDestinationType() terra.StringValue
- func (l LoggingAttributes) LogExports() terra.SetValue[terra.StringValue]
- func (l LoggingAttributes) S3KeyPrefix() terra.StringValue
- type LoggingState
- type Resource
- func (arc *Resource) Attributes() awsRedshiftClusterAttributes
- func (arc *Resource) Configuration() interface{}
- func (arc *Resource) DependOn() terra.Reference
- func (arc *Resource) Dependencies() terra.Dependencies
- func (arc *Resource) ImportState(state io.Reader) error
- func (arc *Resource) LifecycleManagement() *terra.Lifecycle
- func (arc *Resource) LocalName() string
- func (arc *Resource) State() (*awsRedshiftClusterState, bool)
- func (arc *Resource) StateMust() *awsRedshiftClusterState
- func (arc *Resource) Type() string
- type SnapshotCopy
- type SnapshotCopyAttributes
- func (sc SnapshotCopyAttributes) DestinationRegion() terra.StringValue
- func (sc SnapshotCopyAttributes) GrantName() terra.StringValue
- func (sc SnapshotCopyAttributes) InternalRef() (terra.Reference, error)
- func (sc SnapshotCopyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sc SnapshotCopyAttributes) InternalWithRef(ref terra.Reference) SnapshotCopyAttributes
- func (sc SnapshotCopyAttributes) RetentionPeriod() terra.NumberValue
- type SnapshotCopyState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // AllowVersionUpgrade: bool, optional AllowVersionUpgrade terra.BoolValue `hcl:"allow_version_upgrade,attr"` // ApplyImmediately: bool, optional ApplyImmediately terra.BoolValue `hcl:"apply_immediately,attr"` // AquaConfigurationStatus: string, optional AquaConfigurationStatus terra.StringValue `hcl:"aqua_configuration_status,attr"` // AutomatedSnapshotRetentionPeriod: number, optional AutomatedSnapshotRetentionPeriod terra.NumberValue `hcl:"automated_snapshot_retention_period,attr"` // AvailabilityZone: string, optional AvailabilityZone terra.StringValue `hcl:"availability_zone,attr"` // AvailabilityZoneRelocationEnabled: bool, optional AvailabilityZoneRelocationEnabled terra.BoolValue `hcl:"availability_zone_relocation_enabled,attr"` // ClusterIdentifier: string, required ClusterIdentifier terra.StringValue `hcl:"cluster_identifier,attr" validate:"required"` // ClusterParameterGroupName: string, optional ClusterParameterGroupName terra.StringValue `hcl:"cluster_parameter_group_name,attr"` // ClusterPublicKey: string, optional ClusterPublicKey terra.StringValue `hcl:"cluster_public_key,attr"` // ClusterRevisionNumber: string, optional ClusterRevisionNumber terra.StringValue `hcl:"cluster_revision_number,attr"` // ClusterSubnetGroupName: string, optional ClusterSubnetGroupName terra.StringValue `hcl:"cluster_subnet_group_name,attr"` // ClusterType: string, optional ClusterType terra.StringValue `hcl:"cluster_type,attr"` // ClusterVersion: string, optional ClusterVersion terra.StringValue `hcl:"cluster_version,attr"` // DatabaseName: string, optional DatabaseName terra.StringValue `hcl:"database_name,attr"` // DefaultIamRoleArn: string, optional DefaultIamRoleArn terra.StringValue `hcl:"default_iam_role_arn,attr"` // ElasticIp: string, optional ElasticIp terra.StringValue `hcl:"elastic_ip,attr"` // Encrypted: bool, optional Encrypted terra.BoolValue `hcl:"encrypted,attr"` // Endpoint: string, optional Endpoint terra.StringValue `hcl:"endpoint,attr"` // EnhancedVpcRouting: bool, optional EnhancedVpcRouting terra.BoolValue `hcl:"enhanced_vpc_routing,attr"` // FinalSnapshotIdentifier: string, optional FinalSnapshotIdentifier terra.StringValue `hcl:"final_snapshot_identifier,attr"` // IamRoles: set of string, optional IamRoles terra.SetValue[terra.StringValue] `hcl:"iam_roles,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // KmsKeyId: string, optional KmsKeyId terra.StringValue `hcl:"kms_key_id,attr"` // MaintenanceTrackName: string, optional MaintenanceTrackName terra.StringValue `hcl:"maintenance_track_name,attr"` // ManageMasterPassword: bool, optional ManageMasterPassword terra.BoolValue `hcl:"manage_master_password,attr"` // ManualSnapshotRetentionPeriod: number, optional ManualSnapshotRetentionPeriod terra.NumberValue `hcl:"manual_snapshot_retention_period,attr"` // MasterPassword: string, optional MasterPassword terra.StringValue `hcl:"master_password,attr"` // MasterPasswordSecretKmsKeyId: string, optional MasterPasswordSecretKmsKeyId terra.StringValue `hcl:"master_password_secret_kms_key_id,attr"` // MasterUsername: string, optional MasterUsername terra.StringValue `hcl:"master_username,attr"` // MultiAz: bool, optional MultiAz terra.BoolValue `hcl:"multi_az,attr"` // NodeType: string, required NodeType terra.StringValue `hcl:"node_type,attr" validate:"required"` // NumberOfNodes: number, optional NumberOfNodes terra.NumberValue `hcl:"number_of_nodes,attr"` // OwnerAccount: string, optional OwnerAccount terra.StringValue `hcl:"owner_account,attr"` // Port: number, optional Port terra.NumberValue `hcl:"port,attr"` // PreferredMaintenanceWindow: string, optional PreferredMaintenanceWindow terra.StringValue `hcl:"preferred_maintenance_window,attr"` // PubliclyAccessible: bool, optional PubliclyAccessible terra.BoolValue `hcl:"publicly_accessible,attr"` // SkipFinalSnapshot: bool, optional SkipFinalSnapshot terra.BoolValue `hcl:"skip_final_snapshot,attr"` // SnapshotArn: string, optional SnapshotArn terra.StringValue `hcl:"snapshot_arn,attr"` // SnapshotClusterIdentifier: string, optional SnapshotClusterIdentifier terra.StringValue `hcl:"snapshot_cluster_identifier,attr"` // SnapshotIdentifier: string, optional SnapshotIdentifier terra.StringValue `hcl:"snapshot_identifier,attr"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // TagsAll: map of string, optional TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,attr"` // VpcSecurityGroupIds: set of string, optional VpcSecurityGroupIds terra.SetValue[terra.StringValue] `hcl:"vpc_security_group_ids,attr"` // Logging: optional Logging *Logging `hcl:"logging,block"` // SnapshotCopy: optional SnapshotCopy *SnapshotCopy `hcl:"snapshot_copy,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for aws_redshift_cluster.
type ClusterNodesAttributes ¶
type ClusterNodesAttributes struct {
// contains filtered or unexported fields
}
func (ClusterNodesAttributes) InternalRef ¶
func (cn ClusterNodesAttributes) InternalRef() (terra.Reference, error)
func (ClusterNodesAttributes) InternalTokens ¶
func (cn ClusterNodesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ClusterNodesAttributes) InternalWithRef ¶
func (cn ClusterNodesAttributes) InternalWithRef(ref terra.Reference) ClusterNodesAttributes
func (ClusterNodesAttributes) NodeRole ¶
func (cn ClusterNodesAttributes) NodeRole() terra.StringValue
func (ClusterNodesAttributes) PrivateIpAddress ¶
func (cn ClusterNodesAttributes) PrivateIpAddress() terra.StringValue
func (ClusterNodesAttributes) PublicIpAddress ¶
func (cn ClusterNodesAttributes) PublicIpAddress() terra.StringValue
type ClusterNodesState ¶
type DataArgs ¶
type DataArgs struct { // ClusterIdentifier: string, required ClusterIdentifier terra.StringValue `hcl:"cluster_identifier,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` }
DataArgs contains the configurations for aws_redshift_cluster.
type DataClusterNodesAttributes ¶
type DataClusterNodesAttributes struct {
// contains filtered or unexported fields
}
func (DataClusterNodesAttributes) InternalRef ¶
func (cn DataClusterNodesAttributes) InternalRef() (terra.Reference, error)
func (DataClusterNodesAttributes) InternalTokens ¶
func (cn DataClusterNodesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataClusterNodesAttributes) InternalWithRef ¶
func (cn DataClusterNodesAttributes) InternalWithRef(ref terra.Reference) DataClusterNodesAttributes
func (DataClusterNodesAttributes) NodeRole ¶
func (cn DataClusterNodesAttributes) NodeRole() terra.StringValue
func (DataClusterNodesAttributes) PrivateIpAddress ¶
func (cn DataClusterNodesAttributes) PrivateIpAddress() terra.StringValue
func (DataClusterNodesAttributes) PublicIpAddress ¶
func (cn DataClusterNodesAttributes) PublicIpAddress() terra.StringValue
type DataClusterNodesState ¶
type DataSource ¶
DataSource represents the Terraform data resource aws_redshift_cluster.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (arc *DataSource) Attributes() dataAwsRedshiftClusterAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (arc *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (arc *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (arc *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type Logging ¶
type Logging struct { // BucketName: string, optional BucketName terra.StringValue `hcl:"bucket_name,attr"` // Enable: bool, required Enable terra.BoolValue `hcl:"enable,attr" validate:"required"` // LogDestinationType: string, optional LogDestinationType terra.StringValue `hcl:"log_destination_type,attr"` // LogExports: set of string, optional LogExports terra.SetValue[terra.StringValue] `hcl:"log_exports,attr"` // S3KeyPrefix: string, optional S3KeyPrefix terra.StringValue `hcl:"s3_key_prefix,attr"` }
type LoggingAttributes ¶
type LoggingAttributes struct {
// contains filtered or unexported fields
}
func (LoggingAttributes) BucketName ¶
func (l LoggingAttributes) BucketName() terra.StringValue
func (LoggingAttributes) Enable ¶
func (l LoggingAttributes) Enable() terra.BoolValue
func (LoggingAttributes) InternalRef ¶
func (l LoggingAttributes) InternalRef() (terra.Reference, error)
func (LoggingAttributes) InternalTokens ¶
func (l LoggingAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LoggingAttributes) InternalWithRef ¶
func (l LoggingAttributes) InternalWithRef(ref terra.Reference) LoggingAttributes
func (LoggingAttributes) LogDestinationType ¶
func (l LoggingAttributes) LogDestinationType() terra.StringValue
func (LoggingAttributes) LogExports ¶
func (l LoggingAttributes) LogExports() terra.SetValue[terra.StringValue]
func (LoggingAttributes) S3KeyPrefix ¶
func (l LoggingAttributes) S3KeyPrefix() terra.StringValue
type LoggingState ¶
type Resource ¶
type Resource struct { Name string Args Args DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
Resource represents the Terraform resource aws_redshift_cluster.
func (*Resource) Attributes ¶
func (arc *Resource) Attributes() awsRedshiftClusterAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (arc *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (arc *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
type SnapshotCopy ¶
type SnapshotCopy struct { // DestinationRegion: string, required DestinationRegion terra.StringValue `hcl:"destination_region,attr" validate:"required"` // GrantName: string, optional GrantName terra.StringValue `hcl:"grant_name,attr"` // RetentionPeriod: number, optional RetentionPeriod terra.NumberValue `hcl:"retention_period,attr"` }
type SnapshotCopyAttributes ¶
type SnapshotCopyAttributes struct {
// contains filtered or unexported fields
}
func (SnapshotCopyAttributes) DestinationRegion ¶
func (sc SnapshotCopyAttributes) DestinationRegion() terra.StringValue
func (SnapshotCopyAttributes) GrantName ¶
func (sc SnapshotCopyAttributes) GrantName() terra.StringValue
func (SnapshotCopyAttributes) InternalRef ¶
func (sc SnapshotCopyAttributes) InternalRef() (terra.Reference, error)
func (SnapshotCopyAttributes) InternalTokens ¶
func (sc SnapshotCopyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SnapshotCopyAttributes) InternalWithRef ¶
func (sc SnapshotCopyAttributes) InternalWithRef(ref terra.Reference) SnapshotCopyAttributes
func (SnapshotCopyAttributes) RetentionPeriod ¶
func (sc SnapshotCopyAttributes) RetentionPeriod() terra.NumberValue
type SnapshotCopyState ¶
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
func (TimeoutsAttributes) InternalRef ¶
func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
func (TimeoutsAttributes) InternalTokens ¶
func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimeoutsAttributes) InternalWithRef ¶
func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue