Class: Aws::Proton::Types::UpdateComponentInput

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

Overview

Constant Summary collapse

SENSITIVE =
[:description, :service_spec, :template_file]

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

The client token for the updated component.

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

Returns:

  • (String)


5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
# File 'lib/aws-sdk-proton/types.rb', line 5932

class UpdateComponentInput < Struct.new(
  :client_token,
  :deployment_type,
  :description,
  :name,
  :service_instance_name,
  :service_name,
  :service_spec,
  :template_file)
  SENSITIVE = [:description, :service_spec, :template_file]
  include Aws::Structure
end

#deployment_typeString

The deployment type. It defines the mode for updating a component, as follows:

: ‘NONE`

In this mode, a deployment *doesn't* occur. Only the requested
metadata parameters are updated. You can only specify
`description` in this mode.

: ‘CURRENT_VERSION`

In this mode, the component is deployed and updated with the new
`serviceSpec`, `templateSource`, and/or `type` that you provide.
Only requested parameters are updated.

Returns:

  • (String)


5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
# File 'lib/aws-sdk-proton/types.rb', line 5932

class UpdateComponentInput < Struct.new(
  :client_token,
  :deployment_type,
  :description,
  :name,
  :service_instance_name,
  :service_name,
  :service_spec,
  :template_file)
  SENSITIVE = [:description, :service_spec, :template_file]
  include Aws::Structure
end

#descriptionString

An optional customer-provided description of the component.

Returns:

  • (String)


5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
# File 'lib/aws-sdk-proton/types.rb', line 5932

class UpdateComponentInput < Struct.new(
  :client_token,
  :deployment_type,
  :description,
  :name,
  :service_instance_name,
  :service_name,
  :service_spec,
  :template_file)
  SENSITIVE = [:description, :service_spec, :template_file]
  include Aws::Structure
end

#nameString

The name of the component to update.

Returns:

  • (String)


5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
# File 'lib/aws-sdk-proton/types.rb', line 5932

class UpdateComponentInput < Struct.new(
  :client_token,
  :deployment_type,
  :description,
  :name,
  :service_instance_name,
  :service_name,
  :service_spec,
  :template_file)
  SENSITIVE = [:description, :service_spec, :template_file]
  include Aws::Structure
end

#service_instance_nameString

The name of the service instance that you want to attach this component to. Don’t specify to keep the component’s current service instance attachment. Specify an empty string to detach the component from the service instance it’s attached to. Specify non-empty values for both ‘serviceInstanceName` and `serviceName` or for neither of them.

Returns:

  • (String)


5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
# File 'lib/aws-sdk-proton/types.rb', line 5932

class UpdateComponentInput < Struct.new(
  :client_token,
  :deployment_type,
  :description,
  :name,
  :service_instance_name,
  :service_name,
  :service_spec,
  :template_file)
  SENSITIVE = [:description, :service_spec, :template_file]
  include Aws::Structure
end

#service_nameString

The name of the service that ‘serviceInstanceName` is associated with. Don’t specify to keep the component’s current service instance attachment. Specify an empty string to detach the component from the service instance it’s attached to. Specify non-empty values for both ‘serviceInstanceName` and `serviceName` or for neither of them.

Returns:

  • (String)


5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
# File 'lib/aws-sdk-proton/types.rb', line 5932

class UpdateComponentInput < Struct.new(
  :client_token,
  :deployment_type,
  :description,
  :name,
  :service_instance_name,
  :service_name,
  :service_spec,
  :template_file)
  SENSITIVE = [:description, :service_spec, :template_file]
  include Aws::Structure
end

#service_specString

The service spec that you want the component to use to access service inputs. Set this only when the component is attached to a service instance.

Returns:

  • (String)


5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
# File 'lib/aws-sdk-proton/types.rb', line 5932

class UpdateComponentInput < Struct.new(
  :client_token,
  :deployment_type,
  :description,
  :name,
  :service_instance_name,
  :service_name,
  :service_spec,
  :template_file)
  SENSITIVE = [:description, :service_spec, :template_file]
  include Aws::Structure
end

#template_fileString

A path to the Infrastructure as Code (IaC) file describing infrastructure that a custom component provisions.

<note markdown=“1”> Components support a single IaC file, even if you use Terraform as your template language.

</note>

Returns:

  • (String)


5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
# File 'lib/aws-sdk-proton/types.rb', line 5932

class UpdateComponentInput < Struct.new(
  :client_token,
  :deployment_type,
  :description,
  :name,
  :service_instance_name,
  :service_name,
  :service_spec,
  :template_file)
  SENSITIVE = [:description, :service_spec, :template_file]
  include Aws::Structure
end