Skip to main content

infrastructure_configuration

Gets an individual infrastructure_configuration resource

Overview

Nameinfrastructure_configuration
TypeResource
Descriptioninfrastructure_configuration
Idawscc.imagebuilder.infrastructure_configuration

Fields

NameDatatypeDescription
arnstringThe Amazon Resource Name (ARN) of the infrastructure configuration.
namestringThe name of the infrastructure configuration.
descriptionstringThe description of the infrastructure configuration.
instance_typesarrayThe instance types of the infrastructure configuration.
security_group_idsarrayThe security group IDs of the infrastructure configuration.
loggingobjectThe logging configuration of the infrastructure configuration.
subnet_idstringThe subnet ID of the infrastructure configuration.
key_pairstringThe EC2 key pair of the infrastructure configuration..
terminate_instance_on_failurebooleanThe terminate instance on failure configuration of the infrastructure configuration.
instance_profile_namestringThe instance profile of the infrastructure configuration.
instance_metadata_optionsobjectThe instance metadata option settings for the infrastructure configuration.
sns_topic_arnstringThe SNS Topic Amazon Resource Name (ARN) of the infrastructure configuration.
resource_tagsobjectThe tags attached to the resource created by Image Builder.
tagsobjectThe tags associated with the component.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
arn,
name,
description,
instance_types,
security_group_ids,
logging,
subnet_id,
key_pair,
terminate_instance_on_failure,
instance_profile_name,
instance_metadata_options,
sns_topic_arn,
resource_tags,
tags
FROM awscc.imagebuilder.infrastructure_configuration
WHERE data__Identifier = '<Arn>';

Permissions

To operate on the infrastructure_configuration resource, the following permissions are required:

Update

iam:PassRole,
sns:Publish,
imagebuilder:GetInfrastructureConfiguration,
imagebuilder:UpdateInfrastructureConfiguration

Read

imagebuilder:GetInfrastructureConfiguration

Delete

imagebuilder:UnTagResource,
imagebuilder:GetInfrastructureConfiguration,
imagebuilder:DeleteInfrastructureConfiguration