1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. imagebuilder
  6. getInfrastructureConfiguration

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.85.0
published on Monday, Nov 2, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.85.0
published on Monday, Nov 2, 2026 by Pulumi

    Resource Type definition for AWS::ImageBuilder::InfrastructureConfiguration

    Using getInfrastructureConfiguration

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getInfrastructureConfiguration(args: GetInfrastructureConfigurationArgs, opts?: InvokeOptions): Promise<GetInfrastructureConfigurationResult>
    function getInfrastructureConfigurationOutput(args: GetInfrastructureConfigurationOutputArgs, opts?: InvokeOutputOptions): Output<GetInfrastructureConfigurationResult>
    def get_infrastructure_configuration(arn: Optional[str] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetInfrastructureConfigurationResult
    def get_infrastructure_configuration_output(arn: pulumi.Input[Optional[str]] = None,
                                         opts: Optional[InvokeOutputOptions] = None) -> Output[GetInfrastructureConfigurationResult]
    func LookupInfrastructureConfiguration(ctx *Context, args *LookupInfrastructureConfigurationArgs, opts ...InvokeOption) (*LookupInfrastructureConfigurationResult, error)
    func LookupInfrastructureConfigurationOutput(ctx *Context, args *LookupInfrastructureConfigurationOutputArgs, opts ...InvokeOption) LookupInfrastructureConfigurationResultOutput

    > Note: This function is named LookupInfrastructureConfiguration in the Go SDK.

    public static class GetInfrastructureConfiguration 
    {
        public static Task<GetInfrastructureConfigurationResult> InvokeAsync(GetInfrastructureConfigurationArgs args, InvokeOptions? opts = null)
        public static Output<GetInfrastructureConfigurationResult> Invoke(GetInfrastructureConfigurationInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetInfrastructureConfigurationResult> Invoke(GetInfrastructureConfigurationInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetInfrastructureConfigurationResult> getInfrastructureConfiguration(GetInfrastructureConfigurationArgs args, InvokeOptions options)
    public static Output<GetInfrastructureConfigurationResult> getInfrastructureConfiguration(GetInfrastructureConfigurationArgs args, InvokeOptions options)
    public static Output<GetInfrastructureConfigurationResult> getInfrastructureConfiguration(GetInfrastructureConfigurationArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:imagebuilder:getInfrastructureConfiguration
      arguments:
        # arguments dictionary
    data "aws-native_imagebuilder_get_infrastructure_configuration" "name" {
        # arguments
    }

    The following arguments are supported:

    Arn string
    The Amazon Resource Name (ARN) of the infrastructure configuration.
    Arn string
    The Amazon Resource Name (ARN) of the infrastructure configuration.
    arn string
    The Amazon Resource Name (ARN) of the infrastructure configuration.
    arn String
    The Amazon Resource Name (ARN) of the infrastructure configuration.
    arn string
    The Amazon Resource Name (ARN) of the infrastructure configuration.
    arn str
    The Amazon Resource Name (ARN) of the infrastructure configuration.
    arn String
    The Amazon Resource Name (ARN) of the infrastructure configuration.

    getInfrastructureConfiguration Result

    The following output properties are available:

    Arn string
    The Amazon Resource Name (ARN) of the infrastructure configuration.
    Description string
    The description of the infrastructure configuration.
    InstanceMetadataOptions Pulumi.AwsNative.ImageBuilder.Outputs.InfrastructureConfigurationInstanceMetadataOptions
    The instance metadata option settings for the infrastructure configuration.
    InstanceProfileName string
    The instance profile of the infrastructure configuration.
    InstanceTypes List<string>
    The instance types of the infrastructure configuration.
    KeyPair string
    The EC2 key pair of the infrastructure configuration..
    Logging Pulumi.AwsNative.ImageBuilder.Outputs.InfrastructureConfigurationLogging
    The logging configuration of the infrastructure configuration.
    ParentInstance Pulumi.AwsNative.ImageBuilder.Outputs.InfrastructureConfigurationParentInstance
    The Amazon EC2 Auto Scaling group that Image Builder takes the build instance from, instead of launching a new instance. This applies only to the build phase.
    Placement Pulumi.AwsNative.ImageBuilder.Outputs.InfrastructureConfigurationPlacement
    The placement option settings for the infrastructure configuration.
    ResourceTags Dictionary<string, string>
    The tags attached to the resource created by Image Builder.
    SecurityGroupIds List<string>
    The security group IDs of the infrastructure configuration.
    SnsTopicArn string
    The SNS Topic Amazon Resource Name (ARN) of the infrastructure configuration.
    SubnetId string
    The subnet ID of the infrastructure configuration.
    Tags Dictionary<string, string>
    The tags associated with the component.
    TerminateInstanceOnCompletion bool
    Specifies whether Image Builder terminates build and test instances that are still running when image creation ends without a failure. A TerminateInstance step in a workflow runs even when this is false.
    TerminateInstanceOnFailure bool
    The terminate instance on failure configuration of the infrastructure configuration.
    Arn string
    The Amazon Resource Name (ARN) of the infrastructure configuration.
    Description string
    The description of the infrastructure configuration.
    InstanceMetadataOptions InfrastructureConfigurationInstanceMetadataOptions
    The instance metadata option settings for the infrastructure configuration.
    InstanceProfileName string
    The instance profile of the infrastructure configuration.
    InstanceTypes []string
    The instance types of the infrastructure configuration.
    KeyPair string
    The EC2 key pair of the infrastructure configuration..
    Logging InfrastructureConfigurationLogging
    The logging configuration of the infrastructure configuration.
    ParentInstance InfrastructureConfigurationParentInstance
    The Amazon EC2 Auto Scaling group that Image Builder takes the build instance from, instead of launching a new instance. This applies only to the build phase.
    Placement InfrastructureConfigurationPlacement
    The placement option settings for the infrastructure configuration.
    ResourceTags map[string]string
    The tags attached to the resource created by Image Builder.
    SecurityGroupIds []string
    The security group IDs of the infrastructure configuration.
    SnsTopicArn string
    The SNS Topic Amazon Resource Name (ARN) of the infrastructure configuration.
    SubnetId string
    The subnet ID of the infrastructure configuration.
    Tags map[string]string
    The tags associated with the component.
    TerminateInstanceOnCompletion bool
    Specifies whether Image Builder terminates build and test instances that are still running when image creation ends without a failure. A TerminateInstance step in a workflow runs even when this is false.
    TerminateInstanceOnFailure bool
    The terminate instance on failure configuration of the infrastructure configuration.
    arn string
    The Amazon Resource Name (ARN) of the infrastructure configuration.
    description string
    The description of the infrastructure configuration.
    instance_metadata_options object
    The instance metadata option settings for the infrastructure configuration.
    instance_profile_name string
    The instance profile of the infrastructure configuration.
    instance_types list(string)
    The instance types of the infrastructure configuration.
    key_pair string
    The EC2 key pair of the infrastructure configuration..
    logging object
    The logging configuration of the infrastructure configuration.
    parent_instance object
    The Amazon EC2 Auto Scaling group that Image Builder takes the build instance from, instead of launching a new instance. This applies only to the build phase.
    placement object
    The placement option settings for the infrastructure configuration.
    resource_tags map(string)
    The tags attached to the resource created by Image Builder.
    security_group_ids list(string)
    The security group IDs of the infrastructure configuration.
    sns_topic_arn string
    The SNS Topic Amazon Resource Name (ARN) of the infrastructure configuration.
    subnet_id string
    The subnet ID of the infrastructure configuration.
    tags map(string)
    The tags associated with the component.
    terminate_instance_on_completion bool
    Specifies whether Image Builder terminates build and test instances that are still running when image creation ends without a failure. A TerminateInstance step in a workflow runs even when this is false.
    terminate_instance_on_failure bool
    The terminate instance on failure configuration of the infrastructure configuration.
    arn String
    The Amazon Resource Name (ARN) of the infrastructure configuration.
    description String
    The description of the infrastructure configuration.
    instanceMetadataOptions InfrastructureConfigurationInstanceMetadataOptions
    The instance metadata option settings for the infrastructure configuration.
    instanceProfileName String
    The instance profile of the infrastructure configuration.
    instanceTypes List<String>
    The instance types of the infrastructure configuration.
    keyPair String
    The EC2 key pair of the infrastructure configuration..
    logging InfrastructureConfigurationLogging
    The logging configuration of the infrastructure configuration.
    parentInstance InfrastructureConfigurationParentInstance
    The Amazon EC2 Auto Scaling group that Image Builder takes the build instance from, instead of launching a new instance. This applies only to the build phase.
    placement InfrastructureConfigurationPlacement
    The placement option settings for the infrastructure configuration.
    resourceTags Map<String,String>
    The tags attached to the resource created by Image Builder.
    securityGroupIds List<String>
    The security group IDs of the infrastructure configuration.
    snsTopicArn String
    The SNS Topic Amazon Resource Name (ARN) of the infrastructure configuration.
    subnetId String
    The subnet ID of the infrastructure configuration.
    tags Map<String,String>
    The tags associated with the component.
    terminateInstanceOnCompletion Boolean
    Specifies whether Image Builder terminates build and test instances that are still running when image creation ends without a failure. A TerminateInstance step in a workflow runs even when this is false.
    terminateInstanceOnFailure Boolean
    The terminate instance on failure configuration of the infrastructure configuration.
    arn string
    The Amazon Resource Name (ARN) of the infrastructure configuration.
    description string
    The description of the infrastructure configuration.
    instanceMetadataOptions InfrastructureConfigurationInstanceMetadataOptions
    The instance metadata option settings for the infrastructure configuration.
    instanceProfileName string
    The instance profile of the infrastructure configuration.
    instanceTypes string[]
    The instance types of the infrastructure configuration.
    keyPair string
    The EC2 key pair of the infrastructure configuration..
    logging InfrastructureConfigurationLogging
    The logging configuration of the infrastructure configuration.
    parentInstance InfrastructureConfigurationParentInstance
    The Amazon EC2 Auto Scaling group that Image Builder takes the build instance from, instead of launching a new instance. This applies only to the build phase.
    placement InfrastructureConfigurationPlacement
    The placement option settings for the infrastructure configuration.
    resourceTags {[key: string]: string}
    The tags attached to the resource created by Image Builder.
    securityGroupIds string[]
    The security group IDs of the infrastructure configuration.
    snsTopicArn string
    The SNS Topic Amazon Resource Name (ARN) of the infrastructure configuration.
    subnetId string
    The subnet ID of the infrastructure configuration.
    tags {[key: string]: string}
    The tags associated with the component.
    terminateInstanceOnCompletion boolean
    Specifies whether Image Builder terminates build and test instances that are still running when image creation ends without a failure. A TerminateInstance step in a workflow runs even when this is false.
    terminateInstanceOnFailure boolean
    The terminate instance on failure configuration of the infrastructure configuration.
    arn str
    The Amazon Resource Name (ARN) of the infrastructure configuration.
    description str
    The description of the infrastructure configuration.
    instance_metadata_options InfrastructureConfigurationInstanceMetadataOptions
    The instance metadata option settings for the infrastructure configuration.
    instance_profile_name str
    The instance profile of the infrastructure configuration.
    instance_types Sequence[str]
    The instance types of the infrastructure configuration.
    key_pair str
    The EC2 key pair of the infrastructure configuration..
    logging InfrastructureConfigurationLogging
    The logging configuration of the infrastructure configuration.
    parent_instance InfrastructureConfigurationParentInstance
    The Amazon EC2 Auto Scaling group that Image Builder takes the build instance from, instead of launching a new instance. This applies only to the build phase.
    placement InfrastructureConfigurationPlacement
    The placement option settings for the infrastructure configuration.
    resource_tags Mapping[str, str]
    The tags attached to the resource created by Image Builder.
    security_group_ids Sequence[str]
    The security group IDs of the infrastructure configuration.
    sns_topic_arn str
    The SNS Topic Amazon Resource Name (ARN) of the infrastructure configuration.
    subnet_id str
    The subnet ID of the infrastructure configuration.
    tags Mapping[str, str]
    The tags associated with the component.
    terminate_instance_on_completion bool
    Specifies whether Image Builder terminates build and test instances that are still running when image creation ends without a failure. A TerminateInstance step in a workflow runs even when this is false.
    terminate_instance_on_failure bool
    The terminate instance on failure configuration of the infrastructure configuration.
    arn String
    The Amazon Resource Name (ARN) of the infrastructure configuration.
    description String
    The description of the infrastructure configuration.
    instanceMetadataOptions Property Map
    The instance metadata option settings for the infrastructure configuration.
    instanceProfileName String
    The instance profile of the infrastructure configuration.
    instanceTypes List<String>
    The instance types of the infrastructure configuration.
    keyPair String
    The EC2 key pair of the infrastructure configuration..
    logging Property Map
    The logging configuration of the infrastructure configuration.
    parentInstance Property Map
    The Amazon EC2 Auto Scaling group that Image Builder takes the build instance from, instead of launching a new instance. This applies only to the build phase.
    placement Property Map
    The placement option settings for the infrastructure configuration.
    resourceTags Map<String>
    The tags attached to the resource created by Image Builder.
    securityGroupIds List<String>
    The security group IDs of the infrastructure configuration.
    snsTopicArn String
    The SNS Topic Amazon Resource Name (ARN) of the infrastructure configuration.
    subnetId String
    The subnet ID of the infrastructure configuration.
    tags Map<String>
    The tags associated with the component.
    terminateInstanceOnCompletion Boolean
    Specifies whether Image Builder terminates build and test instances that are still running when image creation ends without a failure. A TerminateInstance step in a workflow runs even when this is false.
    terminateInstanceOnFailure Boolean
    The terminate instance on failure configuration of the infrastructure configuration.

    Supporting Types

    InfrastructureConfigurationAutoScalingGroup

    Name string
    The name of the Auto Scaling group, in the same account and AWS Region as the infrastructure configuration.
    CapacityWaitTimeoutSeconds int
    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.
    Name string
    The name of the Auto Scaling group, in the same account and AWS Region as the infrastructure configuration.
    CapacityWaitTimeoutSeconds int
    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.
    name string
    The name of the Auto Scaling group, in the same account and AWS Region as the infrastructure configuration.
    capacity_wait_timeout_seconds number
    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.
    name String
    The name of the Auto Scaling group, in the same account and AWS Region as the infrastructure configuration.
    capacityWaitTimeoutSeconds Integer
    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.
    name string
    The name of the Auto Scaling group, in the same account and AWS Region as the infrastructure configuration.
    capacityWaitTimeoutSeconds number
    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.
    name str
    The name of the Auto Scaling group, in the same account and AWS Region as the infrastructure configuration.
    capacity_wait_timeout_seconds int
    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.
    name String
    The name of the Auto Scaling group, in the same account and AWS Region as the infrastructure configuration.
    capacityWaitTimeoutSeconds Number
    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.

    InfrastructureConfigurationInstanceMetadataOptions

    HttpPutResponseHopLimit int
    Limit the number of hops that an instance metadata request can traverse to reach its destination.
    HttpTokens Pulumi.AwsNative.ImageBuilder.InfrastructureConfigurationInstanceMetadataOptionsHttpTokens
    Indicates whether a signed token header is required for instance metadata retrieval requests. The values affect the response as follows:
    HttpPutResponseHopLimit int
    Limit the number of hops that an instance metadata request can traverse to reach its destination.
    HttpTokens InfrastructureConfigurationInstanceMetadataOptionsHttpTokens
    Indicates whether a signed token header is required for instance metadata retrieval requests. The values affect the response as follows:
    http_put_response_hop_limit number
    Limit the number of hops that an instance metadata request can traverse to reach its destination.
    http_tokens "required" | "optional"
    Indicates whether a signed token header is required for instance metadata retrieval requests. The values affect the response as follows:
    httpPutResponseHopLimit Integer
    Limit the number of hops that an instance metadata request can traverse to reach its destination.
    httpTokens InfrastructureConfigurationInstanceMetadataOptionsHttpTokens
    Indicates whether a signed token header is required for instance metadata retrieval requests. The values affect the response as follows:
    httpPutResponseHopLimit number
    Limit the number of hops that an instance metadata request can traverse to reach its destination.
    httpTokens InfrastructureConfigurationInstanceMetadataOptionsHttpTokens
    Indicates whether a signed token header is required for instance metadata retrieval requests. The values affect the response as follows:
    http_put_response_hop_limit int
    Limit the number of hops that an instance metadata request can traverse to reach its destination.
    http_tokens InfrastructureConfigurationInstanceMetadataOptionsHttpTokens
    Indicates whether a signed token header is required for instance metadata retrieval requests. The values affect the response as follows:
    httpPutResponseHopLimit Number
    Limit the number of hops that an instance metadata request can traverse to reach its destination.
    httpTokens "required" | "optional"
    Indicates whether a signed token header is required for instance metadata retrieval requests. The values affect the response as follows:

    InfrastructureConfigurationInstanceMetadataOptionsHttpTokens

    Required
    required
    Optional
    optional
    InfrastructureConfigurationInstanceMetadataOptionsHttpTokensRequired
    required
    InfrastructureConfigurationInstanceMetadataOptionsHttpTokensOptional
    optional
    "required"
    required
    "optional"
    optional
    Required
    required
    Optional
    optional
    Required
    required
    Optional
    optional
    REQUIRED
    required
    OPTIONAL
    optional
    "required"
    required
    "optional"
    optional

    InfrastructureConfigurationLogging

    S3Logs InfrastructureConfigurationS3Logs
    The Amazon S3 logging configuration.
    s3_logs object
    The Amazon S3 logging configuration.
    s3Logs InfrastructureConfigurationS3Logs
    The Amazon S3 logging configuration.
    s3Logs InfrastructureConfigurationS3Logs
    The Amazon S3 logging configuration.
    s3_logs InfrastructureConfigurationS3Logs
    The Amazon S3 logging configuration.
    s3Logs Property Map
    The Amazon S3 logging configuration.

    InfrastructureConfigurationParentInstance

    AutoScalingGroup Pulumi.AwsNative.ImageBuilder.Inputs.InfrastructureConfigurationAutoScalingGroup
    The Amazon EC2 Auto Scaling group that Image Builder takes the build instance from.
    AutoScalingGroup InfrastructureConfigurationAutoScalingGroup
    The Amazon EC2 Auto Scaling group that Image Builder takes the build instance from.
    auto_scaling_group object
    The Amazon EC2 Auto Scaling group that Image Builder takes the build instance from.
    autoScalingGroup InfrastructureConfigurationAutoScalingGroup
    The Amazon EC2 Auto Scaling group that Image Builder takes the build instance from.
    autoScalingGroup InfrastructureConfigurationAutoScalingGroup
    The Amazon EC2 Auto Scaling group that Image Builder takes the build instance from.
    auto_scaling_group InfrastructureConfigurationAutoScalingGroup
    The Amazon EC2 Auto Scaling group that Image Builder takes the build instance from.
    autoScalingGroup Property Map
    The Amazon EC2 Auto Scaling group that Image Builder takes the build instance from.

    InfrastructureConfigurationPlacement

    AvailabilityZone string
    AvailabilityZone
    HostId string
    HostId
    HostResourceGroupArn string
    HostResourceGroupArn
    Tenancy InfrastructureConfigurationPlacementTenancy
    Tenancy
    availability_zone string
    AvailabilityZone
    host_id string
    HostId
    host_resource_group_arn string
    HostResourceGroupArn
    tenancy "default" | "dedicated" | "host"
    Tenancy
    availabilityZone String
    AvailabilityZone
    hostId String
    HostId
    hostResourceGroupArn String
    HostResourceGroupArn
    tenancy InfrastructureConfigurationPlacementTenancy
    Tenancy
    availabilityZone string
    AvailabilityZone
    hostId string
    HostId
    hostResourceGroupArn string
    HostResourceGroupArn
    tenancy InfrastructureConfigurationPlacementTenancy
    Tenancy
    availabilityZone String
    AvailabilityZone
    hostId String
    HostId
    hostResourceGroupArn String
    HostResourceGroupArn
    tenancy "default" | "dedicated" | "host"
    Tenancy

    InfrastructureConfigurationPlacementTenancy

    Default
    default
    Dedicated
    dedicated
    Host
    host
    InfrastructureConfigurationPlacementTenancyDefault
    default
    InfrastructureConfigurationPlacementTenancyDedicated
    dedicated
    InfrastructureConfigurationPlacementTenancyHost
    host
    "default"
    default
    "dedicated"
    dedicated
    "host"
    host
    Default
    default
    Dedicated
    dedicated
    Host
    host
    Default
    default
    Dedicated
    dedicated
    Host
    host
    DEFAULT
    default
    DEDICATED
    dedicated
    HOST
    host
    "default"
    default
    "dedicated"
    dedicated
    "host"
    host

    InfrastructureConfigurationS3Logs

    S3BucketName string
    S3BucketName
    S3KeyPrefix string
    S3KeyPrefix
    S3BucketName string
    S3BucketName
    S3KeyPrefix string
    S3KeyPrefix
    s3_bucket_name string
    S3BucketName
    s3_key_prefix string
    S3KeyPrefix
    s3BucketName String
    S3BucketName
    s3KeyPrefix String
    S3KeyPrefix
    s3BucketName string
    S3BucketName
    s3KeyPrefix string
    S3KeyPrefix
    s3_bucket_name str
    S3BucketName
    s3_key_prefix str
    S3KeyPrefix
    s3BucketName String
    S3BucketName
    s3KeyPrefix String
    S3KeyPrefix

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo AWS Cloud Control

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.85.0
    published on Monday, Nov 2, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial