awscc.ecs_clustercapacityproviderassociations

Filters

  • event

  • reduce

  • value

Actions

delete

Parent base class for filters and actions.

properties:
  type:
    enum:
    - delete
required:
- type

Permissions - ecs:PutClusterCapacityProviders, ecs:DescribeClusters

update

Parent base class for filters and actions.

definitions:
  CapacityProvider:
    anyOf:
    - enum:
      - FARGATE
      - FARGATE_SPOT
      type: string
    - maxLength: 2048
      minLength: 1
      type: string
    description: If using ec2 auto-scaling, the name of the associated capacity provider.
      Otherwise FARGATE, FARGATE_SPOT.
    type: string
  CapacityProviderStrategy:
    additionalProperties: false
    properties:
      Base:
        maximum: 100000
        minimum: 0
        type: integer
      CapacityProvider:
        anyOf:
        - enum:
          - FARGATE
          - FARGATE_SPOT
          type: string
        - maxLength: 2048
          minLength: 1
          type: string
        description: If using ec2 auto-scaling, the name of the associated capacity
          provider. Otherwise FARGATE, FARGATE_SPOT.
        type: string
      Weight:
        maximum: 1000
        minimum: 0
        type: integer
    required:
    - CapacityProvider
    type: object
  CapacityProviders:
    description: List of capacity providers to associate with the cluster
    items:
      anyOf:
      - enum:
        - FARGATE
        - FARGATE_SPOT
        type: string
      - maxLength: 2048
        minLength: 1
        type: string
      description: If using ec2 auto-scaling, the name of the associated capacity
        provider. Otherwise FARGATE, FARGATE_SPOT.
      type: string
    type: array
    uniqueItems: true
  Cluster:
    description: The name of the cluster
    maxLength: 2048
    minLength: 1
    type: string
  DefaultCapacityProviderStrategy:
    description: List of capacity providers to associate with the cluster
    items:
      additionalProperties: false
      properties:
        Base:
          maximum: 100000
          minimum: 0
          type: integer
        CapacityProvider:
          anyOf:
          - enum:
            - FARGATE
            - FARGATE_SPOT
            type: string
          - maxLength: 2048
            minLength: 1
            type: string
          description: If using ec2 auto-scaling, the name of the associated capacity
            provider. Otherwise FARGATE, FARGATE_SPOT.
          type: string
        Weight:
          maximum: 1000
          minimum: 0
          type: integer
      required:
      - CapacityProvider
      type: object
    type: array
properties:
  CapacityProviders:
    description: List of capacity providers to associate with the cluster
    items:
      anyOf:
      - enum:
        - FARGATE
        - FARGATE_SPOT
        type: string
      - maxLength: 2048
        minLength: 1
        type: string
      description: If using ec2 auto-scaling, the name of the associated capacity
        provider. Otherwise FARGATE, FARGATE_SPOT.
      type: string
    type: array
    uniqueItems: true
  DefaultCapacityProviderStrategy:
    description: List of capacity providers to associate with the cluster
    items:
      additionalProperties: false
      properties:
        Base:
          maximum: 100000
          minimum: 0
          type: integer
        CapacityProvider:
          anyOf:
          - enum:
            - FARGATE
            - FARGATE_SPOT
            type: string
          - maxLength: 2048
            minLength: 1
            type: string
          description: If using ec2 auto-scaling, the name of the associated capacity
            provider. Otherwise FARGATE, FARGATE_SPOT.
          type: string
        Weight:
          maximum: 1000
          minimum: 0
          type: integer
      required:
      - CapacityProvider
      type: object
    type: array
  type:
    enum:
    - update

Permissions - ecs:DescribeClusters, ecs:PutClusterCapacityProviders