Documentation ¶
Overview ¶
AUTOGENERATED CODE DO NOT EDIT This file is automatically generated from /internal/codegen/templates/aws_resource_file.tmpl
AUTOGENERATED CODE DO NOT EDIT This file is automatically generated from /internal/codegen/templates/aws_helpers_file.tmpl
AUTOGENERATED CODE DO NOT EDIT This file is automatically generated from /internal/codegen/templates/aws_referenced_resource_file.tmpl
AUTOGENERATED CODE DO NOT EDIT This file is automatically generated from /internal/codegen/templates/aws_resource_file.tmpl
AUTOGENERATED CODE DO NOT EDIT This file is automatically generated from /internal/codegen/templates/aws_resource_file.tmpl
AUTOGENERATED CODE DO NOT EDIT ¶
AUTOGENERATED CODE DO NOT EDIT ¶
AUTOGENERATED CODE DO NOT EDIT
Index ¶
- func ConvertTags(tags []types.Tag) map[string]string
- type Attachment
- type Attribute
- type AwsVpcConfiguration
- type CapacityProviderStrategyItem
- type Cluster
- type ClusterConfiguration
- type ClusterSetting
- type Container
- type ContainerOverride
- type Deployment
- type DeploymentCircuitBreaker
- type DeploymentConfiguration
- type DeploymentController
- type EnvironmentFile
- type EphemeralStorage
- type ExecuteCommandConfiguration
- type ExecuteCommandLogConfiguration
- type InferenceAccelerator
- type InferenceAcceleratorOverride
- type KeyValuePair
- type LoadBalancer
- type ManagedAgent
- type NetworkBinding
- type NetworkConfiguration
- type NetworkInterface
- type PlacementConstraint
- type PlacementStrategy
- type ResourceRequirement
- type Scale
- type Service
- type ServiceRegistry
- type Tag
- type Task
- type TaskOverride
- type TaskSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Attachment ¶
type Attachment struct { Details []*KeyValuePair `` /* 160-byte string literal not displayed */ Id string `` /* 137-byte string literal not displayed */ Status string `` /* 161-byte string literal not displayed */ Type string `` /* 149-byte string literal not displayed */ }
type AwsVpcConfiguration ¶
type CapacityProviderStrategyItem ¶
type CapacityProviderStrategyItem struct { CapacityProvider string `` /* 227-byte string literal not displayed */ Base int32 `bson:"base,omitempty" ion:"base" dynamodbav:"base,omitempty" parquet:"name=base,type=INT32" json:"base,omitempty" diff:"base"` Weight int32 `` /* 137-byte string literal not displayed */ }
type Cluster ¶
type Cluster struct { ActiveServicesCount int32 `` /* 227-byte string literal not displayed */ Attachments []*Attachment `` /* 184-byte string literal not displayed */ AttachmentsStatus string `` /* 233-byte string literal not displayed */ CapacityProviders []string `` /* 271-byte string literal not displayed */ ClusterArn string `` /* 231-byte string literal not displayed */ ClusterName string `` /* 197-byte string literal not displayed */ Configuration *ClusterConfiguration `` /* 168-byte string literal not displayed */ DefaultCapacityProviderStrategy []*CapacityProviderStrategyItem `` /* 322-byte string literal not displayed */ PendingTasksCount int32 `` /* 215-byte string literal not displayed */ RegisteredContainerInstancesCount int32 `` /* 317-byte string literal not displayed */ RunningTasksCount int32 `` /* 215-byte string literal not displayed */ Settings []*ClusterSetting `` /* 166-byte string literal not displayed */ Statistics []*KeyValuePair `` /* 178-byte string literal not displayed */ Status string `` /* 161-byte string literal not displayed */ Tags map[string]string `` /* 209-byte string literal not displayed */ AccountId string `` /* 185-byte string literal not displayed */ Region string `` /* 161-byte string literal not displayed */ ReportTime int64 `` /* 208-byte string literal not displayed */ InventoryUUID string `` /* 152-byte string literal not displayed */ }
func FetchClusters ¶
func FetchClusters(ctx context.Context, params *localAws.AwsFetchInput) ([]*Cluster, *localAws.AwsFetchOutputMetadata)
type ClusterConfiguration ¶
type ClusterConfiguration struct {
ExecuteCommandConfiguration *ExecuteCommandConfiguration `` /* 264-byte string literal not displayed */
}
type ClusterSetting ¶
type Container ¶
type Container struct { ContainerArn string `` /* 203-byte string literal not displayed */ Cpu string `` /* 143-byte string literal not displayed */ ExitCode int32 `` /* 155-byte string literal not displayed */ GpuIds []string `` /* 205-byte string literal not displayed */ HealthStatus string `` /* 203-byte string literal not displayed */ Image string `` /* 155-byte string literal not displayed */ ImageDigest string `` /* 197-byte string literal not displayed */ LastStatus string `` /* 191-byte string literal not displayed */ ManagedAgents []*ManagedAgent `` /* 202-byte string literal not displayed */ Memory string `` /* 161-byte string literal not displayed */ MemoryReservation string `` /* 233-byte string literal not displayed */ Name string `` /* 149-byte string literal not displayed */ NetworkBindings []*NetworkBinding `` /* 214-byte string literal not displayed */ NetworkInterfaces []*NetworkInterface `` /* 226-byte string literal not displayed */ Reason string `` /* 161-byte string literal not displayed */ RuntimeId string `` /* 185-byte string literal not displayed */ TaskArn string `` /* 213-byte string literal not displayed */ }
type ContainerOverride ¶
type ContainerOverride struct { Command []string `` /* 205-byte string literal not displayed */ Cpu int32 `bson:"cpu,omitempty" ion:"cpu" dynamodbav:"cpu,omitempty" parquet:"name=cpu,type=INT32" json:"cpu,omitempty" diff:"cpu"` Environment []*KeyValuePair `` /* 184-byte string literal not displayed */ EnvironmentFiles []*EnvironmentFile `` /* 220-byte string literal not displayed */ Memory int32 `` /* 137-byte string literal not displayed */ MemoryReservation int32 `` /* 209-byte string literal not displayed */ Name string `` /* 149-byte string literal not displayed */ ResourceRequirements []*ResourceRequirement `` /* 244-byte string literal not displayed */ }
type Deployment ¶
type Deployment struct { CapacityProviderStrategy []*CapacityProviderStrategyItem `` /* 274-byte string literal not displayed */ CreatedAt int64 `` /* 192-byte string literal not displayed */ DesiredCount int32 `` /* 179-byte string literal not displayed */ FailedTasks int32 `` /* 173-byte string literal not displayed */ Id string `` /* 137-byte string literal not displayed */ LaunchType string `` /* 191-byte string literal not displayed */ NetworkConfiguration *NetworkConfiguration `` /* 216-byte string literal not displayed */ PendingCount int32 `` /* 179-byte string literal not displayed */ PlatformFamily string `` /* 215-byte string literal not displayed */ PlatformVersion string `` /* 221-byte string literal not displayed */ RolloutState string `` /* 203-byte string literal not displayed */ RolloutStateReason string `` /* 245-byte string literal not displayed */ RunningCount int32 `` /* 179-byte string literal not displayed */ Status string `` /* 161-byte string literal not displayed */ TaskDefinition string `` /* 215-byte string literal not displayed */ UpdatedAt int64 `` /* 192-byte string literal not displayed */ }
type DeploymentConfiguration ¶
type DeploymentConfiguration struct { DeploymentCircuitBreaker *DeploymentCircuitBreaker `` /* 246-byte string literal not displayed */ MaximumPercent int32 `` /* 191-byte string literal not displayed */ MinimumHealthyPercent int32 `` /* 239-byte string literal not displayed */ }
type DeploymentController ¶
type DeploymentController struct {
Type string `` /* 149-byte string literal not displayed */
}
type EnvironmentFile ¶
type EphemeralStorage ¶
type EphemeralStorage struct {
SizeInGiB int32 `` /* 173-byte string literal not displayed */
}
type ExecuteCommandConfiguration ¶
type ExecuteCommandConfiguration struct { KmsKeyId string `` /* 185-byte string literal not displayed */ LogConfiguration *ExecuteCommandLogConfiguration `` /* 192-byte string literal not displayed */ Logging string `` /* 167-byte string literal not displayed */ }
type ExecuteCommandLogConfiguration ¶
type ExecuteCommandLogConfiguration struct { CloudWatchEncryptionEnabled bool `` /* 273-byte string literal not displayed */ CloudWatchLogGroupName string `` /* 281-byte string literal not displayed */ S3BucketName string `` /* 209-byte string literal not displayed */ S3EncryptionEnabled bool `` /* 219-byte string literal not displayed */ S3KeyPrefix string `` /* 203-byte string literal not displayed */ }
type InferenceAccelerator ¶
type KeyValuePair ¶
type LoadBalancer ¶
type LoadBalancer struct { ContainerName string `` /* 209-byte string literal not displayed */ ContainerPort int32 `` /* 185-byte string literal not displayed */ LoadBalancerName string `` /* 233-byte string literal not displayed */ TargetGroupArn string `` /* 221-byte string literal not displayed */ }
type ManagedAgent ¶
type NetworkBinding ¶
type NetworkConfiguration ¶
type NetworkConfiguration struct {
AwsvpcConfiguration *AwsVpcConfiguration `` /* 210-byte string literal not displayed */
}
type NetworkInterface ¶
type PlacementConstraint ¶
type PlacementStrategy ¶
type ResourceRequirement ¶
type Service ¶
type Service struct { CapacityProviderStrategy []*CapacityProviderStrategyItem `` /* 274-byte string literal not displayed */ ClusterArn string `` /* 191-byte string literal not displayed */ CreatedAt int64 `` /* 192-byte string literal not displayed */ CreatedBy string `` /* 185-byte string literal not displayed */ DeploymentConfiguration *DeploymentConfiguration `` /* 234-byte string literal not displayed */ DeploymentController *DeploymentController `` /* 216-byte string literal not displayed */ Deployments []*Deployment `` /* 184-byte string literal not displayed */ DesiredCount int32 `` /* 179-byte string literal not displayed */ EnableECSManagedTags bool `` /* 231-byte string literal not displayed */ EnableExecuteCommand bool `` /* 225-byte string literal not displayed */ HealthCheckGracePeriodSeconds int32 `` /* 299-byte string literal not displayed */ LaunchType string `` /* 191-byte string literal not displayed */ LoadBalancers []*LoadBalancer `` /* 202-byte string literal not displayed */ NetworkConfiguration *NetworkConfiguration `` /* 216-byte string literal not displayed */ PendingCount int32 `` /* 179-byte string literal not displayed */ PlacementConstraints []*PlacementConstraint `` /* 244-byte string literal not displayed */ PlacementStrategy []*PlacementStrategy `` /* 226-byte string literal not displayed */ PlatformFamily string `` /* 215-byte string literal not displayed */ PlatformVersion string `` /* 221-byte string literal not displayed */ PropagateTags string `` /* 209-byte string literal not displayed */ RoleArn string `` /* 173-byte string literal not displayed */ RunningCount int32 `` /* 179-byte string literal not displayed */ SchedulingStrategy string `` /* 239-byte string literal not displayed */ ServiceArn string `` /* 231-byte string literal not displayed */ ServiceName string `` /* 197-byte string literal not displayed */ ServiceRegistries []*ServiceRegistry `` /* 226-byte string literal not displayed */ Status string `` /* 161-byte string literal not displayed */ Tags map[string]string `` /* 209-byte string literal not displayed */ TaskDefinition string `` /* 215-byte string literal not displayed */ TaskSets []*TaskSet `` /* 172-byte string literal not displayed */ AccountId string `` /* 185-byte string literal not displayed */ Region string `` /* 161-byte string literal not displayed */ ReportTime int64 `` /* 208-byte string literal not displayed */ InventoryUUID string `` /* 152-byte string literal not displayed */ }
func FetchServices ¶
func FetchServices(ctx context.Context, params *localAws.AwsFetchInput) ([]*Service, *localAws.AwsFetchOutputMetadata)
type ServiceRegistry ¶
type ServiceRegistry struct { ContainerName string `` /* 209-byte string literal not displayed */ ContainerPort int32 `` /* 185-byte string literal not displayed */ Port int32 `bson:"port,omitempty" ion:"port" dynamodbav:"port,omitempty" parquet:"name=port,type=INT32" json:"port,omitempty" diff:"port"` RegistryArn string `` /* 197-byte string literal not displayed */ }
type Task ¶
type Task struct { Attachments []*Attachment `` /* 184-byte string literal not displayed */ Attributes []*Attribute `` /* 178-byte string literal not displayed */ AvailabilityZone string `` /* 227-byte string literal not displayed */ CapacityProviderName string `` /* 257-byte string literal not displayed */ ClusterArn string `` /* 191-byte string literal not displayed */ Connectivity string `` /* 197-byte string literal not displayed */ ConnectivityAt int64 `` /* 222-byte string literal not displayed */ ContainerInstanceArn string `` /* 257-byte string literal not displayed */ Containers []*Container `` /* 178-byte string literal not displayed */ Cpu string `` /* 143-byte string literal not displayed */ CreatedAt int64 `` /* 192-byte string literal not displayed */ DesiredStatus string `` /* 209-byte string literal not displayed */ EnableExecuteCommand bool `` /* 225-byte string literal not displayed */ EphemeralStorage *EphemeralStorage `` /* 192-byte string literal not displayed */ ExecutionStoppedAt int64 `` /* 252-byte string literal not displayed */ Group string `` /* 155-byte string literal not displayed */ HealthStatus string `` /* 203-byte string literal not displayed */ InferenceAccelerators []*InferenceAccelerator `` /* 250-byte string literal not displayed */ LastStatus string `` /* 191-byte string literal not displayed */ LaunchType string `` /* 191-byte string literal not displayed */ Memory string `` /* 161-byte string literal not displayed */ Overrides *TaskOverride `` /* 144-byte string literal not displayed */ PlatformFamily string `` /* 215-byte string literal not displayed */ PlatformVersion string `` /* 221-byte string literal not displayed */ PullStartedAt int64 `` /* 222-byte string literal not displayed */ PullStoppedAt int64 `` /* 222-byte string literal not displayed */ StartedAt int64 `` /* 192-byte string literal not displayed */ StartedBy string `` /* 185-byte string literal not displayed */ StopCode string `` /* 179-byte string literal not displayed */ StoppedAt int64 `` /* 192-byte string literal not displayed */ StoppedReason string `` /* 209-byte string literal not displayed */ StoppingAt int64 `` /* 198-byte string literal not displayed */ Tags map[string]string `` /* 209-byte string literal not displayed */ TaskArn string `` /* 213-byte string literal not displayed */ TaskDefinitionArn string `` /* 239-byte string literal not displayed */ Version int64 `` /* 143-byte string literal not displayed */ AccountId string `` /* 185-byte string literal not displayed */ Region string `` /* 161-byte string literal not displayed */ ReportTime int64 `` /* 208-byte string literal not displayed */ InventoryUUID string `` /* 152-byte string literal not displayed */ }
func FetchTasks ¶
func FetchTasks(ctx context.Context, params *localAws.AwsFetchInput) ([]*Task, *localAws.AwsFetchOutputMetadata)
type TaskOverride ¶
type TaskOverride struct { ContainerOverrides []*ContainerOverride `` /* 232-byte string literal not displayed */ Cpu string `` /* 143-byte string literal not displayed */ EphemeralStorage *EphemeralStorage `` /* 192-byte string literal not displayed */ ExecutionRoleArn string `` /* 233-byte string literal not displayed */ InferenceAcceleratorOverrides []*InferenceAcceleratorOverride `` /* 304-byte string literal not displayed */ Memory string `` /* 161-byte string literal not displayed */ TaskRoleArn string `` /* 203-byte string literal not displayed */ }
type TaskSet ¶
type TaskSet struct { CapacityProviderStrategy []*CapacityProviderStrategyItem `` /* 274-byte string literal not displayed */ ClusterArn string `` /* 191-byte string literal not displayed */ ComputedDesiredCount int32 `` /* 233-byte string literal not displayed */ CreatedAt int64 `` /* 192-byte string literal not displayed */ ExternalId string `` /* 191-byte string literal not displayed */ Id string `` /* 137-byte string literal not displayed */ LaunchType string `` /* 191-byte string literal not displayed */ LoadBalancers []*LoadBalancer `` /* 202-byte string literal not displayed */ NetworkConfiguration *NetworkConfiguration `` /* 216-byte string literal not displayed */ PendingCount int32 `` /* 179-byte string literal not displayed */ PlatformFamily string `` /* 215-byte string literal not displayed */ PlatformVersion string `` /* 221-byte string literal not displayed */ RunningCount int32 `` /* 179-byte string literal not displayed */ Scale *Scale `bson:"scale,omitempty" ion:"scale" dynamodbav:"scale,omitempty" parquet:"name=scale" json:"scale,omitempty" diff:"scale"` ServiceArn string `` /* 231-byte string literal not displayed */ ServiceRegistries []*ServiceRegistry `` /* 226-byte string literal not displayed */ StabilityStatus string `` /* 221-byte string literal not displayed */ StabilityStatusAt int64 `` /* 246-byte string literal not displayed */ StartedBy string `` /* 185-byte string literal not displayed */ Status string `` /* 161-byte string literal not displayed */ Tags []*Tag `` /* 142-byte string literal not displayed */ TaskDefinition string `` /* 215-byte string literal not displayed */ TaskSetArn string `` /* 197-byte string literal not displayed */ UpdatedAt int64 `` /* 192-byte string literal not displayed */ }