emrcluster

package
v0.0.0-...-964ba77 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AutoTerminationPolicy

type AutoTerminationPolicy struct {
	// IdleTimeout: number, optional
	IdleTimeout terra.NumberValue `hcl:"idle_timeout,attr"`
}

type AutoTerminationPolicyAttributes

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

func (AutoTerminationPolicyAttributes) IdleTimeout

func (AutoTerminationPolicyAttributes) InternalRef

func (AutoTerminationPolicyAttributes) InternalTokens

func (atp AutoTerminationPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AutoTerminationPolicyAttributes) InternalWithRef

type AutoTerminationPolicyState

type AutoTerminationPolicyState struct {
	IdleTimeout float64 `json:"idle_timeout"`
}

type BootstrapAction

type BootstrapAction struct {
	// Args: list of string, optional
	Args terra.ListValue[terra.StringValue] `hcl:"args,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Path: string, required
	Path terra.StringValue `hcl:"path,attr" validate:"required"`
}

type BootstrapActionAttributes

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

func (BootstrapActionAttributes) Args

func (BootstrapActionAttributes) InternalRef

func (ba BootstrapActionAttributes) InternalRef() (terra.Reference, error)

func (BootstrapActionAttributes) InternalTokens

func (ba BootstrapActionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (BootstrapActionAttributes) InternalWithRef

func (BootstrapActionAttributes) Name

func (BootstrapActionAttributes) Path

type BootstrapActionState

type BootstrapActionState struct {
	Args []string `json:"args"`
	Name string   `json:"name"`
	Path string   `json:"path"`
}

type CoreInstanceFleet

type CoreInstanceFleet struct {
	// 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"`
	// CoreInstanceFleetInstanceTypeConfigs: min=0
	InstanceTypeConfigs []CoreInstanceFleetInstanceTypeConfigs `hcl:"instance_type_configs,block" validate:"min=0"`
	// CoreInstanceFleetLaunchSpecifications: optional
	LaunchSpecifications *CoreInstanceFleetLaunchSpecifications `hcl:"launch_specifications,block"`
}

type CoreInstanceFleetAttributes

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

func (CoreInstanceFleetAttributes) Id

func (CoreInstanceFleetAttributes) InstanceTypeConfigs

func (CoreInstanceFleetAttributes) InternalRef

func (cif CoreInstanceFleetAttributes) InternalRef() (terra.Reference, error)

func (CoreInstanceFleetAttributes) InternalTokens

func (cif CoreInstanceFleetAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CoreInstanceFleetAttributes) InternalWithRef

func (CoreInstanceFleetAttributes) LaunchSpecifications

func (CoreInstanceFleetAttributes) Name

func (CoreInstanceFleetAttributes) ProvisionedOnDemandCapacity

func (cif CoreInstanceFleetAttributes) ProvisionedOnDemandCapacity() terra.NumberValue

func (CoreInstanceFleetAttributes) ProvisionedSpotCapacity

func (cif CoreInstanceFleetAttributes) ProvisionedSpotCapacity() terra.NumberValue

func (CoreInstanceFleetAttributes) TargetOnDemandCapacity

func (cif CoreInstanceFleetAttributes) TargetOnDemandCapacity() terra.NumberValue

func (CoreInstanceFleetAttributes) TargetSpotCapacity

func (cif CoreInstanceFleetAttributes) TargetSpotCapacity() terra.NumberValue

type CoreInstanceFleetInstanceTypeConfigs

type CoreInstanceFleetInstanceTypeConfigs 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"`
	// CoreInstanceFleetInstanceTypeConfigsConfigurations: min=0
	Configurations []CoreInstanceFleetInstanceTypeConfigsConfigurations `hcl:"configurations,block" validate:"min=0"`
	// CoreInstanceFleetInstanceTypeConfigsEbsConfig: min=0
	EbsConfig []CoreInstanceFleetInstanceTypeConfigsEbsConfig `hcl:"ebs_config,block" validate:"min=0"`
}

type CoreInstanceFleetInstanceTypeConfigsAttributes

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

func (CoreInstanceFleetInstanceTypeConfigsAttributes) BidPrice

func (CoreInstanceFleetInstanceTypeConfigsAttributes) BidPriceAsPercentageOfOnDemandPrice

func (itc CoreInstanceFleetInstanceTypeConfigsAttributes) BidPriceAsPercentageOfOnDemandPrice() terra.NumberValue

func (CoreInstanceFleetInstanceTypeConfigsAttributes) Configurations

func (CoreInstanceFleetInstanceTypeConfigsAttributes) EbsConfig

func (CoreInstanceFleetInstanceTypeConfigsAttributes) InstanceType

func (CoreInstanceFleetInstanceTypeConfigsAttributes) InternalRef

func (CoreInstanceFleetInstanceTypeConfigsAttributes) InternalTokens

func (CoreInstanceFleetInstanceTypeConfigsAttributes) InternalWithRef

func (CoreInstanceFleetInstanceTypeConfigsAttributes) WeightedCapacity

type CoreInstanceFleetInstanceTypeConfigsConfigurations

