ECS

10 resource kinds. Generated from the operator's CRD schemas.

API Group: aws.konfig.io/v1alpha1

ECSCapacityProvider # GA

ECSCapacityProvider is the Schema for managing ECS capacity providers.

kubectl get ecscapacityproviders · example on GitHub

Example

# ECSCapacityProvider — ECS
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/ecs.html#ecscapacityprovider
apiVersion: aws.konfig.io/v1alpha1
kind: ECSCapacityProvider
metadata:
  name: example-ecscapacityprovider
  namespace: default
spec:
  autoScalingGroupProvider:
    autoScalingGroupArn: arn:aws:iam::123456789012:role/example-role
    managedScaling:
      instanceWarmupPeriod: 1
      maximumScalingStepSize: 2
      minimumScalingStepSize: 2
      status: ENABLED
      targetCapacity: 1
    managedTerminationProtection: ENABLED
  name: example-ecscapacityprovider
  providerRef:
    name: example-ecscapacityprovider
    region: us-east-1
  tags:
    environment: dev
    team: platform

Spec

FieldTypeRequiredDescription
autoScalingGroupProviderobjectyesAutoScalingGroupProvider is the Auto Scaling group provider configuration.
autoScalingGroupProvider.autoScalingGroupArnstringyesAutoScalingGroupARN is the ARN of the Auto Scaling group.
autoScalingGroupProvider.managedScalingobject—ManagedScaling defines the managed scaling configuration.
autoScalingGroupProvider.managedScaling.instanceWarmupPeriodinteger—InstanceWarmupPeriod is the period of time (in seconds) during which scale-in protection is applied.
autoScalingGroupProvider.managedScaling.maximumScalingStepSizeinteger—MaximumScalingStepSize is the maximum number of instances by which to scale.
autoScalingGroupProvider.managedScaling.minimumScalingStepSizeinteger—MinimumScalingStepSize is the minimum number of instances by which to scale.
autoScalingGroupProvider.managedScaling.statusenum—Status enables or disables managed scaling. Allowed: ENABLED, DISABLED
autoScalingGroupProvider.managedScaling.targetCapacityinteger—TargetCapacity is the target capacity utilization as a percentage (1-100).
autoScalingGroupProvider.managedTerminationProtectionenum—ManagedTerminationProtection controls whether to enable managed termination protection. Allowed: ENABLED, DISABLED
namestringyesName is the name of the capacity provider.
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
tagsmap<string>—Tags are metadata tags for the capacity provider.

Status

FieldTypeRequiredDescription
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
capacityProviderArnstring—CapacityProviderARN is the ARN of the capacity provider.
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
lastSyncTimestring—LastSyncTime is when the resource was last successfully reconciled.
observedGenerationinteger—ObservedGeneration is the most recent .metadata.generation reconciled.
providerStatusstring—ProviderStatus is the current status of the capacity provider.

ECSCluster # GA

ECSCluster is the Schema for managing ECS Clusters.

kubectl get ecsclusters · example on GitHub

Example

# ECSCluster — ECS
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/ecs.html#ecscluster
apiVersion: aws.konfig.io/v1alpha1
kind: ECSCluster
metadata:
  name: example-ecscluster
  namespace: default
spec:
  capacityProviders:
  - example
  clusterName: example-ecscluster
  containerInsights: false
  providerRef:
    name: example-ecscluster
    region: us-east-1
  tags:
    environment: dev
    team: platform

Spec

FieldTypeRequiredDescription
capacityProvidersarray<string>—CapacityProviders is the list of capacity providers to associate with the cluster.
clusterNamestringyesClusterName is the name of the ECS cluster.
containerInsightsboolean—ContainerInsights enables CloudWatch Container Insights for the cluster.
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
tagsmap<string>—Tags are AWS resource tags.

Status

FieldTypeRequiredDescription
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
clusterArnstring—ClusterARN is the ARN of the ECS cluster.
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
lastSyncTimestring—LastSyncTime is when the resource was last successfully reconciled.
observedGenerationinteger—ObservedGeneration is the most recent .metadata.generation reconciled.
statusstring—Status is the cluster status: ACTIVE, PROVISIONING, DEPROVISIONING, FAILED, INACTIVE.

ECSClusterCapacityProviderAssociations # CLOUD CONTROL · AWS::ECS::ClusterCapacityProviderAssociations

ECSClusterCapacityProviderAssociations manages AWS::ECS::ClusterCapacityProviderAssociations through the AWS Cloud Control API.

kubectl get ecsclustercapacityproviderassociations · example on GitHub

Example

# ECSClusterCapacityProviderAssociations — ECS
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/ecs.html#ecsclustercapacityproviderassociations
apiVersion: aws.konfig.io/v1alpha1
kind: ECSClusterCapacityProviderAssociations
metadata:
  name: example-ecsclustercapacityproviderassociations
  namespace: default
spec:
  cluster: example
  defaultCapacityProviderStrategy:
  - base: 1
    weight: 1
  providerRef:
    name: example-ecsclustercapacityproviderassociations
    region: us-east-1

Spec

FieldTypeRequiredDescription
capacityProvidersarray<object>—
clusterstringyesCreate-only in AWS: changing it requires replacing the resource.
defaultCapacityProviderStrategyarray<object>yes
defaultCapacityProviderStrategy[].baseinteger—
defaultCapacityProviderStrategy[].capacityProviderobjectyes
defaultCapacityProviderStrategy[].weightinteger—
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.

Status

