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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-imagebuilder/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

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

**A suitable default value is auto-generated.** You should normally not need to pass this option.

[1]: docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html

Returns:

  • (String)


7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
# File 'lib/aws-sdk-imagebuilder/types.rb', line 7901

class UpdateInfrastructureConfigurationRequest < Struct.new(
  :infrastructure_configuration_arn,
  :description,
  :instance_types,
  :instance_profile_name,
  :security_group_ids,
  :subnet_id,
  :logging,
  :key_pair,
  :terminate_instance_on_failure,
  :sns_topic_arn,
  :resource_tags,
  :instance_metadata_options,
  :placement,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

The description of the infrastructure configuration.

Returns:

  • (String)


7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
# File 'lib/aws-sdk-imagebuilder/types.rb', line 7901

class UpdateInfrastructureConfigurationRequest < Struct.new(
  :infrastructure_configuration_arn,
  :description,
  :instance_types,
  :instance_profile_name,
  :security_group_ids,
  :subnet_id,
  :logging,
  :key_pair,
  :terminate_instance_on_failure,
  :sns_topic_arn,
  :resource_tags,
  :instance_metadata_options,
  :placement,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#infrastructure_configuration_arnString

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

Returns:

  • (String)


7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
# File 'lib/aws-sdk-imagebuilder/types.rb', line 7901

class UpdateInfrastructureConfigurationRequest < Struct.new(
  :infrastructure_configuration_arn,
  :description,
  :instance_types,
  :instance_profile_name,
  :security_group_ids,
  :subnet_id,
  :logging,
  :key_pair,
  :terminate_instance_on_failure,
  :sns_topic_arn,
  :resource_tags,
  :instance_metadata_options,
  :placement,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#instance_metadata_optionsTypes::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:

  • Configure the instance metadata options][1

    in the <i> <i>Amazon

    EC2 User Guide</i> </i> for Linux instances.

  • Configure the instance metadata options][2

    in the <i> <i>Amazon

    EC2 Windows Guide</i> </i> for Windows instances.

[1]: docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html [2]: docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/configuring-instance-metadata-options.html



7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
# File 'lib/aws-sdk-imagebuilder/types.rb', line 7901

class UpdateInfrastructureConfigurationRequest < Struct.new(
  :infrastructure_configuration_arn,
  :description,
  :instance_types,
  :instance_profile_name,
  :security_group_ids,
  :subnet_id,
  :logging,
  :key_pair,
  :terminate_instance_on_failure,
  :sns_topic_arn,
  :resource_tags,
  :instance_metadata_options,
  :placement,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#instance_profile_nameString

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

Returns:

  • (String)


7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
# File 'lib/aws-sdk-imagebuilder/types.rb', line 7901

class UpdateInfrastructureConfigurationRequest < Struct.new(
  :infrastructure_configuration_arn,
  :description,
  :instance_types,
  :instance_profile_name,
  :security_group_ids,
  :subnet_id,
  :logging,
  :key_pair,
  :terminate_instance_on_failure,
  :sns_topic_arn,
  :resource_tags,
  :instance_metadata_options,
  :placement,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#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>)


7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
# File 'lib/aws-sdk-imagebuilder/types.rb', line 7901

class UpdateInfrastructureConfigurationRequest < Struct.new(
  :infrastructure_configuration_arn,
  :description,
  :instance_types,
  :instance_profile_name,
  :security_group_ids,
  :subnet_id,
  :logging,
  :key_pair,
  :terminate_instance_on_failure,
  :sns_topic_arn,
  :resource_tags,
  :instance_metadata_options,
  :placement,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#key_pairString

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

Returns:

  • (String)


7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
# File 'lib/aws-sdk-imagebuilder/types.rb', line 7901

class UpdateInfrastructureConfigurationRequest < Struct.new(
  :infrastructure_configuration_arn,
  :description,
  :instance_types,
  :instance_profile_name,
  :security_group_ids,
  :subnet_id,
  :logging,
  :key_pair,
  :terminate_instance_on_failure,
  :sns_topic_arn,
  :resource_tags,
  :instance_metadata_options,
  :placement,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#loggingTypes::Logging

The logging configuration of the infrastructure configuration.

Returns:



7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
# File 'lib/aws-sdk-imagebuilder/types.rb', line 7901

class UpdateInfrastructureConfigurationRequest < Struct.new(
  :infrastructure_configuration_arn,
  :description,
  :instance_types,
  :instance_profile_name,
  :security_group_ids,
  :subnet_id,
  :logging,
  :key_pair,
  :terminate_instance_on_failure,
  :sns_topic_arn,
  :resource_tags,
  :instance_metadata_options,
  :placement,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#placementTypes::Placement

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

Returns:



7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
# File 'lib/aws-sdk-imagebuilder/types.rb', line 7901

class UpdateInfrastructureConfigurationRequest < Struct.new(
  :infrastructure_configuration_arn,
  :description,
  :instance_types,
  :instance_profile_name,
  :security_group_ids,
  :subnet_id,
  :logging,
  :key_pair,
  :terminate_instance_on_failure,
  :sns_topic_arn,
  :resource_tags,
  :instance_metadata_options,
  :placement,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#resource_tagsHash<String,String>

The tags attached to the resource created by Image Builder.

Returns:

  • (Hash<String,String>)


7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
# File 'lib/aws-sdk-imagebuilder/types.rb', line 7901

class UpdateInfrastructureConfigurationRequest < Struct.new(
  :infrastructure_configuration_arn,
  :description,
  :instance_types,
  :instance_profile_name,
  :security_group_ids,
  :subnet_id,
  :logging,
  :key_pair,
  :terminate_instance_on_failure,
  :sns_topic_arn,
  :resource_tags,
  :instance_metadata_options,
  :placement,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#security_group_idsArray<String>

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

Returns:

  • (Array<String>)


7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
# File 'lib/aws-sdk-imagebuilder/types.rb', line 7901

class UpdateInfrastructureConfigurationRequest < Struct.new(
  :infrastructure_configuration_arn,
  :description,
  :instance_types,
  :instance_profile_name,
  :security_group_ids,
  :subnet_id,
  :logging,
  :key_pair,
  :terminate_instance_on_failure,
  :sns_topic_arn,
  :resource_tags,
  :instance_metadata_options,
  :placement,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#sns_topic_arnString

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

<note markdown=“1”> 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.

</note>

Returns:

  • (String)


7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
# File 'lib/aws-sdk-imagebuilder/types.rb', line 7901

class UpdateInfrastructureConfigurationRequest < Struct.new(
  :infrastructure_configuration_arn,
  :description,
  :instance_types,
  :instance_profile_name,
  :security_group_ids,
  :subnet_id,
  :logging,
  :key_pair,
  :terminate_instance_on_failure,
  :sns_topic_arn,
  :resource_tags,
  :instance_metadata_options,
  :placement,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#subnet_idString

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

Returns:

  • (String)


7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
# File 'lib/aws-sdk-imagebuilder/types.rb', line 7901

class UpdateInfrastructureConfigurationRequest < Struct.new(
  :infrastructure_configuration_arn,
  :description,
  :instance_types,
  :instance_profile_name,
  :security_group_ids,
  :subnet_id,
  :logging,
  :key_pair,
  :terminate_instance_on_failure,
  :sns_topic_arn,
  :resource_tags,
  :instance_metadata_options,
  :placement,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#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)


7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
# File 'lib/aws-sdk-imagebuilder/types.rb', line 7901

class UpdateInfrastructureConfigurationRequest < Struct.new(
  :infrastructure_configuration_arn,
  :description,
  :instance_types,
  :instance_profile_name,
  :security_group_ids,
  :subnet_id,
  :logging,
  :key_pair,
  :terminate_instance_on_failure,
  :sns_topic_arn,
  :resource_tags,
  :instance_metadata_options,
  :placement,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end