type CoreInstanceFleetInstanceTypeConfigsConfigurations struct {
	// Classification: string, optional
	Classification terra.StringValue `hcl:"classification,attr"`
	// Properties: map of string, optional
	Properties terra.MapValue[terra.StringValue] `hcl:"properties,attr"`
}

type CoreInstanceFleetInstanceTypeConfigsConfigurationsAttributes

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

func (CoreInstanceFleetInstanceTypeConfigsConfigurationsAttributes) Classification

func (CoreInstanceFleetInstanceTypeConfigsConfigurationsAttributes) InternalRef

func (CoreInstanceFleetInstanceTypeConfigsConfigurationsAttributes) InternalTokens

func (CoreInstanceFleetInstanceTypeConfigsConfigurationsAttributes) InternalWithRef

func (CoreInstanceFleetInstanceTypeConfigsConfigurationsAttributes) Properties

type CoreInstanceFleetInstanceTypeConfigsConfigurationsState

type CoreInstanceFleetInstanceTypeConfigsConfigurationsState struct {
	Classification string            `json:"classification"`
	Properties     map[string]string `json:"properties"`
}

type CoreInstanceFleetInstanceTypeConfigsEbsConfig

type CoreInstanceFleetInstanceTypeConfigsEbsConfig 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 CoreInstanceFleetInstanceTypeConfigsEbsConfigAttributes

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

func (CoreInstanceFleetInstanceTypeConfigsEbsConfigAttributes) InternalRef

func (CoreInstanceFleetInstanceTypeConfigsEbsConfigAttributes) InternalTokens

func (CoreInstanceFleetInstanceTypeConfigsEbsConfigAttributes) InternalWithRef

func (CoreInstanceFleetInstanceTypeConfigsEbsConfigAttributes) Iops

func (CoreInstanceFleetInstanceTypeConfigsEbsConfigAttributes) Size

func (CoreInstanceFleetInstanceTypeConfigsEbsConfigAttributes) Type

func (CoreInstanceFleetInstanceTypeConfigsEbsConfigAttributes) VolumesPerInstance

type CoreInstanceFleetInstanceTypeConfigsEbsConfigState

type CoreInstanceFleetInstanceTypeConfigsEbsConfigState struct {
	Iops               float64 `json:"iops"`
	Size               float64 `json:"size"`
	Type               string  `json:"type"`
	VolumesPerInstance float64 `json:"volumes_per_instance"`
}

type CoreInstanceFleetInstanceTypeConfigsState

type CoreInstanceFleetInstanceTypeConfigsState 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                      []CoreInstanceFleetInstanceTypeConfigsConfigurationsState `json:"configurations"`
	EbsConfig                           []CoreInstanceFleetInstanceTypeConfigsEbsConfigState      `json:"ebs_config"`
}

type CoreInstanceFleetLaunchSpecifications

type CoreInstanceFleetLaunchSpecifications struct {
	// CoreInstanceFleetLaunchSpecificationsOnDemandSpecification: min=0
	OnDemandSpecification []CoreInstanceFleetLaunchSpecificationsOnDemandSpecification `hcl:"on_demand_specification,block" validate:"min=0"`
	// CoreInstanceFleetLaunchSpecificationsSpotSpecification: min=0
	SpotSpecification []CoreInstanceFleetLaunchSpecificationsSpotSpecification `hcl:"spot_specification,block" validate:"min=0"`
}

type CoreInstanceFleetLaunchSpecificationsAttributes

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

func (CoreInstanceFleetLaunchSpecificationsAttributes) InternalRef

func (CoreInstanceFleetLaunchSpecificationsAttributes) InternalTokens

func (CoreInstanceFleetLaunchSpecificationsAttributes) InternalWithRef

type CoreInstanceFleetLaunchSpecificationsOnDemandSpecification

type CoreInstanceFleetLaunchSpecificationsOnDemandSpecification struct {
	// AllocationStrategy: string, required
	AllocationStrategy terra.StringValue `hcl:"allocation_strategy,attr" validate:"required"`
}

type CoreInstanceFleetLaunchSpecificationsOnDemandSpecificationAttributes

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

func (CoreInstanceFleetLaunchSpecificationsOnDemandSpecificationAttributes) AllocationStrategy

func (CoreInstanceFleetLaunchSpecificationsOnDemandSpecificationAttributes) InternalRef

func (CoreInstanceFleetLaunchSpecificationsOnDemandSpecificationAttributes) InternalTokens

func (CoreInstanceFleetLaunchSpecificationsOnDemandSpecificationAttributes) InternalWithRef

type CoreInstanceFleetLaunchSpecificationsOnDemandSpecificationState

type CoreInstanceFleetLaunchSpecificationsOnDemandSpecificationState struct {
	AllocationStrategy string `json:"allocation_strategy"`
}

type CoreInstanceFleetLaunchSpecificationsSpotSpecification

type CoreInstanceFleetLaunchSpecificationsSpotSpecification 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 CoreInstanceFleetLaunchSpecificationsSpotSpecificationAttributes

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

