infrastructure_configuration
Gets an individual infrastructure_configuration
resource
Overview
Name | infrastructure_configuration |
Type | Resource |
Description | infrastructure_configuration |
Id | awscc.imagebuilder.infrastructure_configuration |
Fields
Name | Datatype | Description |
---|---|---|
arn | string | The Amazon Resource Name (ARN) of the infrastructure configuration. |
name | string | The name of the infrastructure configuration. |
description | string | The description of the infrastructure configuration. |
instance_types | array | The instance types of the infrastructure configuration. |
security_group_ids | array | The security group IDs of the infrastructure configuration. |
logging | object | The logging configuration of the infrastructure configuration. |
subnet_id | string | The subnet ID of the infrastructure configuration. |
key_pair | string | The EC2 key pair of the infrastructure configuration.. |
terminate_instance_on_failure | boolean | The terminate instance on failure configuration of the infrastructure configuration. |
instance_profile_name | string | The instance profile of the infrastructure configuration. |
instance_metadata_options | object | The instance metadata option settings for the infrastructure configuration. |
sns_topic_arn | string | The SNS Topic Amazon Resource Name (ARN) of the infrastructure configuration. |
resource_tags | object | The tags attached to the resource created by Image Builder. |
tags | object | The tags associated with the component. |
region | string | AWS 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