aws_ecs_task_execution

package
v0.0.0-...-4deecce Latest Latest
Warning

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

Go to latest
Published: Apr 16, 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 DataArgs

type DataArgs struct {
	// ClientToken: string, optional
	ClientToken terra.StringValue `hcl:"client_token,attr"`
	// Cluster: string, required
	Cluster terra.StringValue `hcl:"cluster,attr" validate:"required"`
	// DesiredCount: number, optional
	DesiredCount terra.NumberValue `hcl:"desired_count,attr"`
	// EnableEcsManagedTags: bool, optional
	EnableEcsManagedTags terra.BoolValue `hcl:"enable_ecs_managed_tags,attr"`
	// EnableExecuteCommand: bool, optional
	EnableExecuteCommand terra.BoolValue `hcl:"enable_execute_command,attr"`
	// Group: string, optional
	Group terra.StringValue `hcl:"group,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// LaunchType: string, optional
	LaunchType terra.StringValue `hcl:"launch_type,attr"`
	// PlatformVersion: string, optional
	PlatformVersion terra.StringValue `hcl:"platform_version,attr"`
	// PropagateTags: string, optional
	PropagateTags terra.StringValue `hcl:"propagate_tags,attr"`
	// ReferenceId: string, optional
	ReferenceId terra.StringValue `hcl:"reference_id,attr"`
	// StartedBy: string, optional
	StartedBy terra.StringValue `hcl:"started_by,attr"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// TaskDefinition: string, required
	TaskDefinition terra.StringValue `hcl:"task_definition,attr" validate:"required"`
	// CapacityProviderStrategy: min=0
	CapacityProviderStrategy []DataCapacityProviderStrategy `hcl:"capacity_provider_strategy,block" validate:"min=0"`
	// NetworkConfiguration: optional
	NetworkConfiguration *DataNetworkConfiguration `hcl:"network_configuration,block"`
	// Overrides: optional
	Overrides *DataOverrides `hcl:"overrides,block"`
	// PlacementConstraints: min=0,max=10
	PlacementConstraints []DataPlacementConstraints `hcl:"placement_constraints,block" validate:"min=0,max=10"`
	// PlacementStrategy: min=0,max=5
	PlacementStrategy []DataPlacementStrategy `hcl:"placement_strategy,block" validate:"min=0,max=5"`
}

DataArgs contains the configurations for aws_ecs_task_execution.

type DataCapacityProviderStrategy

type DataCapacityProviderStrategy struct {
	// Base: number, optional
	Base terra.NumberValue `hcl:"base,attr"`
	// CapacityProvider: string, required
	CapacityProvider terra.StringValue `hcl:"capacity_provider,attr" validate:"required"`
	// Weight: number, optional
	Weight terra.NumberValue `hcl:"weight,attr"`
}

type DataCapacityProviderStrategyAttributes

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

func (DataCapacityProviderStrategyAttributes) Base

func (DataCapacityProviderStrategyAttributes) CapacityProvider

func (DataCapacityProviderStrategyAttributes) InternalRef

func (DataCapacityProviderStrategyAttributes) InternalTokens

func (DataCapacityProviderStrategyAttributes) InternalWithRef

func (DataCapacityProviderStrategyAttributes) Weight

type DataCapacityProviderStrategyState

type DataCapacityProviderStrategyState struct {
	Base             float64 `json:"base"`
	CapacityProvider string  `json:"capacity_provider"`
	Weight           float64 `json:"weight"`
}

type DataNetworkConfiguration

type DataNetworkConfiguration struct {
	// AssignPublicIp: bool, optional
	AssignPublicIp terra.BoolValue `hcl:"assign_public_ip,attr"`
	// SecurityGroups: set of string, optional
	SecurityGroups terra.SetValue[terra.StringValue] `hcl:"security_groups,attr"`
	// Subnets: set of string, required
	Subnets terra.SetValue[terra.StringValue] `hcl:"subnets,attr" validate:"required"`
}

type DataNetworkConfigurationAttributes

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

func (DataNetworkConfigurationAttributes) AssignPublicIp

func (DataNetworkConfigurationAttributes) InternalRef

func (DataNetworkConfigurationAttributes) InternalTokens

func (DataNetworkConfigurationAttributes) InternalWithRef

func (DataNetworkConfigurationAttributes) SecurityGroups

func (DataNetworkConfigurationAttributes) Subnets

type DataNetworkConfigurationState