func (CoreInstanceFleetLaunchSpecificationsSpotSpecificationAttributes) AllocationStrategy

func (CoreInstanceFleetLaunchSpecificationsSpotSpecificationAttributes) BlockDurationMinutes

func (CoreInstanceFleetLaunchSpecificationsSpotSpecificationAttributes) InternalRef

func (CoreInstanceFleetLaunchSpecificationsSpotSpecificationAttributes) InternalTokens

func (CoreInstanceFleetLaunchSpecificationsSpotSpecificationAttributes) InternalWithRef

func (CoreInstanceFleetLaunchSpecificationsSpotSpecificationAttributes) TimeoutAction

func (CoreInstanceFleetLaunchSpecificationsSpotSpecificationAttributes) TimeoutDurationMinutes

type CoreInstanceFleetLaunchSpecificationsSpotSpecificationState

type CoreInstanceFleetLaunchSpecificationsSpotSpecificationState struct {
	AllocationStrategy     string  `json:"allocation_strategy"`
	BlockDurationMinutes   float64 `json:"block_duration_minutes"`
	TimeoutAction          string  `json:"timeout_action"`
	TimeoutDurationMinutes float64 `json:"timeout_duration_minutes"`
}

type CoreInstanceFleetLaunchSpecificationsState

type CoreInstanceFleetLaunchSpecificationsState struct {
	OnDemandSpecification []CoreInstanceFleetLaunchSpecificationsOnDemandSpecificationState `json:"on_demand_specification"`
	SpotSpecification     []CoreInstanceFleetLaunchSpecificationsSpotSpecificationState     `json:"spot_specification"`
}

type CoreInstanceFleetState

type CoreInstanceFleetState struct {
	Id                          string                                       `json:"id"`
	Name                        string                                       `json:"name"`
	ProvisionedOnDemandCapacity float64                                      `json:"provisioned_on_demand_capacity"`
	ProvisionedSpotCapacity     float64                                      `json:"provisioned_spot_capacity"`
	TargetOnDemandCapacity      float64                                      `json:"target_on_demand_capacity"`
	TargetSpotCapacity          float64                                      `json:"target_spot_capacity"`
	InstanceTypeConfigs         []CoreInstanceFleetInstanceTypeConfigsState  `json:"instance_type_configs"`
	LaunchSpecifications        []CoreInstanceFleetLaunchSpecificationsState `json:"launch_specifications"`
}

type CoreInstanceGroup

type CoreInstanceGroup struct {
	// AutoscalingPolicy: string, optional
	AutoscalingPolicy terra.StringValue `hcl:"autoscaling_policy,attr"`
	// BidPrice: string, optional
	BidPrice terra.StringValue `hcl:"bid_price,attr"`
	// InstanceCount: number, optional
	InstanceCount terra.NumberValue `hcl:"instance_count,attr"`
	// InstanceType: string, required
	InstanceType terra.StringValue `hcl:"instance_type,attr" validate:"required"`
	// Name: string, optional
	Name terra.StringValue `hcl:"name,attr"`
	// CoreInstanceGroupEbsConfig: min=0
	EbsConfig []CoreInstanceGroupEbsConfig `hcl:"ebs_config,block" validate:"min=0"`
}

type CoreInstanceGroupAttributes

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

func (CoreInstanceGroupAttributes) AutoscalingPolicy

func (cig CoreInstanceGroupAttributes) AutoscalingPolicy() terra.StringValue

func (CoreInstanceGroupAttributes) BidPrice

func (CoreInstanceGroupAttributes) EbsConfig

func (CoreInstanceGroupAttributes) Id

func (CoreInstanceGroupAttributes) InstanceCount

func (cig CoreInstanceGroupAttributes) InstanceCount() terra.NumberValue

func (CoreInstanceGroupAttributes) InstanceType

func (cig CoreInstanceGroupAttributes) InstanceType() terra.StringValue

func (CoreInstanceGroupAttributes) InternalRef

func (cig CoreInstanceGroupAttributes) InternalRef() (terra.Reference, error)

func (CoreInstanceGroupAttributes) InternalTokens

func (cig CoreInstanceGroupAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CoreInstanceGroupAttributes) InternalWithRef

func (CoreInstanceGroupAttributes) Name

type CoreInstanceGroupEbsConfig

