imagebuilder_create_infrastructure_configuration: Creates a new infrastructure configuration

View source: R/imagebuilder_operations.R

imagebuilder_create_infrastructure_configurationR Documentation

Creates a new infrastructure configuration

Description

Creates 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_create_infrastructure_configuration/ for full documentation.

Usage

imagebuilder_create_infrastructure_configuration(
  name,
  description = NULL,
  instanceTypes = NULL,
  instanceProfileName,
  securityGroupIds = NULL,
  subnetId = NULL,
  logging = NULL,
  keyPair = NULL,
  terminateInstanceOnFailure = NULL,
  snsTopicArn = NULL,
  resourceTags = NULL,
  instanceMetadataOptions = NULL,
  tags = NULL,
  clientToken
)

Arguments

name

[required] The name of the infrastructure configuration.

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 in which to place the instance used to customize your Amazon EC2 AMI.

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.

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.

tags

The tags of the infrastructure configuration.

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.


paws.compute documentation built on Sept. 12, 2024, 6:12 a.m.