FieldTypeRequiredDescription
attemptinteger—Attempt counts failed create/delete requests; it salts the Cloud Control idempotency token so a retry is not served the cached failure.
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
identifierstring—Identifier is the Cloud Control primary identifier of the resource.
lastSyncTimestring—
observedGenerationinteger—
operationstring—Operation is the in-flight operation (CREATE, UPDATE, DELETE).
operationStatusstring—OperationStatus is the last reported operation status.
requestTokenstring—RequestToken tracks an in-flight asynchronous operation.

ECSDaemon # CLOUD CONTROL · AWS::ECS::Daemon

ECSDaemon manages AWS::ECS::Daemon through the AWS Cloud Control API.

kubectl get ecsdaemons · example on GitHub

Example

# ECSDaemon — ECS
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/ecs.html#ecsdaemon
apiVersion: aws.konfig.io/v1alpha1
kind: ECSDaemon
metadata:
  name: example-ecsdaemon
  namespace: default
spec:
  capacityProviderArns:
  - example
  clusterArn: arn:aws:iam::123456789012:role/example-role
  daemonName: example-ecsdaemon
  daemonTaskDefinitionArn: arn:aws:iam::123456789012:role/example-role
  deploymentConfiguration:
    alarms:
      alarmNames:
      - example
      enable: true
    bakeTimeInMinutes: 1
    drainPercent: 1
  enableECSManagedTags: true
  enableExecuteCommand: true
  propagateTags: DAEMON
  providerRef:
    name: example-ecsdaemon
    region: us-east-1
  tags:
  - key: example
    value: example

Spec

FieldTypeRequiredDescription
capacityProviderArnsarray<string>—The Amazon Resource Names (ARNs) of the capacity providers associated with the daemon.
clusterArnstring—The Amazon Resource Name (ARN) of the cluster that the daemon is running in.
daemonNamestring—Create-only in AWS: changing it requires replacing the resource.
daemonTaskDefinitionArnstring—The Amazon Resource Name (ARN) of the daemon task definition used by this revision.
deploymentConfigurationobject—The deployment configuration used for this daemon deployment.
deploymentConfiguration.alarmsobject—The CloudWatch alarm configuration for the daemon deployment.
deploymentConfiguration.alarms.alarmNamesarray<string>—The CloudWatch alarm names to monitor during a daemon deployment.
deploymentConfiguration.alarms.enableboolean—Determines whether to use the CloudWatch alarm option in the daemon deployment process.
deploymentConfiguration.bakeTimeInMinutesinteger—The amount of time (in minutes) to wait after a successful deployment step before proceeding.
deploymentConfiguration.drainPercentnumber—The percentage of container instances to drain simultaneously during a daemon deployment.
enableECSManagedTagsboolean—Specifies whether Amazon ECS managed tags are turned on for the daemon tasks.
enableExecuteCommandboolean—Specifies whether the execute command functionality is turned on for the daemon tasks.
propagateTagsenum—Specifies whether tags are propagated from the daemon to the daemon tasks. Allowed: DAEMON, NONE
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
tagsarray<object>—
tags[].keystringyes
tags[].valuestringyes

Status

FieldTypeRequiredDescription
attemptinteger—Attempt counts failed create/delete requests; it salts the Cloud Control idempotency token so a retry is not served the cached failure.
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
createdAtstring—Read-only: reported by AWS after creation.
daemonArnstring—Read-only: reported by AWS after creation.
daemonStatusenum—Read-only: reported by AWS after creation. Allowed: ACTIVE, DELETE_IN_PROGRESS
deploymentArnstring—Read-only: reported by AWS after creation.
identifierstring—Identifier is the Cloud Control primary identifier of the resource.
lastSyncTimestring—
observedGenerationinteger—
operationstring—Operation is the in-flight operation (CREATE, UPDATE, DELETE).
operationStatusstring—OperationStatus is the last reported operation status.
requestTokenstring—RequestToken tracks an in-flight asynchronous operation.
updatedAtstring—Read-only: reported by AWS after creation.

ECSDaemonTaskDefinition # CLOUD CONTROL · AWS::ECS::DaemonTaskDefinition

ECSDaemonTaskDefinition manages AWS::ECS::DaemonTaskDefinition through the AWS Cloud Control API.

kubectl get ecsdaemontaskdefinitions · example on GitHub

Example

# ECSDaemonTaskDefinition — ECS
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/ecs.html#ecsdaemontaskdefinition
apiVersion: aws.konfig.io/v1alpha1
kind: ECSDaemonTaskDefinition
metadata:
  name: example-ecsdaemontaskdefinition
  namespace: default
spec:
  containerDefinitions:
  - command:
    - example
    cpu: 1
    dependsOn:
    - condition: example
      containerName: example-ecsdaemontaskdefinition
    entryPoint:
    - example
    environment:
    - name: example-ecsdaemontaskdefinition
      value: example
    environmentFiles:
    - type: example
      value: example
    essential: false
    firelensConfiguration:
      type: example
    healthCheck:
      command:
      - example
      interval: 1
      retries: 1
      startPeriod: 1
      timeout: 300
    image: example
    interactive: false
    linuxParameters:
      devices:
      - containerPath: example
        hostPath: example
        permissions:
        - example
      initProcessEnabled: true
      tmpfs:
      - containerPath: example
        mountOptions:
        - example
        size: 2
    logConfiguration:
      logDriver: example
      secretOptions:
      - name: example-ecsdaemontaskdefinition
        valueFrom: example
    memory: 1
    memoryReservation: 1
    mountPoints:
    - containerPath: example
      readOnly: false
      sourceVolume: example
    name: example-ecsdaemontaskdefinition
    privileged: false
    pseudoTerminal: false
    readonlyRootFilesystem: false
    repositoryCredentials:
      credentialsParameter: example
    restartPolicy:
      enabled: true
      ignoredExitCodes:
      - 1
      restartAttemptPeriod: 1
    secrets:
    - name: example-ecsdaemontaskdefinition
      valueFrom: example
    startTimeout: 300
    stopTimeout: 300
    systemControls:
    - namespace: example
      value: example
    ulimits:
    - hardLimit: 1
      name: example-ecsdaemontaskdefinition
      softLimit: 1
    user: example
    workingDirectory: example
  cpu: example
  executionRoleArn: arn:aws:iam::123456789012:role/example-role
  family: example
  ipcMode: example
  memory: example
  pidMode: example
  providerRef:
    name: example-ecsdaemontaskdefinition
    region: us-east-1
  tags:
  - key: example
    value: example
  taskRoleArn: arn:aws:iam::123456789012:role/example-role
  volumes:
  - host:
      sourcePath: example
    name: example-ecsdaemontaskdefinition