type CoreInstanceGroupEbsConfig struct {
	// Iops: number, optional
	Iops terra.NumberValue `hcl:"iops,attr"`
	// Size: number, required
	Size terra.NumberValue `hcl:"size,attr" validate:"required"`
	// Throughput: number, optional
	Throughput terra.NumberValue `hcl:"throughput,attr"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
	// VolumesPerInstance: number, optional
	VolumesPerInstance terra.NumberValue `hcl:"volumes_per_instance,attr"`
}

type CoreInstanceGroupEbsConfigAttributes

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

func (CoreInstanceGroupEbsConfigAttributes) InternalRef

func (CoreInstanceGroupEbsConfigAttributes) InternalTokens

func (CoreInstanceGroupEbsConfigAttributes) InternalWithRef

func (CoreInstanceGroupEbsConfigAttributes) Iops

func (CoreInstanceGroupEbsConfigAttributes) Size

func (CoreInstanceGroupEbsConfigAttributes) Throughput

func (CoreInstanceGroupEbsConfigAttributes) Type

func (CoreInstanceGroupEbsConfigAttributes) VolumesPerInstance

func (ec CoreInstanceGroupEbsConfigAttributes) VolumesPerInstance() terra.NumberValue

type CoreInstanceGroupEbsConfigState

type CoreInstanceGroupEbsConfigState struct {
	Iops               float64 `json:"iops"`
	Size               float64 `json:"size"`
	Throughput         float64 `json:"throughput"`
	Type               string  `json:"type"`
	VolumesPerInstance float64 `json:"volumes_per_instance"`
}

type CoreInstanceGroupState

type CoreInstanceGroupState struct {
	AutoscalingPolicy string                            `json:"autoscaling_policy"`
	BidPrice          string                            `json:"bid_price"`
	Id                string                            `json:"id"`
	InstanceCount     float64                           `json:"instance_count"`
	InstanceType      string                            `json:"instance_type"`
	Name              string                            `json:"name"`
	EbsConfig         []CoreInstanceGroupEbsConfigState `json:"ebs_config"`
}

type Ec2Attributes

type Ec2Attributes struct {
	// AdditionalMasterSecurityGroups: string, optional
	AdditionalMasterSecurityGroups terra.StringValue `hcl:"additional_master_security_groups,attr"`
	// AdditionalSlaveSecurityGroups: string, optional
	AdditionalSlaveSecurityGroups terra.StringValue `hcl:"additional_slave_security_groups,attr"`
	// EmrManagedMasterSecurityGroup: string, optional
	EmrManagedMasterSecurityGroup terra.StringValue `hcl:"emr_managed_master_security_group,attr"`
	// EmrManagedSlaveSecurityGroup: string, optional
	EmrManagedSlaveSecurityGroup terra.StringValue `hcl:"emr_managed_slave_security_group,attr"`
	// InstanceProfile: string, required
	InstanceProfile terra.StringValue `hcl:"instance_profile,attr" validate:"required"`
	// KeyName: string, optional
	KeyName terra.StringValue `hcl:"key_name,attr"`
	// ServiceAccessSecurityGroup: string, optional
	ServiceAccessSecurityGroup terra.StringValue `hcl:"service_access_security_group,attr"`
	// SubnetId: string, optional
	SubnetId terra.StringValue `hcl:"subnet_id,attr"`
	// SubnetIds: set of string, optional
	SubnetIds terra.SetValue[terra.StringValue] `hcl:"subnet_ids,attr"`
}

type Ec2AttributesAttributes

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

func (Ec2AttributesAttributes) AdditionalMasterSecurityGroups

func (ea Ec2AttributesAttributes) AdditionalMasterSecurityGroups() terra.StringValue

func (Ec2AttributesAttributes) AdditionalSlaveSecurityGroups

func (ea Ec2AttributesAttributes) AdditionalSlaveSecurityGroups() terra.StringValue

func (Ec2AttributesAttributes) EmrManagedMasterSecurityGroup

func (ea Ec2AttributesAttributes) EmrManagedMasterSecurityGroup() terra.StringValue

func (Ec2AttributesAttributes) EmrManagedSlaveSecurityGroup

func (ea Ec2AttributesAttributes) EmrManagedSlaveSecurityGroup() terra.StringValue

func (Ec2AttributesAttributes) InstanceProfile

func (ea Ec2AttributesAttributes) InstanceProfile() terra.StringValue

func (Ec2AttributesAttributes) InternalRef

func (ea Ec2AttributesAttributes) InternalRef() (terra.Reference, error)

func (Ec2AttributesAttributes) InternalTokens

func (ea Ec2AttributesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (Ec2AttributesAttributes) InternalWithRef

func (Ec2AttributesAttributes) KeyName

func (Ec2AttributesAttributes) ServiceAccessSecurityGroup

func (ea Ec2AttributesAttributes) ServiceAccessSecurityGroup() terra.StringValue

func (Ec2AttributesAttributes) SubnetId

func (Ec2AttributesAttributes) SubnetIds

type Ec2AttributesState

type Ec2AttributesState struct {
	AdditionalMasterSecurityGroups string   `json:"additional_master_security_groups"`
	AdditionalSlaveSecurityGroups  string   `json:"additional_slave_security_groups"`
	EmrManagedMasterSecurityGroup  string   `json:"emr_managed_master_security_group"`
	EmrManagedSlaveSecurityGroup   string   `json:"emr_managed_slave_security_group"`
	InstanceProfile                string   `json:"instance_profile"`
	KeyName                        string   `json:"key_name"`
	ServiceAccessSecurityGroup     string   `json:"service_access_security_group"`
	SubnetId                       string   `json:"subnet_id"`
	SubnetIds                      []string `json:"subnet_ids"`
}

type HadoopJarStep

type HadoopJarStep struct {
	// Args: list of string, optional
	Args terra.ListValue[terra.StringValue] `hcl:"args,attr"`
	// Jar: string, optional
	Jar terra.StringValue `hcl:"jar,attr"`
	// MainClass: string, optional
	MainClass terra.StringValue `hcl:"main_class,attr"`
	// Properties: map of string, optional
	Properties terra.MapValue[terra.StringValue] `hcl:"properties,attr"`
}

type HadoopJarStepAttributes

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

func (HadoopJarStepAttributes) Args

func (HadoopJarStepAttributes) InternalRef

func (hjs HadoopJarStepAttributes) InternalRef() (terra.Reference, error)

func (HadoopJarStepAttributes) InternalTokens

func (hjs HadoopJarStepAttributes) InternalTokens() (hclwrite.Tokens, error)

func (HadoopJarStepAttributes) InternalWithRef

func (HadoopJarStepAttributes) Jar

func (HadoopJarStepAttributes) MainClass

func (hjs HadoopJarStepAttributes) MainClass() terra.StringValue

func (HadoopJarStepAttributes) Properties

type HadoopJarStepState

type HadoopJarStepState struct {
	Args       []string          `json:"args"`
	Jar        string            `json:"jar"`
	MainClass  string            `json:"main_class"`
	Properties map[string]string `json:"properties"`
}

type KerberosAttributes

type KerberosAttributes struct {
	// AdDomainJoinPassword: string, optional
	AdDomainJoinPassword terra.StringValue `hcl:"ad_domain_join_password,attr"`
	// AdDomainJoinUser: string, optional
	AdDomainJoinUser terra.StringValue `hcl:"ad_domain_join_user,attr"`
	// CrossRealmTrustPrincipalPassword: string, optional
	CrossRealmTrustPrincipalPassword terra.StringValue `hcl:"cross_realm_trust_principal_password,attr"`
	// KdcAdminPassword: string, required
	KdcAdminPassword terra.StringValue `hcl:"kdc_admin_password,attr" validate:"required"`
	// Realm: string, required
	Realm terra.StringValue `hcl:"realm,attr" validate:"required"`
}

type KerberosAttributesAttributes

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

func (KerberosAttributesAttributes) AdDomainJoinPassword

func (ka KerberosAttributesAttributes) AdDomainJoinPassword() terra.StringValue

func (KerberosAttributesAttributes) AdDomainJoinUser

func (ka KerberosAttributesAttributes) AdDomainJoinUser() terra.StringValue

func (KerberosAttributesAttributes) CrossRealmTrustPrincipalPassword

func (ka KerberosAttributesAttributes) CrossRealmTrustPrincipalPassword() terra.StringValue

func (KerberosAttributesAttributes) InternalRef

func (ka KerberosAttributesAttributes) InternalRef() (terra.Reference, error)

func (KerberosAttributesAttributes) InternalTokens

func (ka KerberosAttributesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (KerberosAttributesAttributes) InternalWithRef

func (KerberosAttributesAttributes) KdcAdminPassword

func (ka KerberosAttributesAttributes) KdcAdminPassword() terra.StringValue

func (KerberosAttributesAttributes) Realm

type KerberosAttributesState

type KerberosAttributesState struct {
	AdDomainJoinPassword             string `json:"ad_domain_join_password"`
	AdDomainJoinUser                 string `json:"ad_domain_join_user"`
	CrossRealmTrustPrincipalPassword string `json:"cross_realm_trust_principal_password"`
	KdcAdminPassword                 string `json:"kdc_admin_password"`
	Realm                            string `json:"realm"`
}

type MasterInstanceFleet

type MasterInstanceFleet struct {
	// 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"`
	// MasterInstanceFleetInstanceTypeConfigs: min=0
	InstanceTypeConfigs []MasterInstanceFleetInstanceTypeConfigs `hcl:"instance_type_configs,block" validate:"min=0"`
	// MasterInstanceFleetLaunchSpecifications: optional
	LaunchSpecifications *MasterInstanceFleetLaunchSpecifications `hcl:"launch_specifications,block"`
}

