You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Imagebuilder::Types::UpdateInfrastructureConfigurationRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing UpdateInfrastructureConfigurationRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  infrastructure_configuration_arn: "InfrastructureConfigurationArn", # required
  description: "NonEmptyString",
  instance_types: ["InstanceType"],
  instance_profile_name: "NonEmptyString", # required
  security_group_ids: ["NonEmptyString"],
  subnet_id: "NonEmptyString",
  logging: {
    s3_logs: {
      s3_bucket_name: "NonEmptyString",
      s3_key_prefix: "NonEmptyString",
    },
  },
  key_pair: "NonEmptyString",
  terminate_instance_on_failure: false,
  sns_topic_arn: "SnsTopicArn",
  client_token: "ClientToken", # required
  resource_tags: {
    "TagKey" => "TagValue",
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

The idempotency token used to make this request idempotent.

Returns:

  • (String)

    The idempotency token used to make this request idempotent.

#descriptionString

The description of the infrastructure configuration.

Returns:

  • (String)

    The description of the infrastructure configuration.

#infrastructure_configuration_arnString

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

Returns:

  • (String)

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

#instance_profile_nameString

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

Returns:

  • (String)

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

#instance_typesArray<String>

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.

Returns:

  • (Array<String>)

    The instance types of the infrastructure configuration.

#key_pairString

The key pair of the infrastructure configuration. This can be used to log on to and debug the instance used to create your image.

Returns:

  • (String)

    The key pair of the infrastructure configuration.

#loggingTypes::Logging

The logging configuration of the infrastructure configuration.

Returns:

  • (Types::Logging)

    The logging configuration of the infrastructure configuration.

#resource_tagsHash<String,String>

The tags attached to the resource created by Image Builder.

Returns:

  • (Hash<String,String>)

    The tags attached to the resource created by Image Builder.

#security_group_idsArray<String>

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

Returns:

  • (Array<String>)

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

#sns_topic_arnString

The SNS topic on which to send image build events.

Returns:

  • (String)

    The SNS topic on which to send image build events.

#subnet_idString

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

Returns:

  • (String)

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

#terminate_instance_on_failureBoolean

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.

Returns:

  • (Boolean)

    The terminate instance on failure setting of the infrastructure configuration.