Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

UpdateEnvironmentInput

import type { UpdateEnvironmentInput } from "https://aws-api.deno.dev/v0.3/services/proton.ts?docs=full";
interface UpdateEnvironmentInput {
deploymentType: DeploymentUpdateType;
description?: string | null;
environmentAccountConnectionId?: string | null;
name: string;
protonServiceRoleArn?: string | null;
provisioningRepository?: RepositoryBranchInput | null;
spec?: string | null;
templateMajorVersion?: string | null;
templateMinorVersion?: string | null;
}

§Properties

§
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).

§
description?: string | null
[src]

A description of the environment update.

§
environmentAccountConnectionId?: string | null
[src]

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.

§
name: string
[src]

The name of the environment to update.

§
protonServiceRoleArn?: string | null
[src]

The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make API calls to other services your behalf.

§
provisioningRepository?: RepositoryBranchInput | null
[src]

The repository that you provide with pull request provisioning.

! IMPORTANT: ! Provisioning by pull request is currently in feature preview and is only usable with Terraform based Proton Templates. ! To learn more about Amazon Web Services Feature Preview terms, see section 2 on Beta and Previews.

§
spec?: string | null
[src]

The formatted specification that defines the update.

§
templateMajorVersion?: string | null
[src]

The major version of the environment to update.

§
templateMinorVersion?: string | null
[src]

The minor version of the environment to update.