type MasterInstanceFleetAttributes

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

func (MasterInstanceFleetAttributes) Id

func (MasterInstanceFleetAttributes) InstanceTypeConfigs

func (MasterInstanceFleetAttributes) InternalRef

func (mif MasterInstanceFleetAttributes) InternalRef() (terra.Reference, error)

func (MasterInstanceFleetAttributes) InternalTokens

func (mif MasterInstanceFleetAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MasterInstanceFleetAttributes) InternalWithRef

func (MasterInstanceFleetAttributes) LaunchSpecifications

func (MasterInstanceFleetAttributes) Name

func (MasterInstanceFleetAttributes) ProvisionedOnDemandCapacity

func (mif MasterInstanceFleetAttributes) ProvisionedOnDemandCapacity() terra.NumberValue

func (MasterInstanceFleetAttributes) ProvisionedSpotCapacity

func (mif MasterInstanceFleetAttributes) ProvisionedSpotCapacity() terra.NumberValue

func (MasterInstanceFleetAttributes) TargetOnDemandCapacity

func (mif MasterInstanceFleetAttributes) TargetOnDemandCapacity() terra.NumberValue

func (MasterInstanceFleetAttributes) TargetSpotCapacity

func (mif MasterInstanceFleetAttributes) TargetSpotCapacity() terra.NumberValue

