class Aws::Proton::Types::UpdateEnvironmentInput

@note When making an API call, you may pass UpdateEnvironmentInput

data as a hash:

    {
      deployment_type: "NONE", # required, accepts NONE, CURRENT_VERSION, MINOR_VERSION, MAJOR_VERSION
      description: "Description",
      environment_account_connection_id: "EnvironmentAccountConnectionId",
      name: "ResourceName", # required
      proton_service_role_arn: "Arn",
      spec: "SpecContents",
      template_major_version: "TemplateVersionPart",
      template_minor_version: "TemplateVersionPart",
    }

@!attribute [rw] deployment_type

There are four modes for updating an environment as described in the
following. The `deploymentType` field defines the mode.

: `NONE`

  In this mode, a deployment *doesn't* occur. Only the requested
  metadata parameters are updated.

: `CURRENT_VERSION`

  In this mode, the environment is deployed and updated with the new
  spec that you provide. Only requested parameters are updated.
  *Don’t* include minor or major version parameters when you use
  this `deployment-type`.

: `MINOR_VERSION`

  In this mode, the environment is deployed and updated with the
  published, recommended (latest) minor version of the current major
  version in use, by default. You can also specify a different minor
  version of the current major version in use.

: `MAJOR_VERSION`

  In this mode, the environment is deployed and updated with the
  published, recommended (latest) major and minor version of the
  current template, by default. You can also specify a different
  major version that is higher than the major version in use and a
  minor version (optional).
@return [String]

@!attribute [rw] description

A description of the environment update.
@return [String]

@!attribute [rw] environment_account_connection_id

The ID of the environment account connection.

You can only update to a new environment account connection if it
was created in the same environment account that the current
environment account connection was created in and is associated with
the current environment.
@return [String]

@!attribute [rw] name

The name of the environment to update.
@return [String]

@!attribute [rw] proton_service_role_arn

The Amazon Resource Name (ARN) of the AWS Proton service role that
allows AWS Proton to make API calls to other services your behalf.
@return [String]

@!attribute [rw] spec

The formatted specification that defines the update.
@return [String]

@!attribute [rw] template_major_version

The ID of the major version of the environment to update.
@return [String]

@!attribute [rw] template_minor_version

The ID of the minor version of the environment to update.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateEnvironmentInput AWS API Documentation

Constants

SENSITIVE