Describe Capacity Providers
| ecs_describe_capacity_providers | R Documentation |
Describes one or more of your capacity providers¶
Description¶
Describes one or more of your capacity providers.
Usage¶
ecs_describe_capacity_providers(capacityProviders, cluster, include,
maxResults, nextToken)
Arguments¶
capacityProviders |
The short name or full Amazon Resource Name (ARN) of one or more
capacity providers. Up to |
cluster |
The name of the cluster to describe capacity providers for. When specified, only capacity providers associated with this cluster are returned, including Amazon ECS Managed Instances capacity providers. |
include |
Specifies whether or not you want to see the resource tags for
the capacity provider. If |
maxResults |
The maximum number of account setting results returned by
|
nextToken |
The This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes. |
Value¶
A list with the following syntax:
list(
capacityProviders = list(
list(
capacityProviderArn = "string",
name = "string",
cluster = "string",
status = "PROVISIONING"|"ACTIVE"|"DEPROVISIONING"|"INACTIVE",
autoScalingGroupProvider = list(
autoScalingGroupArn = "string",
managedScaling = list(
status = "ENABLED"|"DISABLED",
targetCapacity = 123,
minimumScalingStepSize = 123,
maximumScalingStepSize = 123,
instanceWarmupPeriod = 123
),
managedTerminationProtection = "ENABLED"|"DISABLED",
managedDraining = "ENABLED"|"DISABLED"
),
managedInstancesProvider = list(
infrastructureRoleArn = "string",
instanceLaunchTemplate = list(
ec2InstanceProfileArn = "string",
networkConfiguration = list(
subnets = list(
"string"
),
securityGroups = list(
"string"
)
),
storageConfiguration = list(
storageSizeGiB = 123
),
localStorageConfiguration = list(
useLocalStorage = TRUE|FALSE
),
monitoring = "BASIC"|"DETAILED",
capacityOptionType = "ON_DEMAND"|"SPOT"|"RESERVED",
instanceMetadataTagsPropagation = TRUE|FALSE,
instanceRequirements = list(
vCpuCount = list(
min = 123,
max = 123
),
memoryMiB = list(
min = 123,
max = 123
),
cpuManufacturers = list(
"intel"|"amd"|"amazon-web-services"
),
memoryGiBPerVCpu = list(
min = 123.0,
max = 123.0
),
excludedInstanceTypes = list(
"string"
),
instanceGenerations = list(
"current"|"previous"
),
spotMaxPricePercentageOverLowestPrice = 123,
onDemandMaxPricePercentageOverLowestPrice = 123,
bareMetal = "included"|"required"|"excluded",
burstablePerformance = "included"|"required"|"excluded",
requireHibernateSupport = TRUE|FALSE,
networkInterfaceCount = list(
min = 123,
max = 123
),
localStorage = "included"|"required"|"excluded",
localStorageTypes = list(
"hdd"|"ssd"
),
totalLocalStorageGB = list(
min = 123.0,
max = 123.0
),
baselineEbsBandwidthMbps = list(
min = 123,
max = 123
),
acceleratorTypes = list(
"gpu"|"fpga"|"inference"
),
acceleratorCount = list(
min = 123,
max = 123
),
acceleratorManufacturers = list(
"amazon-web-services"|"amd"|"nvidia"|"xilinx"|"habana"
),
acceleratorNames = list(
"a100"|"inferentia"|"k520"|"k80"|"m60"|"radeon-pro-v520"|"t4"|"vu9p"|"v100"|"a10g"|"h100"|"t4g"
),
acceleratorTotalMemoryMiB = list(
min = 123,
max = 123
),
networkBandwidthGbps = list(
min = 123.0,
max = 123.0
),
allowedInstanceTypes = list(
"string"
),
maxSpotPriceAsPercentageOfOptimalOnDemandPrice = 123
),
fipsEnabled = TRUE|FALSE,
capacityReservations = list(
reservationGroupArn = "string",
reservationPreference = "RESERVATIONS_ONLY"|"RESERVATIONS_FIRST"|"RESERVATIONS_EXCLUDED"
)
),
propagateTags = "CAPACITY_PROVIDER"|"NONE",
infrastructureOptimization = list(
scaleInAfter = 123
),
autoRepairConfiguration = list(
actionsStatus = "ENABLED"|"DISABLED"
)
),
updateStatus = "CREATE_IN_PROGRESS"|"CREATE_COMPLETE"|"CREATE_FAILED"|"DELETE_IN_PROGRESS"|"DELETE_COMPLETE"|"DELETE_FAILED"|"UPDATE_IN_PROGRESS"|"UPDATE_COMPLETE"|"UPDATE_FAILED",
updateStatusReason = "string",
tags = list(
list(
key = "string",
value = "string"
)
),
type = "EC2_AUTOSCALING"|"MANAGED_INSTANCES"|"FARGATE"|"FARGATE_SPOT"
)
),
failures = list(
list(
arn = "string",
reason = "string",
detail = "string"
)
),
nextToken = "string"
)
Request syntax¶
svc$describe_capacity_providers(
capacityProviders = list(
"string"
),
cluster = "string",
include = list(
"TAGS"
),
maxResults = 123,
nextToken = "string"
)