type MasterInstanceFleetInstanceTypeConfigs

type MasterInstanceFleetInstanceTypeConfigs 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"`
	// MasterInstanceFleetInstanceTypeConfigsConfigurations: min=0
	Configurations []MasterInstanceFleetInstanceTypeConfigsConfigurations `hcl:"configurations,block" validate:"min=0"`
	// MasterInstanceFleetInstanceTypeConfigsEbsConfig: min=0
	EbsConfig []MasterInstanceFleetInstanceTypeConfigsEbsConfig `hcl:"ebs_config,block" validate:"min=0"`
}

type MasterInstanceFleetInstanceTypeConfigsAttributes

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

func (MasterInstanceFleetInstanceTypeConfigsAttributes) BidPrice

func (MasterInstanceFleetInstanceTypeConfigsAttributes) BidPriceAsPercentageOfOnDemandPrice

func (itc MasterInstanceFleetInstanceTypeConfigsAttributes) BidPriceAsPercentageOfOnDemandPrice() terra.NumberValue

func (MasterInstanceFleetInstanceTypeConfigsAttributes) EbsConfig

func (MasterInstanceFleetInstanceTypeConfigsAttributes) InstanceType

func (MasterInstanceFleetInstanceTypeConfigsAttributes) InternalRef

func (MasterInstanceFleetInstanceTypeConfigsAttributes) InternalTokens

func (MasterInstanceFleetInstanceTypeConfigsAttributes) InternalWithRef

func (MasterInstanceFleetInstanceTypeConfigsAttributes) WeightedCapacity

type MasterInstanceFleetInstanceTypeConfigsConfigurations

type MasterInstanceFleetInstanceTypeConfigsConfigurations struct {
	// Classification: string, optional
	Classification terra.StringValue `hcl:"classification,attr"`
	// Properties: map of string, optional
	Properties terra.MapValue[terra.StringValue] `hcl:"properties,attr"`
}

type MasterInstanceFleetInstanceTypeConfigsConfigurationsAttributes

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

func (MasterInstanceFleetInstanceTypeConfigsConfigurationsAttributes) Classification

func (MasterInstanceFleetInstanceTypeConfigsConfigurationsAttributes) InternalRef

func (MasterInstanceFleetInstanceTypeConfigsConfigurationsAttributes) InternalTokens

func (MasterInstanceFleetInstanceTypeConfigsConfigurationsAttributes) InternalWithRef

func (MasterInstanceFleetInstanceTypeConfigsConfigurationsAttributes) Properties

type MasterInstanceFleetInstanceTypeConfigsConfigurationsState

type MasterInstanceFleetInstanceTypeConfigsConfigurationsState struct {
	Classification string            `json:"classification"`
	Properties     map[string]string `json:"properties"`
}

type MasterInstanceFleetInstanceTypeConfigsEbsConfig

type MasterInstanceFleetInstanceTypeConfigsEbsConfig 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 MasterInstanceFleetInstanceTypeConfigsEbsConfigAttributes

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

func (MasterInstanceFleetInstanceTypeConfigsEbsConfigAttributes) InternalRef

func (MasterInstanceFleetInstanceTypeConfigsEbsConfigAttributes) InternalTokens

func (MasterInstanceFleetInstanceTypeConfigsEbsConfigAttributes) InternalWithRef

func (MasterInstanceFleetInstanceTypeConfigsEbsConfigAttributes) Iops

func (MasterInstanceFleetInstanceTypeConfigsEbsConfigAttributes) Size

func (MasterInstanceFleetInstanceTypeConfigsEbsConfigAttributes) Type

func (MasterInstanceFleetInstanceTypeConfigsEbsConfigAttributes) VolumesPerInstance

type MasterInstanceFleetInstanceTypeConfigsEbsConfigState

type MasterInstanceFleetInstanceTypeConfigsEbsConfigState struct {
	Iops               float64 `json:"iops"`
	Size               float64 `json:"size"`
	Type               string  `json:"type"`
	VolumesPerInstance float64 `json:"volumes_per_instance"`
}

type MasterInstanceFleetInstanceTypeConfigsState

type MasterInstanceFleetInstanceTypeConfigsState 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                      []MasterInstanceFleetInstanceTypeConfigsConfigurationsState `json:"configurations"`
	EbsConfig                           []MasterInstanceFleetInstanceTypeConfigsEbsConfigState      `json:"ebs_config"`
}

type MasterInstanceFleetLaunchSpecifications

type MasterInstanceFleetLaunchSpecifications struct {
	// MasterInstanceFleetLaunchSpecificationsOnDemandSpecification: min=0
	OnDemandSpecification []MasterInstanceFleetLaunchSpecificationsOnDemandSpecification `hcl:"on_demand_specification,block" validate:"min=0"`
	// MasterInstanceFleetLaunchSpecificationsSpotSpecification: min=0
	SpotSpecification []MasterInstanceFleetLaunchSpecificationsSpotSpecification `hcl:"spot_specification,block" validate:"min=0"`
}