type DataNetworkConfigurationState struct {
	AssignPublicIp bool     `json:"assign_public_ip"`
	SecurityGroups []string `json:"security_groups"`
	Subnets        []string `json:"subnets"`
}

type DataOverrides

type DataOverrides struct {
	// Cpu: string, optional
	Cpu terra.StringValue `hcl:"cpu,attr"`
	// ExecutionRoleArn: string, optional
	ExecutionRoleArn terra.StringValue `hcl:"execution_role_arn,attr"`
	// Memory: string, optional
	Memory terra.StringValue `hcl:"memory,attr"`
	// TaskRoleArn: string, optional
	TaskRoleArn terra.StringValue `hcl:"task_role_arn,attr"`
	// OverridesContainerOverrides: min=0
	ContainerOverrides []DataOverridesContainerOverrides `hcl:"container_overrides,block" validate:"min=0"`
	// OverridesInferenceAcceleratorOverrides: min=0
	InferenceAcceleratorOverrides []DataOverridesInferenceAcceleratorOverrides `hcl:"inference_accelerator_overrides,block" validate:"min=0"`
}

type DataOverridesAttributes

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

func (DataOverridesAttributes) ContainerOverrides

func (DataOverridesAttributes) Cpu

func (DataOverridesAttributes) ExecutionRoleArn

func (o DataOverridesAttributes) ExecutionRoleArn() terra.StringValue

func (DataOverridesAttributes) InferenceAcceleratorOverrides

func (DataOverridesAttributes) InternalRef

func (o DataOverridesAttributes) InternalRef() (terra.Reference, error)

func (DataOverridesAttributes) InternalTokens

func (o DataOverridesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataOverridesAttributes) InternalWithRef

func (DataOverridesAttributes) Memory

func (DataOverridesAttributes) TaskRoleArn

func (o DataOverridesAttributes) TaskRoleArn() terra.StringValue

type DataOverridesContainerOverrides

