Documentation
¶
Index ¶
- type Args
- type InstanceTypeConfigs
- type InstanceTypeConfigsAttributes
- func (itc InstanceTypeConfigsAttributes) BidPrice() terra.StringValue
- func (itc InstanceTypeConfigsAttributes) BidPriceAsPercentageOfOnDemandPrice() terra.NumberValue
- func (itc InstanceTypeConfigsAttributes) Configurations() terra.SetValue[InstanceTypeConfigsConfigurationsAttributes]
- func (itc InstanceTypeConfigsAttributes) EbsConfig() terra.SetValue[InstanceTypeConfigsEbsConfigAttributes]
- func (itc InstanceTypeConfigsAttributes) InstanceType() terra.StringValue
- func (itc InstanceTypeConfigsAttributes) InternalRef() (terra.Reference, error)
- func (itc InstanceTypeConfigsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (itc InstanceTypeConfigsAttributes) InternalWithRef(ref terra.Reference) InstanceTypeConfigsAttributes
- func (itc InstanceTypeConfigsAttributes) WeightedCapacity() terra.NumberValue
- type InstanceTypeConfigsConfigurations
- type InstanceTypeConfigsConfigurationsAttributes
- func (c InstanceTypeConfigsConfigurationsAttributes) Classification() terra.StringValue
- func (c InstanceTypeConfigsConfigurationsAttributes) InternalRef() (terra.Reference, error)
- func (c InstanceTypeConfigsConfigurationsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c InstanceTypeConfigsConfigurationsAttributes) InternalWithRef(ref terra.Reference) InstanceTypeConfigsConfigurationsAttributes
- func (c InstanceTypeConfigsConfigurationsAttributes) Properties() terra.MapValue[terra.StringValue]
- type InstanceTypeConfigsConfigurationsState
- type InstanceTypeConfigsEbsConfig
- type InstanceTypeConfigsEbsConfigAttributes
- func (ec InstanceTypeConfigsEbsConfigAttributes) InternalRef() (terra.Reference, error)
- func (ec InstanceTypeConfigsEbsConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ec InstanceTypeConfigsEbsConfigAttributes) InternalWithRef(ref terra.Reference) InstanceTypeConfigsEbsConfigAttributes
- func (ec InstanceTypeConfigsEbsConfigAttributes) Iops() terra.NumberValue
- func (ec InstanceTypeConfigsEbsConfigAttributes) Size() terra.NumberValue
- func (ec InstanceTypeConfigsEbsConfigAttributes) Type() terra.StringValue
- func (ec InstanceTypeConfigsEbsConfigAttributes) VolumesPerInstance() terra.NumberValue
- type InstanceTypeConfigsEbsConfigState
- type InstanceTypeConfigsState
- type LaunchSpecifications
- type LaunchSpecificationsAttributes
- func (ls LaunchSpecificationsAttributes) InternalRef() (terra.Reference, error)
- func (ls LaunchSpecificationsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ls LaunchSpecificationsAttributes) InternalWithRef(ref terra.Reference) LaunchSpecificationsAttributes
- func (ls LaunchSpecificationsAttributes) OnDemandSpecification() terra.ListValue[LaunchSpecificationsOnDemandSpecificationAttributes]
- func (ls LaunchSpecificationsAttributes) SpotSpecification() terra.ListValue[LaunchSpecificationsSpotSpecificationAttributes]
- type LaunchSpecificationsOnDemandSpecification
- type LaunchSpecificationsOnDemandSpecificationAttributes
- func (ods LaunchSpecificationsOnDemandSpecificationAttributes) AllocationStrategy() terra.StringValue
- func (ods LaunchSpecificationsOnDemandSpecificationAttributes) InternalRef() (terra.Reference, error)
- func (ods LaunchSpecificationsOnDemandSpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ods LaunchSpecificationsOnDemandSpecificationAttributes) InternalWithRef(ref terra.Reference) LaunchSpecificationsOnDemandSpecificationAttributes
- type LaunchSpecificationsOnDemandSpecificationState
- type LaunchSpecificationsSpotSpecification
- type LaunchSpecificationsSpotSpecificationAttributes
- func (ss LaunchSpecificationsSpotSpecificationAttributes) AllocationStrategy() terra.StringValue
- func (ss LaunchSpecificationsSpotSpecificationAttributes) BlockDurationMinutes() terra.NumberValue
- func (ss LaunchSpecificationsSpotSpecificationAttributes) InternalRef() (terra.Reference, error)
- func (ss LaunchSpecificationsSpotSpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ss LaunchSpecificationsSpotSpecificationAttributes) InternalWithRef(ref terra.Reference) LaunchSpecificationsSpotSpecificationAttributes
- func (ss LaunchSpecificationsSpotSpecificationAttributes) TimeoutAction() terra.StringValue
- func (ss LaunchSpecificationsSpotSpecificationAttributes) TimeoutDurationMinutes() terra.NumberValue
- type LaunchSpecificationsSpotSpecificationState
- type LaunchSpecificationsState
- type Resource
- func (aeif *Resource) Attributes() awsEmrInstanceFleetAttributes
- func (aeif *Resource) Configuration() interface{}
- func (aeif *Resource) DependOn() terra.Reference
- func (aeif *Resource) Dependencies() terra.Dependencies
- func (aeif *Resource) ImportState(state io.Reader) error
- func (aeif *Resource) LifecycleManagement() *terra.Lifecycle
- func (aeif *Resource) LocalName() string
- func (aeif *Resource) State() (*awsEmrInstanceFleetState, bool)
- func (aeif *Resource) StateMust() *awsEmrInstanceFleetState
- func (aeif *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // ClusterId: string, required ClusterId terra.StringValue `hcl:"cluster_id,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // TargetOnDemandCapacity: number, optional TargetOnDemandCapacity terra.NumberValue `hcl:"target_on_demand_capacity,attr"` // TargetSpotCapacity: number, optional TargetSpotCapacity terra.NumberValue `hcl:"target_spot_capacity,attr"` // InstanceTypeConfigs: min=0 InstanceTypeConfigs []InstanceTypeConfigs `hcl:"instance_type_configs,block" validate:"min=0"` // LaunchSpecifications: optional LaunchSpecifications *LaunchSpecifications `hcl:"launch_specifications,block"` }
Args contains the configurations for aws_emr_instance_fleet.
type InstanceTypeConfigs ¶
type InstanceTypeConfigs struct { // BidPrice: string, optional BidPrice terra.StringValue `hcl:"bid_price,attr"` // BidPriceAsPercentageOfOnDemandPrice: number, optional BidPriceAsPercentageOfOnDemandPrice terra.NumberValue `hcl:"bid_price_as_percentage_of_on_demand_price,attr"` // InstanceType: string, required InstanceType terra.StringValue `hcl:"instance_type,attr" validate:"required"` // WeightedCapacity: number, optional WeightedCapacity terra.NumberValue `hcl:"weighted_capacity,attr"` // InstanceTypeConfigsConfigurations: min=0 Configurations []InstanceTypeConfigsConfigurations `hcl:"configurations,block" validate:"min=0"` // InstanceTypeConfigsEbsConfig: min=0 EbsConfig []InstanceTypeConfigsEbsConfig `hcl:"ebs_config,block" validate:"min=0"` }
type InstanceTypeConfigsAttributes ¶
type InstanceTypeConfigsAttributes struct {
// contains filtered or unexported fields
}
func (InstanceTypeConfigsAttributes) BidPrice ¶
func (itc InstanceTypeConfigsAttributes) BidPrice() terra.StringValue
func (InstanceTypeConfigsAttributes) BidPriceAsPercentageOfOnDemandPrice ¶
func (itc InstanceTypeConfigsAttributes) BidPriceAsPercentageOfOnDemandPrice() terra.NumberValue
func (InstanceTypeConfigsAttributes) Configurations ¶
func (itc InstanceTypeConfigsAttributes) Configurations() terra.SetValue[InstanceTypeConfigsConfigurationsAttributes]
func (InstanceTypeConfigsAttributes) EbsConfig ¶
func (itc InstanceTypeConfigsAttributes) EbsConfig() terra.SetValue[InstanceTypeConfigsEbsConfigAttributes]
func (InstanceTypeConfigsAttributes) InstanceType ¶
func (itc InstanceTypeConfigsAttributes) InstanceType() terra.StringValue
func (InstanceTypeConfigsAttributes) InternalRef ¶
func (itc InstanceTypeConfigsAttributes) InternalRef() (terra.Reference, error)
func (InstanceTypeConfigsAttributes) InternalTokens ¶
func (itc InstanceTypeConfigsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (InstanceTypeConfigsAttributes) InternalWithRef ¶
func (itc InstanceTypeConfigsAttributes) InternalWithRef(ref terra.Reference) InstanceTypeConfigsAttributes
func (InstanceTypeConfigsAttributes) WeightedCapacity ¶
func (itc InstanceTypeConfigsAttributes) WeightedCapacity() terra.NumberValue
type InstanceTypeConfigsConfigurations ¶
type InstanceTypeConfigsConfigurations struct { // Classification: string, optional Classification terra.StringValue `hcl:"classification,attr"` // Properties: map of string, optional Properties terra.MapValue[terra.StringValue] `hcl:"properties,attr"` }
type InstanceTypeConfigsConfigurationsAttributes ¶
type InstanceTypeConfigsConfigurationsAttributes struct {
// contains filtered or unexported fields
}
func (InstanceTypeConfigsConfigurationsAttributes) Classification ¶
func (c InstanceTypeConfigsConfigurationsAttributes) Classification() terra.StringValue
func (InstanceTypeConfigsConfigurationsAttributes) InternalRef ¶
func (c InstanceTypeConfigsConfigurationsAttributes) InternalRef() (terra.Reference, error)
func (InstanceTypeConfigsConfigurationsAttributes) InternalTokens ¶
func (c InstanceTypeConfigsConfigurationsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (InstanceTypeConfigsConfigurationsAttributes) InternalWithRef ¶
func (c InstanceTypeConfigsConfigurationsAttributes) InternalWithRef(ref terra.Reference) InstanceTypeConfigsConfigurationsAttributes
func (InstanceTypeConfigsConfigurationsAttributes) Properties ¶
func (c InstanceTypeConfigsConfigurationsAttributes) Properties() terra.MapValue[terra.StringValue]
type InstanceTypeConfigsEbsConfig ¶
type InstanceTypeConfigsEbsConfig struct { // Iops: number, optional Iops terra.NumberValue `hcl:"iops,attr"` // Size: number, required Size terra.NumberValue `hcl:"size,attr" validate:"required"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` // VolumesPerInstance: number, optional VolumesPerInstance terra.NumberValue `hcl:"volumes_per_instance,attr"` }
type InstanceTypeConfigsEbsConfigAttributes ¶
type InstanceTypeConfigsEbsConfigAttributes struct {
// contains filtered or unexported fields
}
func (InstanceTypeConfigsEbsConfigAttributes) InternalRef ¶
func (ec InstanceTypeConfigsEbsConfigAttributes) InternalRef() (terra.Reference, error)
func (InstanceTypeConfigsEbsConfigAttributes) InternalTokens ¶
func (ec InstanceTypeConfigsEbsConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (InstanceTypeConfigsEbsConfigAttributes) InternalWithRef ¶
func (ec InstanceTypeConfigsEbsConfigAttributes) InternalWithRef(ref terra.Reference) InstanceTypeConfigsEbsConfigAttributes
func (InstanceTypeConfigsEbsConfigAttributes) Iops ¶
func (ec InstanceTypeConfigsEbsConfigAttributes) Iops() terra.NumberValue
func (InstanceTypeConfigsEbsConfigAttributes) Size ¶
func (ec InstanceTypeConfigsEbsConfigAttributes) Size() terra.NumberValue
func (InstanceTypeConfigsEbsConfigAttributes) Type ¶
func (ec InstanceTypeConfigsEbsConfigAttributes) Type() terra.StringValue
func (InstanceTypeConfigsEbsConfigAttributes) VolumesPerInstance ¶
func (ec InstanceTypeConfigsEbsConfigAttributes) VolumesPerInstance() terra.NumberValue
type InstanceTypeConfigsState ¶
type InstanceTypeConfigsState struct { BidPrice string `json:"bid_price"` BidPriceAsPercentageOfOnDemandPrice float64 `json:"bid_price_as_percentage_of_on_demand_price"` InstanceType string `json:"instance_type"` WeightedCapacity float64 `json:"weighted_capacity"` Configurations []InstanceTypeConfigsConfigurationsState `json:"configurations"` EbsConfig []InstanceTypeConfigsEbsConfigState `json:"ebs_config"` }
type LaunchSpecifications ¶
type LaunchSpecifications struct { // LaunchSpecificationsOnDemandSpecification: min=0 OnDemandSpecification []LaunchSpecificationsOnDemandSpecification `hcl:"on_demand_specification,block" validate:"min=0"` // LaunchSpecificationsSpotSpecification: min=0 SpotSpecification []LaunchSpecificationsSpotSpecification `hcl:"spot_specification,block" validate:"min=0"` }
type LaunchSpecificationsAttributes ¶
type LaunchSpecificationsAttributes struct {
// contains filtered or unexported fields
}
func (LaunchSpecificationsAttributes) InternalRef ¶
func (ls LaunchSpecificationsAttributes) InternalRef() (terra.Reference, error)
func (LaunchSpecificationsAttributes) InternalTokens ¶
func (ls LaunchSpecificationsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LaunchSpecificationsAttributes) InternalWithRef ¶
func (ls LaunchSpecificationsAttributes) InternalWithRef(ref terra.Reference) LaunchSpecificationsAttributes
func (LaunchSpecificationsAttributes) OnDemandSpecification ¶
func (ls LaunchSpecificationsAttributes) OnDemandSpecification() terra.ListValue[LaunchSpecificationsOnDemandSpecificationAttributes]
func (LaunchSpecificationsAttributes) SpotSpecification ¶
func (ls LaunchSpecificationsAttributes) SpotSpecification() terra.ListValue[LaunchSpecificationsSpotSpecificationAttributes]
type LaunchSpecificationsOnDemandSpecification ¶
type LaunchSpecificationsOnDemandSpecification struct { // AllocationStrategy: string, required AllocationStrategy terra.StringValue `hcl:"allocation_strategy,attr" validate:"required"` }
type LaunchSpecificationsOnDemandSpecificationAttributes ¶
type LaunchSpecificationsOnDemandSpecificationAttributes struct {
// contains filtered or unexported fields
}
func (LaunchSpecificationsOnDemandSpecificationAttributes) AllocationStrategy ¶
func (ods LaunchSpecificationsOnDemandSpecificationAttributes) AllocationStrategy() terra.StringValue
func (LaunchSpecificationsOnDemandSpecificationAttributes) InternalRef ¶
func (ods LaunchSpecificationsOnDemandSpecificationAttributes) InternalRef() (terra.Reference, error)
func (LaunchSpecificationsOnDemandSpecificationAttributes) InternalTokens ¶
func (ods LaunchSpecificationsOnDemandSpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LaunchSpecificationsOnDemandSpecificationAttributes) InternalWithRef ¶
func (ods LaunchSpecificationsOnDemandSpecificationAttributes) InternalWithRef(ref terra.Reference) LaunchSpecificationsOnDemandSpecificationAttributes
type LaunchSpecificationsOnDemandSpecificationState ¶
type LaunchSpecificationsOnDemandSpecificationState struct {
AllocationStrategy string `json:"allocation_strategy"`
}
type LaunchSpecificationsSpotSpecification ¶
type LaunchSpecificationsSpotSpecification struct { // AllocationStrategy: string, required AllocationStrategy terra.StringValue `hcl:"allocation_strategy,attr" validate:"required"` // BlockDurationMinutes: number, optional BlockDurationMinutes terra.NumberValue `hcl:"block_duration_minutes,attr"` // TimeoutAction: string, required TimeoutAction terra.StringValue `hcl:"timeout_action,attr" validate:"required"` // TimeoutDurationMinutes: number, required TimeoutDurationMinutes terra.NumberValue `hcl:"timeout_duration_minutes,attr" validate:"required"` }
type LaunchSpecificationsSpotSpecificationAttributes ¶
type LaunchSpecificationsSpotSpecificationAttributes struct {
// contains filtered or unexported fields
}
func (LaunchSpecificationsSpotSpecificationAttributes) AllocationStrategy ¶
func (ss LaunchSpecificationsSpotSpecificationAttributes) AllocationStrategy() terra.StringValue
func (LaunchSpecificationsSpotSpecificationAttributes) BlockDurationMinutes ¶
func (ss LaunchSpecificationsSpotSpecificationAttributes) BlockDurationMinutes() terra.NumberValue
func (LaunchSpecificationsSpotSpecificationAttributes) InternalRef ¶
func (ss LaunchSpecificationsSpotSpecificationAttributes) InternalRef() (terra.Reference, error)
func (LaunchSpecificationsSpotSpecificationAttributes) InternalTokens ¶
func (ss LaunchSpecificationsSpotSpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LaunchSpecificationsSpotSpecificationAttributes) InternalWithRef ¶
func (ss LaunchSpecificationsSpotSpecificationAttributes) InternalWithRef(ref terra.Reference) LaunchSpecificationsSpotSpecificationAttributes
func (LaunchSpecificationsSpotSpecificationAttributes) TimeoutAction ¶
func (ss LaunchSpecificationsSpotSpecificationAttributes) TimeoutAction() terra.StringValue
func (LaunchSpecificationsSpotSpecificationAttributes) TimeoutDurationMinutes ¶
func (ss LaunchSpecificationsSpotSpecificationAttributes) TimeoutDurationMinutes() terra.NumberValue
type LaunchSpecificationsState ¶
type LaunchSpecificationsState struct { OnDemandSpecification []LaunchSpecificationsOnDemandSpecificationState `json:"on_demand_specification"` SpotSpecification []LaunchSpecificationsSpotSpecificationState `json:"spot_specification"` }
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_emr_instance_fleet.
func (*Resource) Attributes ¶
func (aeif *Resource) Attributes() awsEmrInstanceFleetAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (aeif *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (aeif *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.