Spec

FieldTypeRequiredDescription
containerDefinitionsarray<object>—A list of container definitions in JSON format that describe the containers that make up the daemon task.
containerDefinitions[].commandarray<string>—The command that's passed to the container.
containerDefinitions[].cpuinteger—The number of ``cpu`` units reserved for the container.
containerDefinitions[].dependsOnarray<object>—The dependencies defined for container startup and shutdown.
containerDefinitions[].dependsOn[].conditionstring—The dependency condition of the container.
containerDefinitions[].dependsOn[].containerNamestring—The name of a container.
containerDefinitions[].entryPointarray<string>—The entry point that's passed to the container.
containerDefinitions[].environmentarray<object>—The environment variables to pass to a container.
containerDefinitions[].environment[].namestring—The name of the key-value pair.
containerDefinitions[].environment[].valuestring—The value of the key-value pair.
containerDefinitions[].environmentFilesarray<object>—A list of files containing the environment variables to pass to a container.
containerDefinitions[].environmentFiles[].typestring—The file type to use.
containerDefinitions[].environmentFiles[].valuestring—The Amazon Resource Name (ARN) of the Amazon S3 object containing the environment variable file.
containerDefinitions[].essentialboolean—If the ``essential`` parameter of a container is marked as ``true``, and that container fails or stops for any reason, all other containers that are part of the task are stopped.
containerDefinitions[].firelensConfigurationobject—The FireLens configuration for the container.
containerDefinitions[].firelensConfiguration.optionsmap<string>—The options to use when configuring the log router.
containerDefinitions[].firelensConfiguration.typestring—The log router to use.
containerDefinitions[].healthCheckobject—The container health check command and associated configuration parameters for the container.
containerDefinitions[].healthCheck.commandarray<string>—A string array representing the command that the container runs to determine if it is healthy.
containerDefinitions[].healthCheck.intervalinteger—The time period in seconds between each health check execution.
containerDefinitions[].healthCheck.retriesinteger—The number of times to retry a failed health check before the container is considered unhealthy.
containerDefinitions[].healthCheck.startPeriodinteger—The optional grace period to provide containers time to bootstrap before failed health checks count towards the maximum number of retries.
containerDefinitions[].healthCheck.timeoutinteger—The time period in seconds to wait for a health check to succeed before it is considered a failure.
containerDefinitions[].imagestringyesThe image used to start the container.
containerDefinitions[].interactiveboolean—When this parameter is ``true``, you can deploy containerized applications that require ``stdin`` or a ``tty`` to be allocated.
containerDefinitions[].linuxParametersobject—Linux-specific modifications that are applied to the container configuration, such as Linux kernel capabilities.
containerDefinitions[].linuxParameters.capabilitiesobject—The Linux capabilities for the container that are added to or dropped from the default configuration provided by Docker.
containerDefinitions[].linuxParameters.capabilities.addarray<string>—The Linux capabilities for the container that have been added to the default configuration provided by Docker.
containerDefinitions[].linuxParameters.capabilities.droparray<string>—The Linux capabilities for the container that have been removed from the default configuration provided by Docker.
containerDefinitions[].linuxParameters.devicesarray<object>—Any host devices to expose to the container.
containerDefinitions[].linuxParameters.devices[].containerPathstring—The path inside the container at which to expose the host device.
containerDefinitions[].linuxParameters.devices[].hostPathstring—The path for the device on the host container instance.
containerDefinitions[].linuxParameters.devices[].permissionsarray<string>—The explicit permissions to provide to the container for the device.
containerDefinitions[].linuxParameters.initProcessEnabledboolean—Run an ``init`` process inside the container that forwards signals and reaps processes.
containerDefinitions[].linuxParameters.tmpfsarray<object>—The container path, mount options, and size (in MiB) of the tmpfs mount.
containerDefinitions[].linuxParameters.tmpfs[].containerPathstring—The absolute file path where the tmpfs volume is to be mounted.
containerDefinitions[].linuxParameters.tmpfs[].mountOptionsarray<string>—The list of tmpfs volume mount options.
containerDefinitions[].linuxParameters.tmpfs[].sizeintegeryesThe maximum size (in MiB) of the tmpfs volume.
containerDefinitions[].logConfigurationobject—The log configuration specification for the container.
containerDefinitions[].logConfiguration.logDriverstringyesThe log driver to use for the container.
containerDefinitions[].logConfiguration.optionsmap<string>—The configuration options to send to the log driver.
containerDefinitions[].logConfiguration.secretOptionsarray<object>—The secrets to pass to the log configuration.
containerDefinitions[].logConfiguration.secretOptions[].namestringyesThe name of the secret.
containerDefinitions[].logConfiguration.secretOptions[].valueFromstringyesThe secret to expose to the container.
containerDefinitions[].memoryinteger—The amount (in MiB) of memory to present to the container.
containerDefinitions[].memoryReservationinteger—The soft limit (in MiB) of memory to reserve for the container.
containerDefinitions[].mountPointsarray<object>—The mount points for data volumes in your container.
containerDefinitions[].mountPoints[].containerPathstring—The path on the container to mount the host volume at.
containerDefinitions[].mountPoints[].readOnlyboolean—If this value is ``true``, the container has read-only access to the volume.
containerDefinitions[].mountPoints[].sourceVolumestring—The name of the volume to mount.
containerDefinitions[].namestringyesThe name of the container.
containerDefinitions[].privilegedboolean—When this parameter is true, the container is given elevated privileges on the host container instance (similar to the ``root`` user).
containerDefinitions[].pseudoTerminalboolean—When this parameter is ``true``, a TTY is allocated.
containerDefinitions[].readonlyRootFilesystemboolean—When this parameter is true, the container is given read-only access to its root file system.
containerDefinitions[].repositoryCredentialsobject—The private repository authentication credentials to use.
containerDefinitions[].repositoryCredentials.credentialsParameterstring—The Amazon Resource Name (ARN) of the secret containing the private repository credentials.
containerDefinitions[].restartPolicyobject—The restart policy for the container.
containerDefinitions[].restartPolicy.enabledboolean—
containerDefinitions[].restartPolicy.ignoredExitCodesarray<integer>—
containerDefinitions[].restartPolicy.restartAttemptPeriodinteger—
containerDefinitions[].secretsarray<object>—The secrets to pass to the container.
containerDefinitions[].secrets[].namestringyesThe name of the secret.
containerDefinitions[].secrets[].valueFromstringyesThe secret to expose to the container.
containerDefinitions[].startTimeoutinteger—Time duration (in seconds) to wait before giving up on resolving dependencies for a container.
containerDefinitions[].stopTimeoutinteger—Time duration (in seconds) to wait before the container is forcefully killed if it doesn't exit normally on its own.
containerDefinitions[].systemControlsarray<object>—A list of namespaced kernel parameters to set in the container.
containerDefinitions[].systemControls[].namespacestring—The namespaced kernel parameter to set a ``value`` for.
containerDefinitions[].systemControls[].valuestring—The namespaced kernel parameter to set a ``value`` for.
containerDefinitions[].ulimitsarray<object>—A list of ``ulimits`` to set in the container.
containerDefinitions[].ulimits[].hardLimitintegeryesThe hard limit for the ``ulimit`` type.
containerDefinitions[].ulimits[].namestringyesThe ``type`` of the ``ulimit``.
containerDefinitions[].ulimits[].softLimitintegeryesThe soft limit for the ``ulimit`` type.
containerDefinitions[].userstring—The user to use inside the container.
containerDefinitions[].workingDirectorystring—The working directory to run commands inside the container in.
cpustring—The number of CPU units used by the daemon task.
executionRoleArnstring—The Amazon Resource Name (ARN) of the task execution role that grants the Amazon ECS container agent permission to make Amazon Web Services API calls on your behalf.
familystring—The name of a family that this daemon task definition is registered to.
ipcModestring—The IPC namespace mode for the daemon.
memorystring—The amount of memory (in MiB) used by the daemon task.
pidModestring—The PID namespace mode for the daemon.
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
tagsarray<object>—
tags[].keystringyes
tags[].valuestringyes
taskRoleArnstring—The short name or full Amazon Resource Name (ARN) of the IAM role that grants containers in the daemon task permission to call Amazon Web Services APIs on your behalf.
volumesarray<object>—The list of data volume definitions for the daemon task.
volumes[].hostobject—This parameter is specified when you use bind mount host volumes.
volumes[].host.sourcePathstring—When the ``host`` parameter is used, specify a ``sourcePath`` to declare the path on the host container instance that's presented to the container.
volumes[].namestring—The name of the volume.