type MasterInstanceFleetLaunchSpecificationsAttributes

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

func (MasterInstanceFleetLaunchSpecificationsAttributes) InternalRef

func (MasterInstanceFleetLaunchSpecificationsAttributes) InternalTokens

func (MasterInstanceFleetLaunchSpecificationsAttributes) InternalWithRef

type MasterInstanceFleetLaunchSpecificationsOnDemandSpecification

type MasterInstanceFleetLaunchSpecificationsOnDemandSpecification struct {
	// AllocationStrategy: string, required
	AllocationStrategy terra.StringValue `hcl:"allocation_strategy,attr" validate:"required"`
}

type MasterInstanceFleetLaunchSpecificationsOnDemandSpecificationAttributes

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

func (MasterInstanceFleetLaunchSpecificationsOnDemandSpecificationAttributes) AllocationStrategy

func (MasterInstanceFleetLaunchSpecificationsOnDemandSpecificationAttributes) InternalRef

func (MasterInstanceFleetLaunchSpecificationsOnDemandSpecificationAttributes) InternalTokens

func (MasterInstanceFleetLaunchSpecificationsOnDemandSpecificationAttributes) InternalWithRef

type MasterInstanceFleetLaunchSpecificationsOnDemandSpecificationState

type MasterInstanceFleetLaunchSpecificationsOnDemandSpecificationState struct {
	AllocationStrategy string `json:"allocation_strategy"`
}

type MasterInstanceFleetLaunchSpecificationsSpotSpecification

type MasterInstanceFleetLaunchSpecificationsSpotSpecification 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 MasterInstanceFleetLaunchSpecificationsSpotSpecificationAttributes

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

func (MasterInstanceFleetLaunchSpecificationsSpotSpecificationAttributes) AllocationStrategy

func (MasterInstanceFleetLaunchSpecificationsSpotSpecificationAttributes) BlockDurationMinutes

func (MasterInstanceFleetLaunchSpecificationsSpotSpecificationAttributes) InternalRef

func (MasterInstanceFleetLaunchSpecificationsSpotSpecificationAttributes) InternalTokens

func (MasterInstanceFleetLaunchSpecificationsSpotSpecificationAttributes) InternalWithRef

func (MasterInstanceFleetLaunchSpecificationsSpotSpecificationAttributes) TimeoutAction

func (MasterInstanceFleetLaunchSpecificationsSpotSpecificationAttributes) TimeoutDurationMinutes

type MasterInstanceFleetLaunchSpecificationsSpotSpecificationState

type MasterInstanceFleetLaunchSpecificationsSpotSpecificationState struct {
	AllocationStrategy     string  `json:"allocation_strategy"`
	BlockDurationMinutes   float64 `json:"block_duration_minutes"`
	TimeoutAction          string  `json:"timeout_action"`
	TimeoutDurationMinutes float64 `json:"timeout_duration_minutes"`
}

type MasterInstanceFleetLaunchSpecificationsState

type MasterInstanceFleetLaunchSpecificationsState struct {
	OnDemandSpecification []MasterInstanceFleetLaunchSpecificationsOnDemandSpecificationState `json:"on_demand_specification"`
	SpotSpecification     []MasterInstanceFleetLaunchSpecificationsSpotSpecificationState     `json:"spot_specification"`
}

type MasterInstanceFleetState

type MasterInstanceFleetState struct {
	Id                          string                                         `json:"id"`
	Name                        string                                         `json:"name"`
	ProvisionedOnDemandCapacity float64                                        `json:"provisioned_on_demand_capacity"`
	ProvisionedSpotCapacity     float64                                        `json:"provisioned_spot_capacity"`
	TargetOnDemandCapacity      float64                                        `json:"target_on_demand_capacity"`
	TargetSpotCapacity          float64                                        `json:"target_spot_capacity"`
	InstanceTypeConfigs         []MasterInstanceFleetInstanceTypeConfigsState  `json:"instance_type_configs"`
	LaunchSpecifications        []MasterInstanceFleetLaunchSpecificationsState `json:"launch_specifications"`
}

type MasterInstanceGroup

type MasterInstanceGroup struct {
	// BidPrice: string, optional
	BidPrice terra.StringValue `hcl:"bid_price,attr"`
	// InstanceCount: number, optional
	InstanceCount terra.NumberValue `hcl:"instance_count,attr"`
	// InstanceType: string, required
	InstanceType terra.StringValue `hcl:"instance_type,attr" validate:"required"`
	// Name: string, optional
	Name terra.StringValue `hcl:"name,attr"`
	// MasterInstanceGroupEbsConfig: min=0
	EbsConfig []MasterInstanceGroupEbsConfig `hcl:"ebs_config,block" validate:"min=0"`
}

type MasterInstanceGroupAttributes

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

