awscc.ec2_ec2fleet¶

Filters¶

  • event

  • marked-for-op

  • reduce

  • tag-count

  • value

Actions¶

  • auto-tag-user

  • delete

  • mark-for-op

  • normalize-tag

  • remove-tag

  • rename-tag

  • tag

  • tag-trim

  • update

  • webhook

delete¶

Parent base class for filters and actions.

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

Permissions - ec2:DescribeFleets, ec2:DeleteFleets

update¶

Parent base class for filters and actions.

definitions:
  AcceleratorCountRequest:
    additionalProperties: false
    properties:
      Max:
        type: integer
      Min:
        type: integer
    type: object
  AcceleratorTotalMemoryMiBRequest:
    additionalProperties: false
    properties:
      Max:
        type: integer
      Min:
        type: integer
    type: object
  BaselineEbsBandwidthMbpsRequest:
    additionalProperties: false
    properties:
      Max:
        type: integer
      Min:
        type: integer
    type: object
  CapacityRebalance:
    additionalProperties: false
    properties:
      ReplacementStrategy:
        enum:
        - launch
        - launch-before-terminate
        type: string
      TerminationDelay:
        type: integer
    type: object
  CapacityReservationOptionsRequest:
    additionalProperties: false
    properties:
      UsageStrategy:
        enum:
        - use-capacity-reservations-first
        type: string
    type: object
  FleetLaunchTemplateConfigRequest:
    additionalProperties: false
    properties:
      LaunchTemplateSpecification:
        additionalProperties: false
        properties:
          LaunchTemplateId:
            type: string
          LaunchTemplateName:
            maxLength: 128
            minLength: 3
            pattern: '[a-zA-Z0-9\(\)\.\-/_]+'
            type: string
          Version:
            type: string
        type: object
      Overrides:
        items:
          additionalProperties: false
          properties:
            AvailabilityZone:
              type: string
            InstanceRequirements:
              additionalProperties: false
              properties:
                AcceleratorCount:
                  additionalProperties: false
                  properties:
                    Max:
                      type: integer
                    Min:
                      type: integer
                  type: object
                AcceleratorManufacturers:
                  items:
                    enum:
                    - nvidia
                    - amd
                    - amazon-web-services
                    - xilinx
                    type: string
                  type: array
                  uniqueItems: false
                AcceleratorNames:
                  items:
                    enum:
                    - a100
                    - v100
                    - k80
                    - t4
                    - m60
                    - radeon-pro-v520
                    - vu9p
                    - inferentia
                    - k520
                    type: string
                  type: array
                  uniqueItems: false
                AcceleratorTotalMemoryMiB:
                  additionalProperties: false
                  properties:
                    Max:
                      type: integer
                    Min:
                      type: integer
                  type: object
                AcceleratorTypes:
                  items:
                    enum:
                    - gpu
                    - fpga
                    - inference
                    type: string
                  type: array
                  uniqueItems: false
                BareMetal:
                  enum:
                  - included
                  - required
                  - excluded
                  type: string
                BaselineEbsBandwidthMbps:
                  additionalProperties: false
                  properties:
                    Max:
                      type: integer
                    Min:
                      type: integer
                  type: object
                BurstablePerformance:
                  enum:
                  - included
                  - required
                  - excluded
                  type: string
                CpuManufacturers:
                  items:
                    enum:
                    - intel
                    - amd
                    - amazon-web-services
                    type: string
                  type: array
                  uniqueItems: false
                ExcludedInstanceTypes:
                  items:
                    maxLength: 30
                    minLength: 1
                    pattern: '[a-zA-Z0-9\.\*]+'
                    type: string
                  type: array
                  uniqueItems: false
                InstanceGenerations:
                  items:
                    enum:
                    - current
                    - previous
                    type: string
                  type: array
                  uniqueItems: false
                LocalStorage:
                  enum:
                  - included
                  - required
                  - excluded
                  type: string
                LocalStorageTypes:
                  items:
                    enum:
                    - hdd
                    - ssd
                    type: string
                  type: array
                  uniqueItems: false
                MemoryGiBPerVCpu:
                  additionalProperties: false
                  properties:
                    Max:
                      type: number
                    Min:
                      type: number
                  type: object
                MemoryMiB:
                  additionalProperties: false
                  properties:
                    Max:
                      type: integer
                    Min:
                      type: integer
                  type: object
                NetworkInterfaceCount:
                  additionalProperties: false
                  properties:
                    Max:
                      type: integer
                    Min:
                      type: integer
                  type: object
                OnDemandMaxPricePercentageOverLowestPrice:
                  type: integer
                RequireHibernateSupport:
                  type: boolean
                SpotMaxPricePercentageOverLowestPrice:
                  type: integer
                TotalLocalStorageGB:
                  additionalProperties: false
                  properties:
                    Max:
                      type: number
                    Min:
                      type: number
                  type: object
                VCpuCount:
                  additionalProperties: false
                  properties:
                    Max:
                      type: integer
                    Min:
                      type: integer
                  type: object
              type: object
            InstanceType:
              type: string
            MaxPrice:
              type: string
            Placement:
              additionalProperties: false
              properties:
                Affinity:
                  type: string
                AvailabilityZone:
                  type: string
                GroupName:
                  type: string
                HostId:
                  type: string
                HostResourceGroupArn:
                  type: string
                PartitionNumber:
                  type: integer
                SpreadDomain:
                  type: string
                Tenancy:
                  type: string
              type: object
            Priority:
              type: number
            SubnetId:
              type: string
            WeightedCapacity:
              type: number
          type: object
        type: array
        uniqueItems: false
    type: object
  FleetLaunchTemplateOverridesRequest:
    additionalProperties: false
    properties:
      AvailabilityZone:
        type: string
      InstanceRequirements:
        additionalProperties: false
        properties:
          AcceleratorCount:
            additionalProperties: false
            properties:
              Max:
                type: integer
              Min:
                type: integer
            type: object
          AcceleratorManufacturers:
            items:
              enum:
              - nvidia
              - amd
              - amazon-web-services
              - xilinx
              type: string
            type: array
            uniqueItems: false
          AcceleratorNames:
            items:
              enum:
              - a100
              - v100
              - k80
              - t4
              - m60
              - radeon-pro-v520
              - vu9p
              - inferentia
              - k520
              type: string
            type: array
            uniqueItems: false
          AcceleratorTotalMemoryMiB:
            additionalProperties: false
            properties:
              Max:
                type: integer
              Min:
                type: integer
            type: object
          AcceleratorTypes:
            items:
              enum:
              - gpu
              - fpga
              - inference
              type: string
            type: array
            uniqueItems: false
          BareMetal:
            enum:
            - included
            - required
            - excluded
            type: string
          BaselineEbsBandwidthMbps:
            additionalProperties: false
            properties:
              Max:
                type: integer
              Min:
                type: integer
            type: object
          BurstablePerformance:
            enum:
            - included
            - required
            - excluded
            type: string
          CpuManufacturers:
            items:
              enum:
              - intel
              - amd
              - amazon-web-services
              type: string
            type: array
            uniqueItems: false
          ExcludedInstanceTypes:
            items:
              maxLength: 30
              minLength: 1
              pattern: '[a-zA-Z0-9\.\*]+'
              type: string
            type: array
            uniqueItems: false
          InstanceGenerations:
            items:
              enum:
              - current
              - previous
              type: string
            type: array
            uniqueItems: false
          LocalStorage:
            enum:
            - included
            - required
            - excluded
            type: string
          LocalStorageTypes:
            items:
              enum:
              - hdd
              - ssd
              type: string
            type: array
            uniqueItems: false
          MemoryGiBPerVCpu:
            additionalProperties: false
            properties:
              Max:
                type: number
              Min:
                type: number
            type: object
          MemoryMiB:
            additionalProperties: false
            properties:
              Max:
                type: integer
              Min:
                type: integer
            type: object
          NetworkInterfaceCount:
            additionalProperties: false
            properties:
              Max:
                type: integer
              Min:
                type: integer
            type: object
          OnDemandMaxPricePercentageOverLowestPrice:
            type: integer
          RequireHibernateSupport:
            type: boolean
          SpotMaxPricePercentageOverLowestPrice:
            type: integer
          TotalLocalStorageGB:
            additionalProperties: false
            properties:
              Max:
                type: number
              Min:
                type: number
            type: object
          VCpuCount:
            additionalProperties: false
            properties:
              Max:
                type: integer
              Min:
                type: integer
            type: object
        type: object
      InstanceType:
        type: string
      MaxPrice:
        type: string
      Placement:
        additionalProperties: false
        properties:
          Affinity:
            type: string
          AvailabilityZone:
            type: string
          GroupName:
            type: string
          HostId:
            type: string
          HostResourceGroupArn:
            type: string
          PartitionNumber:
            type: integer
          SpreadDomain:
            type: string
          Tenancy:
            type: string
        type: object
      Priority:
        type: number
      SubnetId:
        type: string
      WeightedCapacity:
        type: number
    type: object
  FleetLaunchTemplateSpecificationRequest:
    additionalProperties: false
    properties:
      LaunchTemplateId:
        type: string
      LaunchTemplateName:
        maxLength: 128
        minLength: 3
        pattern: '[a-zA-Z0-9\(\)\.\-/_]+'
        type: string
      Version:
        type: string
    type: object
  InstanceRequirementsRequest:
    additionalProperties: false
    properties:
      AcceleratorCount:
        additionalProperties: false
        properties:
          Max:
            type: integer
          Min:
            type: integer
        type: object
      AcceleratorManufacturers:
        items:
          enum:
          - nvidia
          - amd
          - amazon-web-services
          - xilinx
          type: string
        type: array
        uniqueItems: false
      AcceleratorNames:
        items:
          enum:
          - a100
          - v100
          - k80
          - t4
          - m60
          - radeon-pro-v520
          - vu9p
          - inferentia
          - k520
          type: string
        type: array
        uniqueItems: false
      AcceleratorTotalMemoryMiB:
        additionalProperties: false
        properties:
          Max:
            type: integer
          Min:
            type: integer
        type: object
      AcceleratorTypes:
        items:
          enum:
          - gpu
          - fpga
          - inference
          type: string
        type: array
        uniqueItems: false
      BareMetal:
        enum:
        - included
        - required
        - excluded
        type: string
      BaselineEbsBandwidthMbps:
        additionalProperties: false
        properties:
          Max:
            type: integer
          Min:
            type: integer
        type: object
      BurstablePerformance:
        enum:
        - included
        - required
        - excluded
        type: string
      CpuManufacturers:
        items:
          enum:
          - intel
          - amd
          - amazon-web-services
          type: string
        type: array
        uniqueItems: false
      ExcludedInstanceTypes:
        items:
          maxLength: 30
          minLength: 1
          pattern: '[a-zA-Z0-9\.\*]+'
          type: string
        type: array
        uniqueItems: false
      InstanceGenerations:
        items:
          enum:
          - current
          - previous
          type: string
        type: array
        uniqueItems: false
      LocalStorage:
        enum:
        - included
        - required
        - excluded
        type: string
      LocalStorageTypes:
        items:
          enum:
          - hdd
          - ssd
          type: string
        type: array
        uniqueItems: false
      MemoryGiBPerVCpu:
        additionalProperties: false
        properties:
          Max:
            type: number
          Min:
            type: number
        type: object
      MemoryMiB:
        additionalProperties: false
        properties:
          Max:
            type: integer
          Min:
            type: integer
        type: object
      NetworkInterfaceCount:
        additionalProperties: false
        properties:
          Max:
            type: integer
          Min:
            type: integer
        type: object
      OnDemandMaxPricePercentageOverLowestPrice:
        type: integer
      RequireHibernateSupport:
        type: boolean
      SpotMaxPricePercentageOverLowestPrice:
        type: integer
      TotalLocalStorageGB:
        additionalProperties: false
        properties:
          Max:
            type: number
          Min:
            type: number
        type: object
      VCpuCount:
        additionalProperties: false
        properties:
          Max:
            type: integer
          Min:
            type: integer
        type: object
    type: object
  MaintenanceStrategies:
    additionalProperties: false
    properties:
      CapacityRebalance:
        additionalProperties: false
        properties:
          ReplacementStrategy:
            enum:
            - launch
            - launch-before-terminate
            type: string
          TerminationDelay:
            type: integer
        type: object
    type: object
  MemoryGiBPerVCpuRequest:
    additionalProperties: false
    properties:
      Max:
        type: number
      Min:
        type: number
    type: object
  MemoryMiBRequest:
    additionalProperties: false
    properties:
      Max:
        type: integer
      Min:
        type: integer
    type: object
  NetworkInterfaceCountRequest:
    additionalProperties: false
    properties:
      Max:
        type: integer
      Min:
        type: integer
    type: object
  OnDemandOptionsRequest:
    additionalProperties: false
    properties:
      AllocationStrategy:
        type: string
      CapacityReservationOptions:
        additionalProperties: false
        properties:
          UsageStrategy:
            enum:
            - use-capacity-reservations-first
            type: string
        type: object
      MaxTotalPrice:
        type: string
      MinTargetCapacity:
        type: integer
      SingleAvailabilityZone:
        type: boolean
      SingleInstanceType:
        type: boolean
    type: object
  Placement:
    additionalProperties: false
    properties:
      Affinity:
        type: string
      AvailabilityZone:
        type: string
      GroupName:
        type: string
      HostId:
        type: string
      HostResourceGroupArn:
        type: string
      PartitionNumber:
        type: integer
      SpreadDomain:
        type: string
      Tenancy:
        type: string
    type: object
  SpotOptionsRequest:
    additionalProperties: false
    properties:
      AllocationStrategy:
        enum:
        - lowestPrice
        - diversified
        - capacityOptimized
        - capacityOptimizedPrioritized
        type: string
      InstanceInterruptionBehavior:
        enum:
        - hibernate
        - stop
        - terminate
        type: string
      InstancePoolsToUseCount:
        type: integer
      MaintenanceStrategies:
        additionalProperties: false
        properties:
          CapacityRebalance:
            additionalProperties: false
            properties:
              ReplacementStrategy:
                enum:
                - launch
                - launch-before-terminate
                type: string
              TerminationDelay:
                type: integer
            type: object
        type: object
      MaxTotalPrice:
        type: string
      MinTargetCapacity:
        type: integer
      SingleAvailabilityZone:
        type: boolean
      SingleInstanceType:
        type: boolean
    type: object
  Tag:
    additionalProperties: false
    properties:
      Key:
        type: string
      Value:
        type: string
    required:
    - Value
    - Key
    type: object
  TagSpecification:
    additionalProperties: false
    properties:
      ResourceType:
        enum:
        - client-vpn-endpoint
        - customer-gateway
        - dedicated-host
        - dhcp-options
        - egress-only-internet-gateway
        - elastic-gpu
        - elastic-ip
        - export-image-task
        - export-instance-task
        - fleet
        - fpga-image
        - host-reservation
        - image
        - import-image-task
        - import-snapshot-task
        - instance
        - internet-gateway
        - key-pair
        - launch-template
        - local-gateway-route-table-vpc-association
        - natgateway
        - network-acl
        - network-insights-analysis
        - network-insights-path
        - network-interface
        - placement-group
        - reserved-instances
        - route-table
        - security-group
        - snapshot
        - spot-fleet-request
        - spot-instances-request
        - subnet
        - traffic-mirror-filter
        - traffic-mirror-session
        - traffic-mirror-target
        - transit-gateway
        - transit-gateway-attachment
        - transit-gateway-connect-peer
        - transit-gateway-multicast-domain
        - transit-gateway-route-table
        - volume
        - vpc
        - vpc-flow-log
        - vpc-peering-connection
        - vpn-connection
        - vpn-gateway
        type: string
      Tags:
        items:
          additionalProperties: false
          properties:
            Key:
              type: string
            Value:
              type: string
          required:
          - Value
          - Key
          type: object
        type: array
        uniqueItems: false
    type: object
  TargetCapacitySpecificationRequest:
    additionalProperties: false
    properties:
      DefaultTargetCapacityType:
        enum:
        - on-demand
        - spot
        type: string
      OnDemandTargetCapacity:
        type: integer
      SpotTargetCapacity:
        type: integer
      TargetCapacityUnitType:
        enum:
        - vcpu
        - memory-mib
        - units
        type: string
      TotalTargetCapacity:
        type: integer
    required:
    - TotalTargetCapacity
    type: object
  TotalLocalStorageGBRequest:
    additionalProperties: false
    properties:
      Max:
        type: number
      Min:
        type: number
    type: object
  VCpuCountRangeRequest:
    additionalProperties: false
    properties:
      Max:
        type: integer
      Min:
        type: integer
    type: object
properties:
  Context:
    type: string
  ExcessCapacityTerminationPolicy:
    enum:
    - termination
    - no-termination
    type: string
  TargetCapacitySpecification:
    additionalProperties: false
    properties:
      DefaultTargetCapacityType:
        enum:
        - on-demand
        - spot
        type: string
      OnDemandTargetCapacity:
        type: integer
      SpotTargetCapacity:
        type: integer
      TargetCapacityUnitType:
        enum:
        - vcpu
        - memory-mib
        - units
        type: string
      TotalTargetCapacity:
        type: integer
    required:
    - TotalTargetCapacity
    type: object
  type:
    enum:
    - update

Permissions - ec2:ModifyFleet, ec2:DescribeFleets