Status

FieldTypeRequiredDescription
attemptinteger—Attempt counts failed create/delete requests; it salts the Cloud Control idempotency token so a retry is not served the cached failure.
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
daemonTaskDefinitionArnstring—Read-only: reported by AWS after creation.
identifierstring—Identifier is the Cloud Control primary identifier of the resource.
lastSyncTimestring—
observedGenerationinteger—
operationstring—Operation is the in-flight operation (CREATE, UPDATE, DELETE).
operationStatusstring—OperationStatus is the last reported operation status.
requestTokenstring—RequestToken tracks an in-flight asynchronous operation.

ECSExpressGatewayService # CLOUD CONTROL · AWS::ECS::ExpressGatewayService

ECSExpressGatewayService manages AWS::ECS::ExpressGatewayService through the AWS Cloud Control API.

kubectl get ecsexpressgatewayservices · example on GitHub

Example

# ECSExpressGatewayService — ECS
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/ecs.html#ecsexpressgatewayservice
apiVersion: aws.konfig.io/v1alpha1
kind: ECSExpressGatewayService
metadata:
  name: example-ecsexpressgatewayservice
  namespace: default
spec:
  cluster: example
  cpu: example
  executionRoleArn: arn:aws:iam::123456789012:role/example-role
  healthCheckPath: example
  infrastructureRoleArn: arn:aws:iam::123456789012:role/example-role
  memory: example
  networkConfiguration:
    securityGroups:
    - example
    subnets:
    - example
  primaryContainer:
    awsLogsConfiguration:
      logGroup: example
      logStreamPrefix: example
    command:
    - example
    containerPort: 443
    environment:
    - name: example-ecsexpressgatewayservice
      value: example
    image: example
    repositoryCredentials:
      credentialsParameter: example
    secrets:
    - name: example-ecsexpressgatewayservice
      valueFrom: example
  providerRef:
    name: example-ecsexpressgatewayservice
    region: us-east-1
  scalingTarget:
    autoScalingMetric: AVERAGE_CPU
    autoScalingTargetValue: 1
    maxTaskCount: 2
    minTaskCount: 2
  serviceName: example-ecsexpressgatewayservice
  tags:
  - key: example
    value: example
  taskDefinitionArn: arn:aws:iam::123456789012:role/example-role
  taskRoleArn: arn:aws:iam::123456789012:role/example-role

