AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the UpdateInfrastructureConfiguration operation. Updates a new infrastructure configuration. An infrastructure configuration defines the environment in which your image will be built and tested.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Imagebuilder.AmazonImagebuilderRequest
      Amazon.Imagebuilder.Model.UpdateInfrastructureConfigurationRequest

Namespace: Amazon.Imagebuilder.Model
Assembly: AWSSDK.Imagebuilder.dll
Version: 3.x.y.z

Syntax

C#
public class UpdateInfrastructureConfigurationRequest : AmazonImagebuilderRequest
         IAmazonWebServiceRequest

The UpdateInfrastructureConfigurationRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property ClientToken System.String

Gets and sets the property ClientToken.

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

Public Property Description System.String

Gets and sets the property Description.

The description of the infrastructure configuration.

Public Property InfrastructureConfigurationArn System.String

Gets and sets the property InfrastructureConfigurationArn.

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

Public Property InstanceMetadataOptions Amazon.Imagebuilder.Model.InstanceMetadataOptions

Gets and sets the property 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:

Public Property InstanceProfileName System.String

Gets and sets the property InstanceProfileName.

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

Public Property InstanceTypes System.Collections.Generic.List<System.String>

Gets and sets the property 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.

Public Property KeyPair System.String

Gets and sets the property 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.

Public Property Logging Amazon.Imagebuilder.Model.Logging

Gets and sets the property Logging.

The logging configuration of the infrastructure configuration.

Public Property Placement Amazon.Imagebuilder.Model.Placement

Gets and sets the property Placement.

The instance placement settings that define where the instances that are launched from your image will run.

Public Property ResourceTags System.Collections.Generic.Dictionary<System.String, System.String>

Gets and sets the property ResourceTags.

The tags attached to the resource created by Image Builder.

Public Property SecurityGroupIds System.Collections.Generic.List<System.String>

Gets and sets the property SecurityGroupIds.

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

Public Property SnsTopicArn System.String

Gets and sets the property 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.

Public Property SubnetId System.String

Gets and sets the property SubnetId.

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

Public Property TerminateInstanceOnFailure System.Boolean

Gets and sets the property 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.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5