aws_redshiftserverless_workgroup

package
v0.0.0-...-4deecce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// BaseCapacity: number, optional
	BaseCapacity terra.NumberValue `hcl:"base_capacity,attr"`
	// EnhancedVpcRouting: bool, optional
	EnhancedVpcRouting terra.BoolValue `hcl:"enhanced_vpc_routing,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// MaxCapacity: number, optional
	MaxCapacity terra.NumberValue `hcl:"max_capacity,attr"`
	// NamespaceName: string, required
	NamespaceName terra.StringValue `hcl:"namespace_name,attr" validate:"required"`
	// Port: number, optional
	Port terra.NumberValue `hcl:"port,attr"`
	// PubliclyAccessible: bool, optional
	PubliclyAccessible terra.BoolValue `hcl:"publicly_accessible,attr"`
	// SecurityGroupIds: set of string, optional
	SecurityGroupIds terra.SetValue[terra.StringValue] `hcl:"security_group_ids,attr"`
	// SubnetIds: set of string, optional
	SubnetIds terra.SetValue[terra.StringValue] `hcl:"subnet_ids,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"`
	// WorkgroupName: string, required
	WorkgroupName terra.StringValue `hcl:"workgroup_name,attr" validate:"required"`
	// ConfigParameter: min=0
	ConfigParameter []ConfigParameter `hcl:"config_parameter,block" validate:"min=0"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for aws_redshiftserverless_workgroup.

type ConfigParameter

type ConfigParameter struct {
	// ParameterKey: string, required
	ParameterKey terra.StringValue `hcl:"parameter_key,attr" validate:"required"`
	// ParameterValue: string, required
	ParameterValue terra.StringValue `hcl:"parameter_value,attr" validate:"required"`
}

type ConfigParameterAttributes

type ConfigParameterAttributes struct {
	// contains filtered or unexported fields
}

func (ConfigParameterAttributes) InternalRef

func (cp ConfigParameterAttributes) InternalRef() (terra.Reference, error)

func (ConfigParameterAttributes) InternalTokens

func (cp ConfigParameterAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ConfigParameterAttributes) InternalWithRef

func (ConfigParameterAttributes) ParameterKey

func (cp ConfigParameterAttributes) ParameterKey() terra.StringValue

func (ConfigParameterAttributes) ParameterValue

func (cp ConfigParameterAttributes) ParameterValue() terra.StringValue

type ConfigParameterState

type ConfigParameterState struct {
	ParameterKey   string `json:"parameter_key"`
	ParameterValue string `json:"parameter_value"`
}

type DataArgs

type DataArgs struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// WorkgroupName: string, required
	WorkgroupName terra.StringValue `hcl:"workgroup_name,attr" validate:"required"`
}

DataArgs contains the configurations for aws_redshiftserverless_workgroup.

type DataEndpointAttributes

type DataEndpointAttributes struct {
	// contains filtered or unexported fields
}

func (DataEndpointAttributes) Address

func (DataEndpointAttributes) InternalRef

func (e DataEndpointAttributes) InternalRef() (terra.Reference, error)

func (DataEndpointAttributes) InternalTokens

func (e DataEndpointAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataEndpointAttributes) InternalWithRef

func (DataEndpointAttributes) Port

func (DataEndpointAttributes) VpcEndpoint

type DataEndpointState

type DataEndpointState struct {
	Address     string                         `json:"address"`
	Port        float64                        `json:"port"`
	VpcEndpoint []DataEndpointVpcEndpointState `json:"vpc_endpoint"`
}

type DataEndpointVpcEndpointAttributes

type DataEndpointVpcEndpointAttributes struct {
	// contains filtered or unexported fields
}

func (DataEndpointVpcEndpointAttributes) InternalRef

func (DataEndpointVpcEndpointAttributes) InternalTokens

func (ve DataEndpointVpcEndpointAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataEndpointVpcEndpointAttributes) InternalWithRef

func (DataEndpointVpcEndpointAttributes) NetworkInterface

func (DataEndpointVpcEndpointAttributes) VpcEndpointId

func (DataEndpointVpcEndpointAttributes) VpcId

type DataEndpointVpcEndpointNetworkInterfaceAttributes

type DataEndpointVpcEndpointNetworkInterfaceAttributes struct {
	// contains filtered or unexported fields
}

func (DataEndpointVpcEndpointNetworkInterfaceAttributes) AvailabilityZone

func (DataEndpointVpcEndpointNetworkInterfaceAttributes) InternalRef

func (DataEndpointVpcEndpointNetworkInterfaceAttributes) InternalTokens

func (DataEndpointVpcEndpointNetworkInterfaceAttributes) InternalWithRef