Spec

FieldTypeRequiredDescription
clusterstring—Create-only in AWS: changing it requires replacing the resource.
cpustring—
executionRoleArnstring—
healthCheckPathstring—
infrastructureRoleArnstringyesCreate-only in AWS: changing it requires replacing the resource.
memorystring—
networkConfigurationobject—ECSExpressGatewayServiceExpressGatewayServiceNetworkConfiguration is a nested property type of AWS::ECS::ExpressGatewayService.
networkConfiguration.securityGroupsarray<string>—
networkConfiguration.subnetsarray<string>—
primaryContainerobject—ECSExpressGatewayServiceExpressGatewayContainer is a nested property type of AWS::ECS::ExpressGatewayService.
primaryContainer.awsLogsConfigurationobject—ECSExpressGatewayServiceExpressGatewayServiceAwsLogsConfiguration is a nested property type of AWS::ECS::ExpressGatewayService.
primaryContainer.awsLogsConfiguration.logGroupstringyes
primaryContainer.awsLogsConfiguration.logStreamPrefixstringyes
primaryContainer.commandarray<string>—
primaryContainer.containerPortinteger—
primaryContainer.environmentarray<object>—
primaryContainer.environment[].namestringyes
primaryContainer.environment[].valuestringyes
primaryContainer.imagestringyes
primaryContainer.repositoryCredentialsobject—ECSExpressGatewayServiceExpressGatewayRepositoryCredentials is a nested property type of AWS::ECS::ExpressGatewayService.
primaryContainer.repositoryCredentials.credentialsParameterstringyes
primaryContainer.secretsarray<object>—
primaryContainer.secrets[].namestringyes
primaryContainer.secrets[].valueFromstringyes
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
scalingTargetobject—ECSExpressGatewayServiceExpressGatewayScalingTarget is a nested property type of AWS::ECS::ExpressGatewayService.
scalingTarget.autoScalingMetricenum—Allowed: AVERAGE_CPU, AVERAGE_MEMORY, REQUEST_COUNT_PER_TARGET
scalingTarget.autoScalingTargetValueinteger—
scalingTarget.maxTaskCountinteger—
scalingTarget.minTaskCountinteger—
serviceNamestring—Create-only in AWS: changing it requires replacing the resource.
tagsarray<object>—Create-only in AWS: changing it requires replacing the resource.
tags[].keystringyes
tags[].valuestringyes
taskDefinitionArnstring—
taskRoleArnstring—

Status

