Documentation ¶
Index ¶
- type Args
- type AutoStartConfiguration
- type AutoStartConfigurationAttributes
- func (asc AutoStartConfigurationAttributes) Enabled() terra.BoolValue
- func (asc AutoStartConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (asc AutoStartConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (asc AutoStartConfigurationAttributes) InternalWithRef(ref terra.Reference) AutoStartConfigurationAttributes
- type AutoStartConfigurationState
- type AutoStopConfiguration
- type AutoStopConfigurationAttributes
- func (asc AutoStopConfigurationAttributes) Enabled() terra.BoolValue
- func (asc AutoStopConfigurationAttributes) IdleTimeoutMinutes() terra.NumberValue
- func (asc AutoStopConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (asc AutoStopConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (asc AutoStopConfigurationAttributes) InternalWithRef(ref terra.Reference) AutoStopConfigurationAttributes
- type AutoStopConfigurationState
- type ImageConfiguration
- type ImageConfigurationAttributes
- func (ic ImageConfigurationAttributes) ImageUri() terra.StringValue
- func (ic ImageConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (ic ImageConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ic ImageConfigurationAttributes) InternalWithRef(ref terra.Reference) ImageConfigurationAttributes
- type ImageConfigurationState
- type InitialCapacity
- type InitialCapacityAttributes
- func (ic InitialCapacityAttributes) InitialCapacityConfig() terra.ListValue[InitialCapacityInitialCapacityConfigAttributes]
- func (ic InitialCapacityAttributes) InitialCapacityType() terra.StringValue
- func (ic InitialCapacityAttributes) InternalRef() (terra.Reference, error)
- func (ic InitialCapacityAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ic InitialCapacityAttributes) InternalWithRef(ref terra.Reference) InitialCapacityAttributes
- type InitialCapacityInitialCapacityConfig
- type InitialCapacityInitialCapacityConfigAttributes
- func (icc InitialCapacityInitialCapacityConfigAttributes) InternalRef() (terra.Reference, error)
- func (icc InitialCapacityInitialCapacityConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (icc InitialCapacityInitialCapacityConfigAttributes) InternalWithRef(ref terra.Reference) InitialCapacityInitialCapacityConfigAttributes
- func (icc InitialCapacityInitialCapacityConfigAttributes) WorkerConfiguration() ...
- func (icc InitialCapacityInitialCapacityConfigAttributes) WorkerCount() terra.NumberValue
- type InitialCapacityInitialCapacityConfigState
- type InitialCapacityInitialCapacityConfigWorkerConfiguration
- type InitialCapacityInitialCapacityConfigWorkerConfigurationAttributes
- func (wc InitialCapacityInitialCapacityConfigWorkerConfigurationAttributes) Cpu() terra.StringValue
- func (wc InitialCapacityInitialCapacityConfigWorkerConfigurationAttributes) Disk() terra.StringValue
- func (wc InitialCapacityInitialCapacityConfigWorkerConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (wc InitialCapacityInitialCapacityConfigWorkerConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (wc InitialCapacityInitialCapacityConfigWorkerConfigurationAttributes) InternalWithRef(ref terra.Reference) InitialCapacityInitialCapacityConfigWorkerConfigurationAttributes
- func (wc InitialCapacityInitialCapacityConfigWorkerConfigurationAttributes) Memory() terra.StringValue
- type InitialCapacityInitialCapacityConfigWorkerConfigurationState
- type InitialCapacityState
- type MaximumCapacity
- type MaximumCapacityAttributes
- func (mc MaximumCapacityAttributes) Cpu() terra.StringValue
- func (mc MaximumCapacityAttributes) Disk() terra.StringValue
- func (mc MaximumCapacityAttributes) InternalRef() (terra.Reference, error)
- func (mc MaximumCapacityAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mc MaximumCapacityAttributes) InternalWithRef(ref terra.Reference) MaximumCapacityAttributes
- func (mc MaximumCapacityAttributes) Memory() terra.StringValue
- type MaximumCapacityState
- type NetworkConfiguration
- type NetworkConfigurationAttributes
- func (nc NetworkConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (nc NetworkConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (nc NetworkConfigurationAttributes) InternalWithRef(ref terra.Reference) NetworkConfigurationAttributes
- func (nc NetworkConfigurationAttributes) SecurityGroupIds() terra.SetValue[terra.StringValue]
- func (nc NetworkConfigurationAttributes) SubnetIds() terra.SetValue[terra.StringValue]
- type NetworkConfigurationState
- type Resource
- func (aea *Resource) Attributes() awsEmrserverlessApplicationAttributes
- func (aea *Resource) Configuration() interface{}
- func (aea *Resource) DependOn() terra.Reference
- func (aea *Resource) Dependencies() terra.Dependencies
- func (aea *Resource) ImportState(state io.Reader) error
- func (aea *Resource) LifecycleManagement() *terra.Lifecycle
- func (aea *Resource) LocalName() string
- func (aea *Resource) State() (*awsEmrserverlessApplicationState, bool)
- func (aea *Resource) StateMust() *awsEmrserverlessApplicationState
- func (aea *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Architecture: string, optional Architecture terra.StringValue `hcl:"architecture,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // ReleaseLabel: string, required ReleaseLabel terra.StringValue `hcl:"release_label,attr" validate:"required"` // 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"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` // AutoStartConfiguration: optional AutoStartConfiguration *AutoStartConfiguration `hcl:"auto_start_configuration,block"` // AutoStopConfiguration: optional AutoStopConfiguration *AutoStopConfiguration `hcl:"auto_stop_configuration,block"` // ImageConfiguration: optional ImageConfiguration *ImageConfiguration `hcl:"image_configuration,block"` // InitialCapacity: min=0 InitialCapacity []InitialCapacity `hcl:"initial_capacity,block" validate:"min=0"` // MaximumCapacity: optional MaximumCapacity *MaximumCapacity `hcl:"maximum_capacity,block"` // NetworkConfiguration: optional NetworkConfiguration *NetworkConfiguration `hcl:"network_configuration,block"` }
Args contains the configurations for aws_emrserverless_application.
type AutoStartConfiguration ¶
type AutoStartConfigurationAttributes ¶
type AutoStartConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (AutoStartConfigurationAttributes) Enabled ¶
func (asc AutoStartConfigurationAttributes) Enabled() terra.BoolValue
func (AutoStartConfigurationAttributes) InternalRef ¶
func (asc AutoStartConfigurationAttributes) InternalRef() (terra.Reference, error)
func (AutoStartConfigurationAttributes) InternalTokens ¶
func (asc AutoStartConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AutoStartConfigurationAttributes) InternalWithRef ¶
func (asc AutoStartConfigurationAttributes) InternalWithRef(ref terra.Reference) AutoStartConfigurationAttributes
type AutoStartConfigurationState ¶
type AutoStartConfigurationState struct {
Enabled bool `json:"enabled"`
}
type AutoStopConfiguration ¶
type AutoStopConfiguration struct { // Enabled: bool, optional Enabled terra.BoolValue `hcl:"enabled,attr"` // IdleTimeoutMinutes: number, optional IdleTimeoutMinutes terra.NumberValue `hcl:"idle_timeout_minutes,attr"` }
type AutoStopConfigurationAttributes ¶
type AutoStopConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (AutoStopConfigurationAttributes) Enabled ¶
func (asc AutoStopConfigurationAttributes) Enabled() terra.BoolValue
func (AutoStopConfigurationAttributes) IdleTimeoutMinutes ¶
func (asc AutoStopConfigurationAttributes) IdleTimeoutMinutes() terra.NumberValue
func (AutoStopConfigurationAttributes) InternalRef ¶
func (asc AutoStopConfigurationAttributes) InternalRef() (terra.Reference, error)
func (AutoStopConfigurationAttributes) InternalTokens ¶
func (asc AutoStopConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AutoStopConfigurationAttributes) InternalWithRef ¶
func (asc AutoStopConfigurationAttributes) InternalWithRef(ref terra.Reference) AutoStopConfigurationAttributes
type ImageConfiguration ¶
type ImageConfiguration struct { // ImageUri: string, required ImageUri terra.StringValue `hcl:"image_uri,attr" validate:"required"` }
type ImageConfigurationAttributes ¶
type ImageConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (ImageConfigurationAttributes) ImageUri ¶
func (ic ImageConfigurationAttributes) ImageUri() terra.StringValue
func (ImageConfigurationAttributes) InternalRef ¶
func (ic ImageConfigurationAttributes) InternalRef() (terra.Reference, error)
func (ImageConfigurationAttributes) InternalTokens ¶
func (ic ImageConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ImageConfigurationAttributes) InternalWithRef ¶
func (ic ImageConfigurationAttributes) InternalWithRef(ref terra.Reference) ImageConfigurationAttributes
type ImageConfigurationState ¶
type ImageConfigurationState struct {
ImageUri string `json:"image_uri"`
}
type InitialCapacity ¶
type InitialCapacity struct { // InitialCapacityType: string, required InitialCapacityType terra.StringValue `hcl:"initial_capacity_type,attr" validate:"required"` // InitialCapacityInitialCapacityConfig: optional InitialCapacityConfig *InitialCapacityInitialCapacityConfig `hcl:"initial_capacity_config,block"` }
type InitialCapacityAttributes ¶
type InitialCapacityAttributes struct {
// contains filtered or unexported fields
}
func (InitialCapacityAttributes) InitialCapacityConfig ¶
func (ic InitialCapacityAttributes) InitialCapacityConfig() terra.ListValue[InitialCapacityInitialCapacityConfigAttributes]
func (InitialCapacityAttributes) InitialCapacityType ¶
func (ic InitialCapacityAttributes) InitialCapacityType() terra.StringValue
func (InitialCapacityAttributes) InternalRef ¶
func (ic InitialCapacityAttributes) InternalRef() (terra.Reference, error)
func (InitialCapacityAttributes) InternalTokens ¶
func (ic InitialCapacityAttributes) InternalTokens() (hclwrite.Tokens, error)
func (InitialCapacityAttributes) InternalWithRef ¶
func (ic InitialCapacityAttributes) InternalWithRef(ref terra.Reference) InitialCapacityAttributes
type InitialCapacityInitialCapacityConfig ¶
type InitialCapacityInitialCapacityConfig struct { // WorkerCount: number, required WorkerCount terra.NumberValue `hcl:"worker_count,attr" validate:"required"` // InitialCapacityInitialCapacityConfigWorkerConfiguration: optional WorkerConfiguration *InitialCapacityInitialCapacityConfigWorkerConfiguration `hcl:"worker_configuration,block"` }
type InitialCapacityInitialCapacityConfigAttributes ¶
type InitialCapacityInitialCapacityConfigAttributes struct {
// contains filtered or unexported fields
}
func (InitialCapacityInitialCapacityConfigAttributes) InternalRef ¶
func (icc InitialCapacityInitialCapacityConfigAttributes) InternalRef() (terra.Reference, error)
func (InitialCapacityInitialCapacityConfigAttributes) InternalTokens ¶
func (icc InitialCapacityInitialCapacityConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (InitialCapacityInitialCapacityConfigAttributes) InternalWithRef ¶
func (icc InitialCapacityInitialCapacityConfigAttributes) InternalWithRef(ref terra.Reference) InitialCapacityInitialCapacityConfigAttributes
func (InitialCapacityInitialCapacityConfigAttributes) WorkerConfiguration ¶
func (icc InitialCapacityInitialCapacityConfigAttributes) WorkerConfiguration() terra.ListValue[InitialCapacityInitialCapacityConfigWorkerConfigurationAttributes]
func (InitialCapacityInitialCapacityConfigAttributes) WorkerCount ¶
func (icc InitialCapacityInitialCapacityConfigAttributes) WorkerCount() terra.NumberValue
type InitialCapacityInitialCapacityConfigState ¶
type InitialCapacityInitialCapacityConfigState struct { WorkerCount float64 `json:"worker_count"` WorkerConfiguration []InitialCapacityInitialCapacityConfigWorkerConfigurationState `json:"worker_configuration"` }
type InitialCapacityInitialCapacityConfigWorkerConfiguration ¶
type InitialCapacityInitialCapacityConfigWorkerConfiguration struct { // Cpu: string, required Cpu terra.StringValue `hcl:"cpu,attr" validate:"required"` // Disk: string, optional Disk terra.StringValue `hcl:"disk,attr"` // Memory: string, required Memory terra.StringValue `hcl:"memory,attr" validate:"required"` }
type InitialCapacityInitialCapacityConfigWorkerConfigurationAttributes ¶
type InitialCapacityInitialCapacityConfigWorkerConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (InitialCapacityInitialCapacityConfigWorkerConfigurationAttributes) InternalRef ¶
func (wc InitialCapacityInitialCapacityConfigWorkerConfigurationAttributes) InternalRef() (terra.Reference, error)
func (InitialCapacityInitialCapacityConfigWorkerConfigurationAttributes) InternalTokens ¶
func (wc InitialCapacityInitialCapacityConfigWorkerConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (InitialCapacityInitialCapacityConfigWorkerConfigurationAttributes) InternalWithRef ¶
func (InitialCapacityInitialCapacityConfigWorkerConfigurationAttributes) Memory ¶
func (wc InitialCapacityInitialCapacityConfigWorkerConfigurationAttributes) Memory() terra.StringValue
type InitialCapacityState ¶
type InitialCapacityState struct { InitialCapacityType string `json:"initial_capacity_type"` InitialCapacityConfig []InitialCapacityInitialCapacityConfigState `json:"initial_capacity_config"` }
type MaximumCapacity ¶
type MaximumCapacity struct { // Cpu: string, required Cpu terra.StringValue `hcl:"cpu,attr" validate:"required"` // Disk: string, optional Disk terra.StringValue `hcl:"disk,attr"` // Memory: string, required Memory terra.StringValue `hcl:"memory,attr" validate:"required"` }
type MaximumCapacityAttributes ¶
type MaximumCapacityAttributes struct {
// contains filtered or unexported fields
}
func (MaximumCapacityAttributes) Cpu ¶
func (mc MaximumCapacityAttributes) Cpu() terra.StringValue
func (MaximumCapacityAttributes) Disk ¶
func (mc MaximumCapacityAttributes) Disk() terra.StringValue
func (MaximumCapacityAttributes) InternalRef ¶
func (mc MaximumCapacityAttributes) InternalRef() (terra.Reference, error)
func (MaximumCapacityAttributes) InternalTokens ¶
func (mc MaximumCapacityAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MaximumCapacityAttributes) InternalWithRef ¶
func (mc MaximumCapacityAttributes) InternalWithRef(ref terra.Reference) MaximumCapacityAttributes
func (MaximumCapacityAttributes) Memory ¶
func (mc MaximumCapacityAttributes) Memory() terra.StringValue
type MaximumCapacityState ¶
type NetworkConfiguration ¶
type NetworkConfiguration struct { // 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"` }
type NetworkConfigurationAttributes ¶
type NetworkConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (NetworkConfigurationAttributes) InternalRef ¶
func (nc NetworkConfigurationAttributes) InternalRef() (terra.Reference, error)
func (NetworkConfigurationAttributes) InternalTokens ¶
func (nc NetworkConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NetworkConfigurationAttributes) InternalWithRef ¶
func (nc NetworkConfigurationAttributes) InternalWithRef(ref terra.Reference) NetworkConfigurationAttributes
func (NetworkConfigurationAttributes) SecurityGroupIds ¶
func (nc NetworkConfigurationAttributes) SecurityGroupIds() terra.SetValue[terra.StringValue]
func (NetworkConfigurationAttributes) SubnetIds ¶
func (nc NetworkConfigurationAttributes) SubnetIds() terra.SetValue[terra.StringValue]
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_emrserverless_application.
func (*Resource) Attributes ¶
func (aea *Resource) Attributes() awsEmrserverlessApplicationAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (aea *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (aea *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.
Click to show internal directories.
Click to hide internal directories.