func (MasterInstanceGroupAttributes) BidPrice

func (MasterInstanceGroupAttributes) EbsConfig

func (MasterInstanceGroupAttributes) Id

func (MasterInstanceGroupAttributes) InstanceCount

func (mig MasterInstanceGroupAttributes) InstanceCount() terra.NumberValue

func (MasterInstanceGroupAttributes) InstanceType

func (mig MasterInstanceGroupAttributes) InstanceType() terra.StringValue

func (MasterInstanceGroupAttributes) InternalRef

func (mig MasterInstanceGroupAttributes) InternalRef() (terra.Reference, error)

func (MasterInstanceGroupAttributes) InternalTokens

func (mig MasterInstanceGroupAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MasterInstanceGroupAttributes) InternalWithRef

func (MasterInstanceGroupAttributes) Name

type MasterInstanceGroupEbsConfig

type MasterInstanceGroupEbsConfig struct {
	// Iops: number, optional
	Iops terra.NumberValue `hcl:"iops,attr"`
	// Size: number, required
	Size terra.NumberValue `hcl:"size,attr" validate:"required"`
	// Throughput: number, optional
	Throughput terra.NumberValue `hcl:"throughput,attr"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
	// VolumesPerInstance: number, optional
	VolumesPerInstance terra.NumberValue `hcl:"volumes_per_instance,attr"`
}

type MasterInstanceGroupEbsConfigAttributes

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

func (MasterInstanceGroupEbsConfigAttributes) InternalRef

func (MasterInstanceGroupEbsConfigAttributes) InternalTokens

func (MasterInstanceGroupEbsConfigAttributes) InternalWithRef

func (MasterInstanceGroupEbsConfigAttributes) Iops

func (MasterInstanceGroupEbsConfigAttributes) Size

func (MasterInstanceGroupEbsConfigAttributes) Throughput

func (MasterInstanceGroupEbsConfigAttributes) Type

func (MasterInstanceGroupEbsConfigAttributes) VolumesPerInstance

type MasterInstanceGroupEbsConfigState

type MasterInstanceGroupEbsConfigState struct {
	Iops               float64 `json:"iops"`
	Size               float64 `json:"size"`
	Throughput         float64 `json:"throughput"`
	Type               string  `json:"type"`
	VolumesPerInstance float64 `json:"volumes_per_instance"`
}

type MasterInstanceGroupState

type MasterInstanceGroupState struct {
	BidPrice      string                              `json:"bid_price"`
	Id            string                              `json:"id"`
	InstanceCount float64                             `json:"instance_count"`
	InstanceType  string                              `json:"instance_type"`
	Name          string                              `json:"name"`
	EbsConfig     []MasterInstanceGroupEbsConfigState `json:"ebs_config"`
}

type PlacementGroupConfig

type PlacementGroupConfig struct {
	// InstanceRole: string, optional
	InstanceRole terra.StringValue `hcl:"instance_role,attr"`
	// PlacementStrategy: string, optional
	PlacementStrategy terra.StringValue `hcl:"placement_strategy,attr"`
}

type PlacementGroupConfigAttributes

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

func (PlacementGroupConfigAttributes) InstanceRole

func (PlacementGroupConfigAttributes) InternalRef

func (pgc PlacementGroupConfigAttributes) InternalRef() (terra.Reference, error)

func (PlacementGroupConfigAttributes) InternalTokens

func (pgc PlacementGroupConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PlacementGroupConfigAttributes) InternalWithRef

func (PlacementGroupConfigAttributes) PlacementStrategy

func (pgc PlacementGroupConfigAttributes) PlacementStrategy() terra.StringValue

type PlacementGroupConfigState

type PlacementGroupConfigState struct {
	InstanceRole      string `json:"instance_role"`
	PlacementStrategy string `json:"placement_strategy"`
}

type Step

type Step struct {
	// ActionOnFailure: string, optional
	ActionOnFailure terra.StringValue `hcl:"action_on_failure,attr"`
	// Name: string, optional
	Name terra.StringValue `hcl:"name,attr"`
	// HadoopJarStep: min=0
	HadoopJarStep []HadoopJarStep `hcl:"hadoop_jar_step,block" validate:"min=0"`
}

type StepAttributes

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

func (StepAttributes) ActionOnFailure

func (s StepAttributes) ActionOnFailure() terra.StringValue

func (StepAttributes) HadoopJarStep

func (StepAttributes) InternalRef

func (s StepAttributes) InternalRef() (terra.Reference, error)

func (StepAttributes) InternalTokens

func (s StepAttributes) InternalTokens() (hclwrite.Tokens, error)

func (StepAttributes) InternalWithRef

func (s StepAttributes) InternalWithRef(ref terra.Reference) StepAttributes

func (StepAttributes) Name

func (s StepAttributes) Name() terra.StringValue

type StepState

type StepState struct {
	ActionOnFailure string               `json:"action_on_failure"`
	Name            string               `json:"name"`
	HadoopJarStep   []HadoopJarStepState `json:"hadoop_jar_step"`
}

Jump to

Keyboard shortcuts

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