FieldTypeRequiredDescription
activeConfigurationsarray<object>—Read-only: reported by AWS after creation.
activeConfigurations[].cpustring—
activeConfigurations[].createdAtstring—
activeConfigurations[].executionRoleArnstring—
activeConfigurations[].healthCheckPathstring—
activeConfigurations[].ingressPathsarray<object>—
activeConfigurations[].ingressPaths[].accessTypeenum—Allowed: PUBLIC, PRIVATE
activeConfigurations[].ingressPaths[].endpointstring—
activeConfigurations[].memorystring—
activeConfigurations[].networkConfigurationobject—ECSExpressGatewayServiceExpressGatewayServiceNetworkConfiguration is a nested property type of AWS::ECS::ExpressGatewayService.
activeConfigurations[].networkConfiguration.securityGroupsarray<string>—
activeConfigurations[].networkConfiguration.subnetsarray<string>—
activeConfigurations[].primaryContainerobject—ECSExpressGatewayServiceExpressGatewayContainer is a nested property type of AWS::ECS::ExpressGatewayService.
activeConfigurations[].primaryContainer.awsLogsConfigurationobject—ECSExpressGatewayServiceExpressGatewayServiceAwsLogsConfiguration is a nested property type of AWS::ECS::ExpressGatewayService.
activeConfigurations[].primaryContainer.awsLogsConfiguration.logGroupstringyes
activeConfigurations[].primaryContainer.awsLogsConfiguration.logStreamPrefixstringyes
activeConfigurations[].primaryContainer.commandarray<string>—
activeConfigurations[].primaryContainer.containerPortinteger—
activeConfigurations[].primaryContainer.environmentarray<object>—
activeConfigurations[].primaryContainer.environment[].namestringyes
activeConfigurations[].primaryContainer.environment[].valuestringyes
activeConfigurations[].primaryContainer.imagestringyes
activeConfigurations[].primaryContainer.repositoryCredentialsobject—ECSExpressGatewayServiceExpressGatewayRepositoryCredentials is a nested property type of AWS::ECS::ExpressGatewayService.
activeConfigurations[].primaryContainer.repositoryCredentials.credentialsParameterstringyes
activeConfigurations[].primaryContainer.secretsarray<object>—
activeConfigurations[].primaryContainer.secrets[].namestringyes
activeConfigurations[].primaryContainer.secrets[].valueFromstringyes
activeConfigurations[].scalingTargetobject—ECSExpressGatewayServiceExpressGatewayScalingTarget is a nested property type of AWS::ECS::ExpressGatewayService.
activeConfigurations[].scalingTarget.autoScalingMetricenum—Allowed: AVERAGE_CPU, AVERAGE_MEMORY, REQUEST_COUNT_PER_TARGET
activeConfigurations[].scalingTarget.autoScalingTargetValueinteger—
activeConfigurations[].scalingTarget.maxTaskCountinteger—
activeConfigurations[].scalingTarget.minTaskCountinteger—
activeConfigurations[].serviceRevisionArnstring—
activeConfigurations[].taskDefinitionArnstring—
activeConfigurations[].taskRoleArnstring—
attemptinteger—Attempt counts failed create/delete requests; it salts the Cloud Control idempotency token so a retry is not served the cached failure.
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
createdAtstring—Read-only: reported by AWS after creation.
ecsManagedResourceArnsobject—Read-only: reported by AWS after creation.
ecsManagedResourceArns.autoScalingobject—ECSExpressGatewayServiceAutoScalingArns is a nested property type of AWS::ECS::ExpressGatewayService.
ecsManagedResourceArns.autoScaling.applicationAutoScalingPoliciesarray<string>—
ecsManagedResourceArns.autoScaling.scalableTargetstring—
ecsManagedResourceArns.ingressPathobject—ECSExpressGatewayServiceIngressPathArns is a nested property type of AWS::ECS::ExpressGatewayService.
ecsManagedResourceArns.ingressPath.certificateArnstring—
ecsManagedResourceArns.ingressPath.listenerArnstring—
ecsManagedResourceArns.ingressPath.listenerRuleArnstring—
ecsManagedResourceArns.ingressPath.loadBalancerArnstring—
ecsManagedResourceArns.ingressPath.loadBalancerSecurityGroupsarray<string>—
ecsManagedResourceArns.ingressPath.targetGroupArnsarray<string>—
ecsManagedResourceArns.logGroupsarray<string>—
ecsManagedResourceArns.metricAlarmsarray<string>—
ecsManagedResourceArns.serviceSecurityGroupsarray<string>—
endpointstring—Read-only: reported by AWS after creation.
identifierstring—Identifier is the Cloud Control primary identifier of the resource.
lastSyncTimestring—
observedGenerationinteger—
operationstring—Operation is the in-flight operation (CREATE, UPDATE, DELETE).
operationStatusstring—OperationStatus is the last reported operation status.
requestTokenstring—RequestToken tracks an in-flight asynchronous operation.
serviceArnstring—Read-only: reported by AWS after creation.
statusobject—Read-only: reported by AWS after creation.
status.statusCodeenum—Allowed: ACTIVE, DRAINING, INACTIVE
updatedAtstring—Read-only: reported by AWS after creation.

ECSPrimaryTaskSet # CLOUD CONTROL · AWS::ECS::PrimaryTaskSet

ECSPrimaryTaskSet manages AWS::ECS::PrimaryTaskSet through the AWS Cloud Control API.

kubectl get ecsprimarytasksets · example on GitHub

Example

# ECSPrimaryTaskSet — ECS
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/ecs.html#ecsprimarytaskset
apiVersion: aws.konfig.io/v1alpha1
kind: ECSPrimaryTaskSet
metadata:
  name: example-ecsprimarytaskset
  namespace: default
spec:
  cluster: example
  providerRef:
    name: example-ecsprimarytaskset
    region: us-east-1
  service: example
  taskSetId: example-id

Spec

FieldTypeRequiredDescription
clusterstringyesThe short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to create the task set in.
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
servicestringyesThe short name or full Amazon Resource Name (ARN) of the service to create the task set in.
taskSetIdstringyesThe ID or full Amazon Resource Name (ARN) of the task set.

Status

FieldTypeRequiredDescription
attemptinteger—Attempt counts failed create/delete requests; it salts the Cloud Control idempotency token so a retry is not served the cached failure.
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
identifierstring—Identifier is the Cloud Control primary identifier of the resource.
lastSyncTimestring—
observedGenerationinteger—
operationstring—Operation is the in-flight operation (CREATE, UPDATE, DELETE).
operationStatusstring—OperationStatus is the last reported operation status.
requestTokenstring—RequestToken tracks an in-flight asynchronous operation.

ECSService # GA

ECSService is the Schema for managing ECS Services.

kubectl get ecsservices · example on GitHub

Example

# ECSService — ECS
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/ecs.html#ecsservice
apiVersion: aws.konfig.io/v1alpha1
kind: ECSService
metadata:
  name: example-ecsservice
  namespace: default
spec:
  clusterName: example-ecsservice
  clusterRef:
    clusterName: example-ecsservice
    name: example-ecsservice
  desiredCount: 1
  enableExecuteCommand: true
  healthCheckGracePeriodSeconds: 300
  launchType: FARGATE
  loadBalancers:
  - containerName: example-ecsservice
    containerPort: 443
    targetGroupArn: arn:aws:iam::123456789012:role/example-role
  networkConfiguration:
    assignPublicIp: ENABLED
    securityGroupRefs:
    - name: example-securitygrouprefs
    subnetRefs:
    - name: example-subnetrefs
  providerRef:
    name: example-ecsservice
    region: us-east-1
  serviceName: example-ecsservice
  tags:
    environment: dev
    team: platform
  taskDefinitionArn: arn:aws:iam::123456789012:role/example-role
  taskDefinitionRef:
    name: example-taskdefinition

Spec