type DataOverridesContainerOverrides struct {
	// Command: list of string, optional
	Command terra.ListValue[terra.StringValue] `hcl:"command,attr"`
	// Cpu: number, optional
	Cpu terra.NumberValue `hcl:"cpu,attr"`
	// Memory: number, optional
	Memory terra.NumberValue `hcl:"memory,attr"`
	// MemoryReservation: number, optional
	MemoryReservation terra.NumberValue `hcl:"memory_reservation,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// OverridesContainerOverridesEnvironment: min=0
	Environment []DataOverridesContainerOverridesEnvironment `hcl:"environment,block" validate:"min=0"`
	// OverridesContainerOverridesResourceRequirements: min=0
	ResourceRequirements []DataOverridesContainerOverridesResourceRequirements `hcl:"resource_requirements,block" validate:"min=0"`
}

type DataOverridesContainerOverridesAttributes

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

func (DataOverridesContainerOverridesAttributes) Command

func (DataOverridesContainerOverridesAttributes) Cpu

func (DataOverridesContainerOverridesAttributes) Environment

func (DataOverridesContainerOverridesAttributes) InternalRef

func (DataOverridesContainerOverridesAttributes) InternalTokens

func (DataOverridesContainerOverridesAttributes) InternalWithRef

func (DataOverridesContainerOverridesAttributes) Memory

func (DataOverridesContainerOverridesAttributes) MemoryReservation

func (DataOverridesContainerOverridesAttributes) Name

type DataOverridesContainerOverridesEnvironment

type DataOverridesContainerOverridesEnvironment struct {
	// Key: string, required
	Key terra.StringValue `hcl:"key,attr" validate:"required"`
	// Value: string, required
	Value terra.StringValue `hcl:"value,attr" validate:"required"`
}

type DataOverridesContainerOverridesEnvironmentAttributes

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

func (DataOverridesContainerOverridesEnvironmentAttributes) InternalRef

func (DataOverridesContainerOverridesEnvironmentAttributes) InternalTokens

func (DataOverridesContainerOverridesEnvironmentAttributes) InternalWithRef

func (DataOverridesContainerOverridesEnvironmentAttributes) Key

func (DataOverridesContainerOverridesEnvironmentAttributes) Value

type DataOverridesContainerOverridesEnvironmentState

type DataOverridesContainerOverridesEnvironmentState struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

type DataOverridesContainerOverridesResourceRequirements

type DataOverridesContainerOverridesResourceRequirements struct {
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
	// Value: string, required
	Value terra.StringValue `hcl:"value,attr" validate:"required"`
}

type DataOverridesContainerOverridesResourceRequirementsAttributes

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

func (DataOverridesContainerOverridesResourceRequirementsAttributes) InternalRef

func (DataOverridesContainerOverridesResourceRequirementsAttributes) InternalTokens

func (DataOverridesContainerOverridesResourceRequirementsAttributes) InternalWithRef

func (DataOverridesContainerOverridesResourceRequirementsAttributes) Type

func (DataOverridesContainerOverridesResourceRequirementsAttributes) Value

type DataOverridesContainerOverridesResourceRequirementsState

type DataOverridesContainerOverridesResourceRequirementsState struct {
	Type  string `json:"type"`
	Value string `json:"value"`
}

type DataOverridesContainerOverridesState

type DataOverridesContainerOverridesState struct {
	Command              []string                                                   `json:"command"`
	Cpu                  float64                                                    `json:"cpu"`
	Memory               float64                                                    `json:"memory"`
	MemoryReservation    float64                                                    `json:"memory_reservation"`
	Name                 string                                                     `json:"name"`
	Environment          []DataOverridesContainerOverridesEnvironmentState          `json:"environment"`
	ResourceRequirements []DataOverridesContainerOverridesResourceRequirementsState `json:"resource_requirements"`
}

type DataOverridesInferenceAcceleratorOverrides

type DataOverridesInferenceAcceleratorOverrides struct {
	// DeviceName: string, optional
	DeviceName terra.StringValue `hcl:"device_name,attr"`
	// DeviceType: string, optional
	DeviceType terra.StringValue `hcl:"device_type,attr"`
}

type DataOverridesInferenceAcceleratorOverridesAttributes

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

func (DataOverridesInferenceAcceleratorOverridesAttributes) DeviceName

func (DataOverridesInferenceAcceleratorOverridesAttributes) DeviceType

func (DataOverridesInferenceAcceleratorOverridesAttributes) InternalRef

func (DataOverridesInferenceAcceleratorOverridesAttributes) InternalTokens

func (DataOverridesInferenceAcceleratorOverridesAttributes) InternalWithRef

type DataOverridesInferenceAcceleratorOverridesState

type DataOverridesInferenceAcceleratorOverridesState struct {
	DeviceName string `json:"device_name"`
	DeviceType string `json:"device_type"`
}

type DataOverridesState

type DataOverridesState struct {
	Cpu                           string                                            `json:"cpu"`
	ExecutionRoleArn              string                                            `json:"execution_role_arn"`
	Memory                        string                                            `json:"memory"`
	TaskRoleArn                   string                                            `json:"task_role_arn"`
	ContainerOverrides            []DataOverridesContainerOverridesState            `json:"container_overrides"`
	InferenceAcceleratorOverrides []DataOverridesInferenceAcceleratorOverridesState `json:"inference_accelerator_overrides"`
}

type DataPlacementConstraints

type DataPlacementConstraints struct {
	// Expression: string, optional
	Expression terra.StringValue `hcl:"expression,attr"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type DataPlacementConstraintsAttributes

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

func (DataPlacementConstraintsAttributes) Expression

func (DataPlacementConstraintsAttributes) InternalRef

func (DataPlacementConstraintsAttributes) InternalTokens

func (DataPlacementConstraintsAttributes) InternalWithRef

func (DataPlacementConstraintsAttributes) Type

type DataPlacementConstraintsState

type DataPlacementConstraintsState struct {
	Expression string `json:"expression"`
	Type       string `json:"type"`
}

type DataPlacementStrategy

type DataPlacementStrategy struct {
	// Field: string, optional
	Field terra.StringValue `hcl:"field,attr"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type DataPlacementStrategyAttributes

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

func (DataPlacementStrategyAttributes) Field

func (DataPlacementStrategyAttributes) InternalRef

func (DataPlacementStrategyAttributes) InternalTokens

func (ps DataPlacementStrategyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataPlacementStrategyAttributes) InternalWithRef

func (DataPlacementStrategyAttributes) Type

type DataPlacementStrategyState

type DataPlacementStrategyState struct {
	Field string `json:"field"`
	Type  string `json:"type"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_ecs_task_execution.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (aete *DataSource) Attributes() dataAwsEcsTaskExecutionAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (aete *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (aete *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (aete *DataSource) LocalName() string

LocalName returns the local name for DataSource.

Jump to

Keyboard shortcuts

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