batchcomputeenvironment

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 ComputeResources

type ComputeResources struct {
	// AllocationStrategy: string, optional
	AllocationStrategy terra.StringValue `hcl:"allocation_strategy,attr"`
	// BidPercentage: number, optional
	BidPercentage terra.NumberValue `hcl:"bid_percentage,attr"`
	// DesiredVcpus: number, optional
	DesiredVcpus terra.NumberValue `hcl:"desired_vcpus,attr"`
	// Ec2KeyPair: string, optional
	Ec2KeyPair terra.StringValue `hcl:"ec2_key_pair,attr"`
	// ImageId: string, optional
	ImageId terra.StringValue `hcl:"image_id,attr"`
	// InstanceRole: string, optional
	InstanceRole terra.StringValue `hcl:"instance_role,attr"`
	// InstanceType: set of string, optional
	InstanceType terra.SetValue[terra.StringValue] `hcl:"instance_type,attr"`
	// MaxVcpus: number, required
	MaxVcpus terra.NumberValue `hcl:"max_vcpus,attr" validate:"required"`
	// MinVcpus: number, optional
	MinVcpus terra.NumberValue `hcl:"min_vcpus,attr"`
	// SecurityGroupIds: set of string, optional
	SecurityGroupIds terra.SetValue[terra.StringValue] `hcl:"security_group_ids,attr"`
	// SpotIamFleetRole: string, optional
	SpotIamFleetRole terra.StringValue `hcl:"spot_iam_fleet_role,attr"`
	// Subnets: set of string, required
	Subnets terra.SetValue[terra.StringValue] `hcl:"subnets,attr" validate:"required"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
	// Ec2Configuration: min=0,max=2
	Ec2Configuration []Ec2Configuration `hcl:"ec2_configuration,block" validate:"min=0,max=2"`
	// LaunchTemplate: optional
	LaunchTemplate *LaunchTemplate `hcl:"launch_template,block"`
}

type ComputeResourcesAttributes

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

func (ComputeResourcesAttributes) AllocationStrategy

func (cr ComputeResourcesAttributes) AllocationStrategy() terra.StringValue

func (ComputeResourcesAttributes) BidPercentage

func (cr ComputeResourcesAttributes) BidPercentage() terra.NumberValue

func (ComputeResourcesAttributes) DesiredVcpus

func (cr ComputeResourcesAttributes) DesiredVcpus() terra.NumberValue

func (ComputeResourcesAttributes) Ec2Configuration

func (ComputeResourcesAttributes) Ec2KeyPair

func (ComputeResourcesAttributes) ImageId

func (ComputeResourcesAttributes) InstanceRole

func (cr ComputeResourcesAttributes) InstanceRole() terra.StringValue

func (ComputeResourcesAttributes) InstanceType

func (ComputeResourcesAttributes) InternalRef

func (cr ComputeResourcesAttributes) InternalRef() (terra.Reference, error)

func (ComputeResourcesAttributes) InternalTokens

func (cr ComputeResourcesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ComputeResourcesAttributes) InternalWithRef

func (ComputeResourcesAttributes) LaunchTemplate

func (ComputeResourcesAttributes) MaxVcpus

func (ComputeResourcesAttributes) MinVcpus

func (ComputeResourcesAttributes) SecurityGroupIds

func (ComputeResourcesAttributes) SpotIamFleetRole

func (cr ComputeResourcesAttributes) SpotIamFleetRole() terra.StringValue

func (ComputeResourcesAttributes) Subnets

func (ComputeResourcesAttributes) Tags

func (ComputeResourcesAttributes) Type

type ComputeResourcesState

type ComputeResourcesState struct {
	AllocationStrategy string                  `json:"allocation_strategy"`
	BidPercentage      float64                 `json:"bid_percentage"`
	DesiredVcpus       float64                 `json:"desired_vcpus"`
	Ec2KeyPair         string                  `json:"ec2_key_pair"`
	ImageId            string                  `json:"image_id"`
	InstanceRole       string                  `json:"instance_role"`
	InstanceType       []string                `json:"instance_type"`
	MaxVcpus           float64                 `json:"max_vcpus"`
	MinVcpus           float64                 `json:"min_vcpus"`
	SecurityGroupIds   []string                `json:"security_group_ids"`
	SpotIamFleetRole   string                  `json:"spot_iam_fleet_role"`
	Subnets            []string                `json:"subnets"`
	Tags               map[string]string       `json:"tags"`
	Type               string                  `json:"type"`
	Ec2Configuration   []Ec2ConfigurationState `json:"ec2_configuration"`
	LaunchTemplate     []LaunchTemplateState   `json:"launch_template"`
}

type Ec2Configuration

type Ec2Configuration struct {
	// ImageIdOverride: string, optional
	ImageIdOverride terra.StringValue `hcl:"image_id_override,attr"`
	// ImageType: string, optional
	ImageType terra.StringValue `hcl:"image_type,attr"`
}

type Ec2ConfigurationAttributes

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

func (Ec2ConfigurationAttributes) ImageIdOverride

func (ec Ec2ConfigurationAttributes) ImageIdOverride() terra.StringValue

func (Ec2ConfigurationAttributes) ImageType

func (Ec2ConfigurationAttributes) InternalRef

func (ec Ec2ConfigurationAttributes) InternalRef() (terra.Reference, error)

func (Ec2ConfigurationAttributes) InternalTokens

func (ec Ec2ConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (Ec2ConfigurationAttributes) InternalWithRef

type Ec2ConfigurationState

type Ec2ConfigurationState struct {
	ImageIdOverride string `json:"image_id_override"`
	ImageType       string `json:"image_type"`
}

type EksConfiguration

type EksConfiguration struct {
	// EksClusterArn: string, required
	EksClusterArn terra.StringValue `hcl:"eks_cluster_arn,attr" validate:"required"`
	// KubernetesNamespace: string, required
	KubernetesNamespace terra.StringValue `hcl:"kubernetes_namespace,attr" validate:"required"`
}

type EksConfigurationAttributes

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

func (EksConfigurationAttributes) EksClusterArn

func (ec EksConfigurationAttributes) EksClusterArn() terra.StringValue

func (EksConfigurationAttributes) InternalRef

func (ec EksConfigurationAttributes) InternalRef() (terra.Reference, error)

func (EksConfigurationAttributes) InternalTokens

func (ec EksConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EksConfigurationAttributes) InternalWithRef

func (EksConfigurationAttributes) KubernetesNamespace

func (ec EksConfigurationAttributes) KubernetesNamespace() terra.StringValue

type EksConfigurationState

type EksConfigurationState struct {
	EksClusterArn       string `json:"eks_cluster_arn"`
	KubernetesNamespace string `json:"kubernetes_namespace"`
}

type LaunchTemplate

type LaunchTemplate struct {
	// LaunchTemplateId: string, optional
	LaunchTemplateId terra.StringValue `hcl:"launch_template_id,attr"`
	// LaunchTemplateName: string, optional
	LaunchTemplateName terra.StringValue `hcl:"launch_template_name,attr"`
	// Version: string, optional
	Version terra.StringValue `hcl:"version,attr"`
}

type LaunchTemplateAttributes

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

func (LaunchTemplateAttributes) InternalRef

func (lt LaunchTemplateAttributes) InternalRef() (terra.Reference, error)

func (LaunchTemplateAttributes) InternalTokens

func (lt LaunchTemplateAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LaunchTemplateAttributes) InternalWithRef

func (LaunchTemplateAttributes) LaunchTemplateId

func (lt LaunchTemplateAttributes) LaunchTemplateId() terra.StringValue

func (LaunchTemplateAttributes) LaunchTemplateName

func (lt LaunchTemplateAttributes) LaunchTemplateName() terra.StringValue

func (LaunchTemplateAttributes) Version

type LaunchTemplateState

type LaunchTemplateState struct {
	LaunchTemplateId   string `json:"launch_template_id"`
	LaunchTemplateName string `json:"launch_template_name"`
	Version            string `json:"version"`
}

Jump to

Keyboard shortcuts

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