func (DataEndpointVpcEndpointNetworkInterfaceAttributes) NetworkInterfaceId

func (DataEndpointVpcEndpointNetworkInterfaceAttributes) PrivateIpAddress

func (DataEndpointVpcEndpointNetworkInterfaceAttributes) SubnetId

type DataEndpointVpcEndpointNetworkInterfaceState

type DataEndpointVpcEndpointNetworkInterfaceState struct {
	AvailabilityZone   string `json:"availability_zone"`
	NetworkInterfaceId string `json:"network_interface_id"`
	PrivateIpAddress   string `json:"private_ip_address"`
	SubnetId           string `json:"subnet_id"`
}

type DataEndpointVpcEndpointState

type DataEndpointVpcEndpointState struct {
	VpcEndpointId    string                                         `json:"vpc_endpoint_id"`
	VpcId            string                                         `json:"vpc_id"`
	NetworkInterface []DataEndpointVpcEndpointNetworkInterfaceState `json:"network_interface"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_redshiftserverless_workgroup.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (arw *DataSource) Attributes() dataAwsRedshiftserverlessWorkgroupAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (arw *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (arw *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (arw *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type EndpointAttributes

type EndpointAttributes struct {
	// contains filtered or unexported fields
}

func (EndpointAttributes) Address

func (e EndpointAttributes) Address() terra.StringValue

func (EndpointAttributes) InternalRef

func (e EndpointAttributes) InternalRef() (terra.Reference, error)

func (EndpointAttributes) InternalTokens

func (e EndpointAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EndpointAttributes) InternalWithRef

func (e EndpointAttributes) InternalWithRef(ref terra.Reference) EndpointAttributes

func (EndpointAttributes) Port

func (EndpointAttributes) VpcEndpoint

type EndpointState

type EndpointState struct {
	Address     string                     `json:"address"`
	Port        float64                    `json:"port"`
	VpcEndpoint []EndpointVpcEndpointState `json:"vpc_endpoint"`
}

type EndpointVpcEndpointAttributes

type EndpointVpcEndpointAttributes struct {
	// contains filtered or unexported fields
}

func (EndpointVpcEndpointAttributes) InternalRef

func (ve EndpointVpcEndpointAttributes) InternalRef() (terra.Reference, error)

func (EndpointVpcEndpointAttributes) InternalTokens

func (ve EndpointVpcEndpointAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EndpointVpcEndpointAttributes) InternalWithRef

func (EndpointVpcEndpointAttributes) NetworkInterface

func (EndpointVpcEndpointAttributes) VpcEndpointId

func (ve EndpointVpcEndpointAttributes) VpcEndpointId() terra.StringValue

func (EndpointVpcEndpointAttributes) VpcId

type EndpointVpcEndpointNetworkInterfaceAttributes

type EndpointVpcEndpointNetworkInterfaceAttributes struct {
	// contains filtered or unexported fields
}

func (EndpointVpcEndpointNetworkInterfaceAttributes) AvailabilityZone

func (EndpointVpcEndpointNetworkInterfaceAttributes) InternalRef

func (EndpointVpcEndpointNetworkInterfaceAttributes) InternalTokens

func (EndpointVpcEndpointNetworkInterfaceAttributes) InternalWithRef

func (EndpointVpcEndpointNetworkInterfaceAttributes) NetworkInterfaceId

func (EndpointVpcEndpointNetworkInterfaceAttributes) PrivateIpAddress

func (EndpointVpcEndpointNetworkInterfaceAttributes) SubnetId

type EndpointVpcEndpointNetworkInterfaceState

type EndpointVpcEndpointNetworkInterfaceState struct {
	AvailabilityZone   string `json:"availability_zone"`
	NetworkInterfaceId string `json:"network_interface_id"`
	PrivateIpAddress   string `json:"private_ip_address"`
	SubnetId           string `json:"subnet_id"`
}

type EndpointVpcEndpointState

type EndpointVpcEndpointState struct {
	VpcEndpointId    string                                     `json:"vpc_endpoint_id"`
	VpcId            string                                     `json:"vpc_id"`
	NetworkInterface []EndpointVpcEndpointNetworkInterfaceState `json:"network_interface"`
}

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_redshiftserverless_workgroup.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (arw *Resource) Attributes() awsRedshiftserverlessWorkgroupAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (arw *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (arw *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (arw *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (arw *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (arw *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (arw *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (arw *Resource) State() (*awsRedshiftserverlessWorkgroupState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (arw *Resource) StateMust() *awsRedshiftserverlessWorkgroupState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (arw *Resource) Type() string

Type returns the Terraform object type for Resource.

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 (TimeoutsAttributes) Delete

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

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL