Amazon EC2 Image Builder Get Infrastructure Configuration API

The GetInfrastructureConfiguration API from Amazon EC2 Image Builder — 1 operation(s) for getinfrastructureconfiguration.

GitHub OpenAPI
Business capability
IT Infrastructure Management BC-600.50

Operations 1

GET /GetInfrastructureConfiguration Get Infrastructure Configuration #

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-ec2-image-builder:amazon-ec2-image-builder-getinfrastructureconfiguration-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-ec2-image-builder-getinfrastructureconfiguration-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: EC2 Image Builder Getinfrastructureconfiguration API
  version: '2019-12-02'
  description: Generated from AWS's published Smithy model for EC2 Image Builder. 1 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://imagebuilder.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /GetInfrastructureConfiguration:
    get:
      operationId: GetInfrastructureConfiguration
      summary: Get Infrastructure Configuration
      description: Retrieves an infrastructure configuration.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetInfrastructureConfigurationResponse'
              example:
                requestId: 7ba25cd0-0735-4f44-bc67-2f231e96503f
                infrastructureConfiguration:
                  arn: arn:aws:imagebuilder:us-west-2:111122223333:infrastructure-configuration/my-example-infrastructure-configuration
                  name: my-example-infrastructure-configuration
                  description: Infrastructure configuration for my application image builds
                  instanceTypes:
                  - m5.large
                  - m5.xlarge
                  instanceProfileName: EC2InstanceProfileForImageBuilder
                  terminateInstanceOnFailure: true
                  dateCreated: '2026-09-09T19:36:48.933Z'
                  resourceTags:
                    CostCenter: '12345'
                  instanceMetadataOptions:
                    httpTokens: required
                    httpPutResponseHopLimit: 2
                  tags:
                    Environment: test
        '429':
          description: CallRateLimitExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CallRateLimitExceededException'
        '400':
          description: ClientException; InvalidRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientException'
        '403':
          description: ForbiddenException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ForbiddenException'
        '500':
          description: ServiceException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceException'
        '503':
          description: ServiceUnavailableException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceUnavailableException'
      parameters:
      - name: infrastructureConfigurationArn
        in: query
        required: true
        schema:
          type: string
        description: The Amazon Resource Name (ARN) of the infrastructure configuration that you want to retrieve.
      tags:
      - Getinfrastructureconfiguration
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
        request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: imagebuilder
  schemas:
    AutoScalingGroupConfiguration:
      type: object
      properties:
        name:
          type: string
          description: The name of the Auto Scaling group, in the same account and Amazon Web Services Region as the infrastructure
            configuration. To specify a group, you must have permissions to describe it.
        capacityWaitTimeoutSeconds:
          type: integer
          description: The number of seconds that Image Builder waits for an instance to become available in the group before
            the build fails. If you set this value to 0 or omit it, the build fails as soon as the group has no instance available.
      required:
      - name
    CallRateLimitExceededException:
      type: object
      properties:
        message:
          type: string
    ClientException:
      type: object
      properties:
        message:
          type: string
    ForbiddenException:
      type: object
      properties:
        message:
          type: string
    GetInfrastructureConfigurationResponse:
      type: object
      properties:
        requestId:
          type: string
          description: The request ID that uniquely identifies this request.
        infrastructureConfiguration:
          $ref: '#/components/schemas/InfrastructureConfiguration'
    InfrastructureConfiguration:
      type: object
      properties:
        arn:
          type: string
          description: The Amazon Resource Name (ARN) of the infrastructure configuration.
        name:
          type: string
          description: The name of the infrastructure configuration.
        description:
          type: string
          description: The description of the infrastructure configuration.
        instanceTypes:
          type: array
          items:
            type: string
          description: The instance types of the infrastructure configuration.
        instanceProfileName:
          type: string
          description: The instance profile of the infrastructure configuration.
        securityGroupIds:
          type: array
          items:
            type: string
          description: The security group IDs of the infrastructure configuration.
        subnetId:
          type: string
          description: The subnet ID of the infrastructure configuration.
        logging:
          $ref: '#/components/schemas/Logging'
        keyPair:
          type: string
          description: The Amazon EC2 key pair of the infrastructure configuration.
        terminateInstanceOnFailure:
          type: boolean
          description: Indicates whether Image Builder terminates the build and test instances when the image build fails.
            When false, Image Builder retains the instance so that you can debug it.
        snsTopicArn:
          type: string
          description: The Amazon Resource Name (ARN) of the SNS topic to which Image Builder sends image build event notifications.
            Specify a standard topic. Image Builder doesn't support FIFO topics. EC2 Image Builder can't send notifications
            to SNS topics that are encrypted using keys from other accounts. If your SNS topic is encrypted, the key must
            be owned by the same account that owns your Image Builder resources.
        dateCreated:
          type: string
          description: The date on which the infrastructure configuration was created.
        dateUpdated:
          type: string
          description: The date on which the infrastructure configuration was last updated.
        resourceTags:
          type: object
          additionalProperties:
            type: string
          description: The metadata tags assigned to the Amazon EC2 build and test instances that Image Builder launches during
            image creation.
        instanceMetadataOptions:
          $ref: '#/components/schemas/InstanceMetadataOptions'
        tags:
          type: object
          additionalProperties:
            type: string
          description: The tags of the infrastructure configuration.
        placement:
          $ref: '#/components/schemas/Placement'
        terminateInstanceOnCompletion:
          type: boolean
          description: Specifies whether Image Builder terminates build and test instances when image creation ends without
            a failure.
        parentInstance:
          $ref: '#/components/schemas/ParentInstanceConfiguration'
    InstanceMetadataOptions:
      type: object
      properties:
        httpTokens:
          type: string
          description: 'Indicates whether a signed token header is required for instance metadata retrieval requests. The
            values affect the response as follows: required – When you retrieve the IAM role credentials, version 2.0 credentials
            are returned in all cases. optional – You can include a signed token header in your request to retrieve instance
            metadata, or you can leave it out. If you include it, version 2.0 credentials are returned for the IAM role. Otherwise,
            version 1.0 credentials are returned. If you don''t set a value, the EC2 launch default applies to the build and
            test instances. That default depends on'
        httpPutResponseHopLimit:
          type: integer
          description: Limit the number of hops that an instance metadata request can traverse to reach its destination. If
            you don't set a value, the EC2 launch default for the instance applies. If HTTP tokens are required, container
            image builds need a minimum of two hops.
    Logging:
      type: object
      properties:
        s3Logs:
          $ref: '#/components/schemas/S3Logs'
    ParentInstanceConfiguration:
      type: object
      properties:
        autoScalingGroup:
          $ref: '#/components/schemas/AutoScalingGroupConfiguration'
      required:
      - autoScalingGroup
    Placement:
      type: object
      properties:
        availabilityZone:
          type: string
          description: The Availability Zone where your build and test instances will launch.
        tenancy:
          type: string
          enum:
          - default
          - dedicated
          - host
          description: The tenancy of the instance. An instance with a tenancy of dedicated runs on single-tenant hardware.
            An instance with a tenancy of host runs on a Dedicated Host. If tenancy is set to host, then you can optionally
            specify one target for placement – either host ID or host resource group ARN. If automatic placement is enabled
            for your host, and you don't specify any placement target, Amazon EC2 will try to find an available host for your
            build and test instances.
        hostId:
          type: string
          description: The ID of the Dedicated Host on which build and test instances run. This only applies if tenancy is
            host.
        hostResourceGroupArn:
          type: string
          description: The Amazon Resource Name (ARN) of the host resource group in which to launch build and test instances.
            This only applies if tenancy is host.
    S3Logs:
      type: object
      properties:
        s3BucketName:
          type: string
          description: The name of an existing Amazon S3 bucket where Image Builder saves build logs. The bucket isn't validated
            when you create or update the configuration, and Image Builder doesn't create it. The instance profile associated
            with this infrastructure configuration must have permission to write to the bucket.
        s3KeyPrefix:
          type: string
          description: The Amazon S3 key prefix under which Image Builder writes build and test logs in the bucket.
    ServiceException:
      type: object
      properties:
        message:
          type: string
    ServiceUnavailableException:
      type: object
      properties:
        message:
          type: string
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/imagebuilder/service/2019-12-02/imagebuilder-2019-12-02.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)