FieldTypeRequiredDescription
clusterNamestring—ClusterName is a direct ECS cluster name or ARN.
clusterRefobject—ClusterRef references the ECS cluster to run the service in.
clusterRef.clusterNamestring—ClusterName is a direct AWS ECS cluster name or ARN.
clusterRef.namestring—Name of an ECSCluster CR in the same namespace.
desiredCountintegeryesDesiredCount is the number of task instances to run.
enableExecuteCommandboolean—EnableExecuteCommand enables ECS Exec on tasks.
healthCheckGracePeriodSecondsinteger—HealthCheckGracePeriodSeconds is the grace period before health check starts.
launchTypeenum—LaunchType is the launch type for tasks. Allowed: FARGATE, EC2, EXTERNAL
loadBalancersarray<object>—LoadBalancers connect the service to ALB/NLB target groups.
loadBalancers[].containerNamestringyesContainerName is the name of the container to register with the target group.
loadBalancers[].containerPortintegeryesContainerPort is the container port to route traffic to.
loadBalancers[].targetGroupArnstringyesTargetGroupArn is the ARN of the ALB/NLB target group.
networkConfigurationobject—NetworkConfiguration is required for awsvpc network mode tasks.
networkConfiguration.assignPublicIpenum—AssignPublicIP controls whether tasks get a public IP. Allowed: ENABLED, DISABLED
networkConfiguration.securityGroupRefsarray<object>—SecurityGroupRefs are the security groups to attach to tasks.
networkConfiguration.securityGroupRefs[].idstring—ID is a direct AWS Security Group ID (e.g.
networkConfiguration.securityGroupRefs[].namestring—Name of a SecurityGroup CR in the same namespace.
networkConfiguration.subnetRefsarray<object>yesSubnetRefs are the subnets to launch tasks in.
networkConfiguration.subnetRefs[].idstring—ID is a direct AWS Subnet ID (e.g.
networkConfiguration.subnetRefs[].namestring—Name of a Subnet CR in the same namespace.
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
serviceNamestringyesServiceName is the name of the ECS service.
tagsmap<string>—Tags are AWS resource tags.
taskDefinitionArnstring—TaskDefinitionArn is a direct task definition ARN (with revision).
taskDefinitionRefobject—TaskDefinitionRef references the task definition to run.
taskDefinitionRef.arnstring—ARN is a direct AWS task definition ARN (e.g.
taskDefinitionRef.namestring—Name of an ECSTaskDefinition CR in the same namespace.

Status

FieldTypeRequiredDescription
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
lastSyncTimestring—LastSyncTime is when the resource was last successfully reconciled.
observedGenerationinteger—ObservedGeneration is the most recent .metadata.generation reconciled.
pendingCountinteger—PendingCount is the number of tasks in pending state.
runningCountinteger—RunningCount is the number of currently running task instances.
serviceArnstring—ServiceARN is the ARN of the ECS service.
statusstring—Status is the service status: ACTIVE, DRAINING, INACTIVE.

ECSTaskDefinition # GA

ECSTaskDefinition is the Schema for managing ECS Task Definitions.

kubectl get ecstaskdefinitions · example on GitHub

Example

# ECSTaskDefinition — ECS
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/ecs.html#ecstaskdefinition
apiVersion: aws.konfig.io/v1alpha1
kind: ECSTaskDefinition
metadata:
  name: example-ecstaskdefinition
  namespace: default
spec:
  containerDefinitions:
  - command:
    - example
    cpu: 1
    entryPoint:
    - example
    environment:
      key: value
    essential: false
    image: example
    logGroup: example
    memory: 1
    name: example-ecstaskdefinition
    portMappings:
    - containerPort: 443
      protocol: tcp
  cpu: example
  executionRoleArn: arn:aws:iam::123456789012:role/example-role
  executionRoleRef:
    name: example-executionrole
  family: example
  memory: example
  networkMode: awsvpc
  providerRef:
    name: example-ecstaskdefinition
    region: us-east-1
  tags:
    environment: dev
    team: platform
  taskRoleArn: arn:aws:iam::123456789012:role/example-role
  taskRoleRef:
    name: example-taskrole

Spec

FieldTypeRequiredDescription
containerDefinitionsarray<object>yesContainerDefinitions is the list of containers in the task.
containerDefinitions[].commandarray<string>—Command overrides the container CMD.
containerDefinitions[].cpuinteger—CPU units to reserve for the container.
containerDefinitions[].entryPointarray<string>—EntryPoint overrides the container ENTRYPOINT.
containerDefinitions[].environmentmap<string>—Environment variables for the container.
containerDefinitions[].essentialboolean—Essential — if true, stopping this container stops the entire task.
containerDefinitions[].imagestringyesImage is the container image URI.
containerDefinitions[].logGroupstring—LogGroup is a CloudWatch log group name to send container logs to.
containerDefinitions[].memoryinteger—Memory is the memory in MiB to reserve for the container.
containerDefinitions[].namestringyesName is the container name.
containerDefinitions[].portMappingsarray<object>—PortMappings are the ports to expose from the container.
containerDefinitions[].portMappings[].containerPortintegeryesContainerPort is the port exposed by the container.
containerDefinitions[].portMappings[].protocolenum—Protocol is the transport protocol: tcp or udp. Allowed: tcp, udp
cpustring—CPU is the number of vCPU units for the task (e.g.
executionRoleArnstring—ExecutionRoleArn is the ARN of the task execution role.
executionRoleRefobject—ExecutionRoleRef references an IAMRole CR in the same namespace.
executionRoleRef.arnstring—ARN is a direct AWS IAM role ARN.
executionRoleRef.namestring—Name of an IAMRole CR in the same namespace.
executionRoleRef.namespacestring—Namespace of the IAMRole CR.
familystringyesFamily is the task definition family name.
memorystring—Memory is the memory in MiB for the task (e.g.
networkModeenum—NetworkMode is the Docker networking mode. Allowed: awsvpc, bridge, host, none
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
tagsmap<string>—Tags are AWS resource tags.
taskRoleArnstring—TaskRoleArn is the ARN of the task role (permissions for your application code).
taskRoleRefobject—TaskRoleRef references an IAMRole CR in the same namespace.
taskRoleRef.arnstring—ARN is a direct AWS IAM role ARN.
taskRoleRef.namestring—Name of an IAMRole CR in the same namespace.
taskRoleRef.namespacestring—Namespace of the IAMRole CR.

Status

FieldTypeRequiredDescription
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
lastSyncTimestring—LastSyncTime is when the resource was last successfully reconciled.
observedGenerationinteger—ObservedGeneration is the most recent .metadata.generation reconciled.
revisioninteger—Revision is the current task definition revision number.
specHashstring—SpecHash is the hash of the spec used to detect changes.
taskDefinitionArnstring—TaskDefinitionARN is the full ARN including revision of the latest registered task definition.

ECSTaskSet # CLOUD CONTROL · AWS::ECS::TaskSet

ECSTaskSet manages AWS::ECS::TaskSet through the AWS Cloud Control API.

kubectl get ecstasksets · example on GitHub

Example

# ECSTaskSet — ECS
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/ecs.html#ecstaskset
apiVersion: aws.konfig.io/v1alpha1
kind: ECSTaskSet
metadata:
  name: example-ecstaskset
  namespace: default
spec:
  capacityProviderStrategy:
  - base: 1
    capacityProvider: example
    weight: 1
  cluster: example
  launchType: EC2
  loadBalancers:
  - containerName: example-ecstaskset
    containerPort: 443
    targetGroupArn: arn:aws:iam::123456789012:role/example-role
  networkConfiguration:
    awsVpcConfiguration:
      assignPublicIp: DISABLED
      securityGroups:
      - example
      subnets:
      - example
  platformVersion: '1.0'
  providerRef:
    name: example-ecstaskset
    region: us-east-1
  scale:
    unit: PERCENT
    value: 1
  service: example
  serviceRegistries:
  - containerName: example-ecstaskset
    containerPort: 443
    port: 443
    registryArn: arn:aws:iam::123456789012:role/example-role
  tags:
  - key: example
    value: example
  taskDefinition: example

Spec

FieldTypeRequiredDescription
capacityProviderStrategyarray<object>—Create-only in AWS: changing it requires replacing the resource.
capacityProviderStrategy[].baseinteger—
capacityProviderStrategy[].capacityProviderstring—
capacityProviderStrategy[].weightinteger—
clusterstringyesThe short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to create the task set in.
externalIdstring—An optional non-unique tag that identifies this task set in external systems.
launchTypeenum—The launch type that new tasks in the task set will use. Allowed: EC2, FARGATE
loadBalancersarray<object>—Create-only in AWS: changing it requires replacing the resource.
loadBalancers[].containerNamestring—The name of the container (as it appears in a container definition) to associate with the load balancer.
loadBalancers[].containerPortinteger—The port on the container to associate with the load balancer.
loadBalancers[].targetGroupArnstring—The full Amazon Resource Name (ARN) of the Elastic Load Balancing target group or groups associated with a service or task set.
networkConfigurationobject—Create-only in AWS: changing it requires replacing the resource.
networkConfiguration.awsVpcConfigurationobject—ECSTaskSetAwsVpcConfiguration is a nested property type of AWS::ECS::TaskSet.
networkConfiguration.awsVpcConfiguration.assignPublicIpenum—Whether the task's elastic network interface receives a public IP address. Allowed: DISABLED, ENABLED
networkConfiguration.awsVpcConfiguration.securityGroupsarray<string>—The security groups associated with the task or service.
networkConfiguration.awsVpcConfiguration.subnetsarray<string>yesThe subnets associated with the task or service.
platformVersionstring—The platform version that the tasks in the task set should use.
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
scaleobject—A floating-point percentage of the desired number of tasks to place and keep running in the task set.
scale.unitenum—The unit of measure for the scale value. Allowed: PERCENT
scale.valuenumber—The value, specified as a percent total of a service's desiredCount, to scale the task set.
servicestringyesThe short name or full Amazon Resource Name (ARN) of the service to create the task set in.
serviceRegistriesarray<object>—The details of the service discovery registries to assign to this task set.
serviceRegistries[].containerNamestring—The container name value, already specified in the task definition, to be used for your service discovery service.
serviceRegistries[].containerPortinteger—The port value, already specified in the task definition, to be used for your service discovery service.
serviceRegistries[].portinteger—The port value used if your service discovery service specified an SRV record.
serviceRegistries[].registryArnstring—The Amazon Resource Name (ARN) of the service registry.
tagsarray<object>—
tags[].keystringyes
tags[].valuestringyes
taskDefinitionstringyesThe short name or full Amazon Resource Name (ARN) of the task definition for the tasks in the task set to use.

Status

FieldTypeRequiredDescription
attemptinteger—Attempt counts failed create/delete requests; it salts the Cloud Control idempotency token so a retry is not served the cached failure.
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
idstring—The ID of the task set.
identifierstring—Identifier is the Cloud Control primary identifier of the resource.
lastSyncTimestring—
observedGenerationinteger—
operationstring—Operation is the in-flight operation (CREATE, UPDATE, DELETE).
operationStatusstring—OperationStatus is the last reported operation status.
requestTokenstring—RequestToken tracks an in-flight asynchronous operation.