Learn R Programming

paws.compute (version 0.7.0)

imagebuilder_update_infrastructure_configuration: Updates a new infrastructure configuration

Description

Updates a new infrastructure configuration. An infrastructure configuration defines the environment in which your image will be built and tested.

See https://www.paws-r-sdk.com/docs/imagebuilder_update_infrastructure_configuration/ for full documentation.

Usage

imagebuilder_update_infrastructure_configuration(
  infrastructureConfigurationArn,
  description = NULL,
  instanceTypes = NULL,
  instanceProfileName,
  securityGroupIds = NULL,
  subnetId = NULL,
  logging = NULL,
  keyPair = NULL,
  terminateInstanceOnFailure = NULL,
  snsTopicArn = NULL,
  clientToken,
  resourceTags = NULL,
  instanceMetadataOptions = NULL
)

Arguments

infrastructureConfigurationArn

[required] The Amazon Resource Name (ARN) of the infrastructure configuration that you want to update.

description

The description of the infrastructure configuration.

instanceTypes

The instance types of the infrastructure configuration. You can specify one or more instance types to use for this build. The service will pick one of these instance types based on availability.

instanceProfileName

[required] The instance profile to associate with the instance used to customize your Amazon EC2 AMI.

securityGroupIds

The security group IDs to associate with the instance used to customize your Amazon EC2 AMI.

subnetId

The subnet ID to place the instance used to customize your Amazon EC2 AMI in.

logging

The logging configuration of the infrastructure configuration.

keyPair

The key pair of the infrastructure configuration. You can use this to log on to and debug the instance used to create your image.

terminateInstanceOnFailure

The terminate instance on failure setting of the infrastructure configuration. Set to false if you want Image Builder to retain the instance used to configure your AMI if the build or test phase of your workflow fails.

snsTopicArn

The Amazon Resource Name (ARN) for the SNS topic to which we send image build event notifications.

EC2 Image Builder is unable to send notifications to SNS topics that are encrypted using keys from other accounts. The key that is used to encrypt the SNS topic must reside in the account that the Image Builder service runs under.

clientToken

[required] Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.

resourceTags

The tags attached to the resource created by Image Builder.

instanceMetadataOptions

The instance metadata options that you can set for the HTTP requests that pipeline builds use to launch EC2 build and test instances. For more information about instance metadata options, see one of the following links: