Documentation ¶
Index ¶
- type Args
- type ConfigParameter
- type ConfigParameterAttributes
- func (cp ConfigParameterAttributes) InternalRef() (terra.Reference, error)
- func (cp ConfigParameterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cp ConfigParameterAttributes) InternalWithRef(ref terra.Reference) ConfigParameterAttributes
- func (cp ConfigParameterAttributes) ParameterKey() terra.StringValue
- func (cp ConfigParameterAttributes) ParameterValue() terra.StringValue
- type ConfigParameterState
- type DataArgs
- type DataEndpointAttributes
- func (e DataEndpointAttributes) Address() terra.StringValue
- func (e DataEndpointAttributes) InternalRef() (terra.Reference, error)
- func (e DataEndpointAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (e DataEndpointAttributes) InternalWithRef(ref terra.Reference) DataEndpointAttributes
- func (e DataEndpointAttributes) Port() terra.NumberValue
- func (e DataEndpointAttributes) VpcEndpoint() terra.ListValue[DataEndpointVpcEndpointAttributes]
- type DataEndpointState
- type DataEndpointVpcEndpointAttributes
- func (ve DataEndpointVpcEndpointAttributes) InternalRef() (terra.Reference, error)
- func (ve DataEndpointVpcEndpointAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ve DataEndpointVpcEndpointAttributes) InternalWithRef(ref terra.Reference) DataEndpointVpcEndpointAttributes
- func (ve DataEndpointVpcEndpointAttributes) NetworkInterface() terra.ListValue[DataEndpointVpcEndpointNetworkInterfaceAttributes]
- func (ve DataEndpointVpcEndpointAttributes) VpcEndpointId() terra.StringValue
- func (ve DataEndpointVpcEndpointAttributes) VpcId() terra.StringValue
- type DataEndpointVpcEndpointNetworkInterfaceAttributes
- func (ni DataEndpointVpcEndpointNetworkInterfaceAttributes) AvailabilityZone() terra.StringValue
- func (ni DataEndpointVpcEndpointNetworkInterfaceAttributes) InternalRef() (terra.Reference, error)
- func (ni DataEndpointVpcEndpointNetworkInterfaceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ni DataEndpointVpcEndpointNetworkInterfaceAttributes) InternalWithRef(ref terra.Reference) DataEndpointVpcEndpointNetworkInterfaceAttributes
- func (ni DataEndpointVpcEndpointNetworkInterfaceAttributes) NetworkInterfaceId() terra.StringValue
- func (ni DataEndpointVpcEndpointNetworkInterfaceAttributes) PrivateIpAddress() terra.StringValue
- func (ni DataEndpointVpcEndpointNetworkInterfaceAttributes) SubnetId() terra.StringValue
- type DataEndpointVpcEndpointNetworkInterfaceState
- type DataEndpointVpcEndpointState
- type DataSource
- type EndpointAttributes
- func (e EndpointAttributes) Address() terra.StringValue
- func (e EndpointAttributes) InternalRef() (terra.Reference, error)
- func (e EndpointAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (e EndpointAttributes) InternalWithRef(ref terra.Reference) EndpointAttributes
- func (e EndpointAttributes) Port() terra.NumberValue
- func (e EndpointAttributes) VpcEndpoint() terra.ListValue[EndpointVpcEndpointAttributes]
- type EndpointState
- type EndpointVpcEndpointAttributes
- func (ve EndpointVpcEndpointAttributes) InternalRef() (terra.Reference, error)
- func (ve EndpointVpcEndpointAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ve EndpointVpcEndpointAttributes) InternalWithRef(ref terra.Reference) EndpointVpcEndpointAttributes
- func (ve EndpointVpcEndpointAttributes) NetworkInterface() terra.ListValue[EndpointVpcEndpointNetworkInterfaceAttributes]
- func (ve EndpointVpcEndpointAttributes) VpcEndpointId() terra.StringValue
- func (ve EndpointVpcEndpointAttributes) VpcId() terra.StringValue
- type EndpointVpcEndpointNetworkInterfaceAttributes
- func (ni EndpointVpcEndpointNetworkInterfaceAttributes) AvailabilityZone() terra.StringValue
- func (ni EndpointVpcEndpointNetworkInterfaceAttributes) InternalRef() (terra.Reference, error)
- func (ni EndpointVpcEndpointNetworkInterfaceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ni EndpointVpcEndpointNetworkInterfaceAttributes) InternalWithRef(ref terra.Reference) EndpointVpcEndpointNetworkInterfaceAttributes
- func (ni EndpointVpcEndpointNetworkInterfaceAttributes) NetworkInterfaceId() terra.StringValue
- func (ni EndpointVpcEndpointNetworkInterfaceAttributes) PrivateIpAddress() terra.StringValue
- func (ni EndpointVpcEndpointNetworkInterfaceAttributes) SubnetId() terra.StringValue
- type EndpointVpcEndpointNetworkInterfaceState
- type EndpointVpcEndpointState
- type Resource
- func (arw *Resource) Attributes() awsRedshiftserverlessWorkgroupAttributes
- func (arw *Resource) Configuration() interface{}
- func (arw *Resource) DependOn() terra.Reference
- func (arw *Resource) Dependencies() terra.Dependencies
- func (arw *Resource) ImportState(state io.Reader) error
- func (arw *Resource) LifecycleManagement() *terra.Lifecycle
- func (arw *Resource) LocalName() string
- func (arw *Resource) State() (*awsRedshiftserverlessWorkgroupState, bool)
- func (arw *Resource) StateMust() *awsRedshiftserverlessWorkgroupState
- func (arw *Resource) Type() string
- 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 { // 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 (cp ConfigParameterAttributes) InternalWithRef(ref terra.Reference) ConfigParameterAttributes
func (ConfigParameterAttributes) ParameterKey ¶
func (cp ConfigParameterAttributes) ParameterKey() terra.StringValue
func (ConfigParameterAttributes) ParameterValue ¶
func (cp ConfigParameterAttributes) ParameterValue() terra.StringValue
type ConfigParameterState ¶
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 (e DataEndpointAttributes) Address() terra.StringValue
func (DataEndpointAttributes) InternalRef ¶
func (e DataEndpointAttributes) InternalRef() (terra.Reference, error)
func (DataEndpointAttributes) InternalTokens ¶
func (e DataEndpointAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataEndpointAttributes) InternalWithRef ¶
func (e DataEndpointAttributes) InternalWithRef(ref terra.Reference) DataEndpointAttributes
func (DataEndpointAttributes) Port ¶
func (e DataEndpointAttributes) Port() terra.NumberValue
func (DataEndpointAttributes) VpcEndpoint ¶
func (e DataEndpointAttributes) VpcEndpoint() terra.ListValue[DataEndpointVpcEndpointAttributes]
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 (ve DataEndpointVpcEndpointAttributes) InternalRef() (terra.Reference, error)
func (DataEndpointVpcEndpointAttributes) InternalTokens ¶
func (ve DataEndpointVpcEndpointAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataEndpointVpcEndpointAttributes) InternalWithRef ¶
func (ve DataEndpointVpcEndpointAttributes) InternalWithRef(ref terra.Reference) DataEndpointVpcEndpointAttributes
func (DataEndpointVpcEndpointAttributes) NetworkInterface ¶
func (ve DataEndpointVpcEndpointAttributes) NetworkInterface() terra.ListValue[DataEndpointVpcEndpointNetworkInterfaceAttributes]
func (DataEndpointVpcEndpointAttributes) VpcEndpointId ¶
func (ve DataEndpointVpcEndpointAttributes) VpcEndpointId() terra.StringValue
func (DataEndpointVpcEndpointAttributes) VpcId ¶
func (ve DataEndpointVpcEndpointAttributes) VpcId() terra.StringValue
type DataEndpointVpcEndpointNetworkInterfaceAttributes ¶
type DataEndpointVpcEndpointNetworkInterfaceAttributes struct {
// contains filtered or unexported fields
}
func (DataEndpointVpcEndpointNetworkInterfaceAttributes) AvailabilityZone ¶
func (ni DataEndpointVpcEndpointNetworkInterfaceAttributes) AvailabilityZone() terra.StringValue
func (DataEndpointVpcEndpointNetworkInterfaceAttributes) InternalRef ¶
func (ni DataEndpointVpcEndpointNetworkInterfaceAttributes) InternalRef() (terra.Reference, error)
func (DataEndpointVpcEndpointNetworkInterfaceAttributes) InternalTokens ¶
func (ni DataEndpointVpcEndpointNetworkInterfaceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataEndpointVpcEndpointNetworkInterfaceAttributes) InternalWithRef ¶
func (ni DataEndpointVpcEndpointNetworkInterfaceAttributes) InternalWithRef(ref terra.Reference) DataEndpointVpcEndpointNetworkInterfaceAttributes
func (DataEndpointVpcEndpointNetworkInterfaceAttributes) NetworkInterfaceId ¶
func (ni DataEndpointVpcEndpointNetworkInterfaceAttributes) NetworkInterfaceId() terra.StringValue
func (DataEndpointVpcEndpointNetworkInterfaceAttributes) PrivateIpAddress ¶
func (ni DataEndpointVpcEndpointNetworkInterfaceAttributes) PrivateIpAddress() terra.StringValue
func (DataEndpointVpcEndpointNetworkInterfaceAttributes) SubnetId ¶
func (ni DataEndpointVpcEndpointNetworkInterfaceAttributes) SubnetId() terra.StringValue
type DataEndpointVpcEndpointState ¶
type DataEndpointVpcEndpointState struct { VpcEndpointId string `json:"vpc_endpoint_id"` VpcId string `json:"vpc_id"` NetworkInterface []DataEndpointVpcEndpointNetworkInterfaceState `json:"network_interface"` }
type DataSource ¶
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 (e EndpointAttributes) Port() terra.NumberValue
func (EndpointAttributes) VpcEndpoint ¶
func (e EndpointAttributes) VpcEndpoint() terra.ListValue[EndpointVpcEndpointAttributes]
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 (ve EndpointVpcEndpointAttributes) InternalWithRef(ref terra.Reference) EndpointVpcEndpointAttributes
func (EndpointVpcEndpointAttributes) NetworkInterface ¶
func (ve EndpointVpcEndpointAttributes) NetworkInterface() terra.ListValue[EndpointVpcEndpointNetworkInterfaceAttributes]
func (EndpointVpcEndpointAttributes) VpcEndpointId ¶
func (ve EndpointVpcEndpointAttributes) VpcEndpointId() terra.StringValue
func (EndpointVpcEndpointAttributes) VpcId ¶
func (ve EndpointVpcEndpointAttributes) VpcId() terra.StringValue
type EndpointVpcEndpointNetworkInterfaceAttributes ¶
type EndpointVpcEndpointNetworkInterfaceAttributes struct {
// contains filtered or unexported fields
}
func (EndpointVpcEndpointNetworkInterfaceAttributes) AvailabilityZone ¶
func (ni EndpointVpcEndpointNetworkInterfaceAttributes) AvailabilityZone() terra.StringValue
func (EndpointVpcEndpointNetworkInterfaceAttributes) InternalRef ¶
func (ni EndpointVpcEndpointNetworkInterfaceAttributes) InternalRef() (terra.Reference, error)
func (EndpointVpcEndpointNetworkInterfaceAttributes) InternalTokens ¶
func (ni EndpointVpcEndpointNetworkInterfaceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EndpointVpcEndpointNetworkInterfaceAttributes) InternalWithRef ¶
func (ni EndpointVpcEndpointNetworkInterfaceAttributes) InternalWithRef(ref terra.Reference) EndpointVpcEndpointNetworkInterfaceAttributes
func (EndpointVpcEndpointNetworkInterfaceAttributes) NetworkInterfaceId ¶
func (ni EndpointVpcEndpointNetworkInterfaceAttributes) NetworkInterfaceId() terra.StringValue
func (EndpointVpcEndpointNetworkInterfaceAttributes) PrivateIpAddress ¶
func (ni EndpointVpcEndpointNetworkInterfaceAttributes) PrivateIpAddress() terra.StringValue
func (EndpointVpcEndpointNetworkInterfaceAttributes) SubnetId ¶
func (ni EndpointVpcEndpointNetworkInterfaceAttributes) SubnetId() terra.StringValue
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 (*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) Dependencies ¶
func (arw *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 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