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

CreateEnvironmentInput

import type { CreateEnvironmentInput } from "https://aws-api.deno.dev/v0.4/services/proton.ts?docs=full";
interface CreateEnvironmentInput {
codebuildRoleArn?: string | null;
componentRoleArn?: string | null;
description?: string | null;
environmentAccountConnectionId?: string | null;
name: string;
protonServiceRoleArn?: string | null;
provisioningRepository?: RepositoryBranchInput | null;
spec: string;
tags?: Tag[] | null;
templateMajorVersion: string;
templateMinorVersion?: string | null;
templateName: string;
}

§Properties

§
codebuildRoleArn?: string | null
[src]

The Amazon Resource Name (ARN) of the IAM service role that allows Proton to provision infrastructure using CodeBuild-based provisioning on your behalf.

To use CodeBuild-based provisioning for the environment or for any service instance running in the environment, specify either the environmentAccountConnectionId or codebuildRoleArn parameter.

§
componentRoleArn?: string | null
[src]

The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in this environment. It determines the scope of infrastructure that a component can provision.

You must specify componentRoleArn to allow directly defined components to be associated with this environment.

For more information about components, see Proton components in the Proton User Guide.

§
description?: string | null
[src]

A description of the environment that's being created and deployed.

§
environmentAccountConnectionId?: string | null
[src]

The ID of the environment account connection that you provide if you're provisioning your environment infrastructure resources to an environment account. For more information, see Environment account connections in the Proton User guide.

To use Amazon Web Services-managed provisioning for the environment, specify either the environmentAccountConnectionId or protonServiceRoleArn parameter and omit the provisioningRepository parameter.

§
name: string
[src]

The name of the environment.

§
protonServiceRoleArn?: string | null
[src]

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

To use Amazon Web Services-managed provisioning for the environment, specify either the environmentAccountConnectionId or protonServiceRoleArn parameter and omit the provisioningRepository parameter.

§
provisioningRepository?: RepositoryBranchInput | null
[src]

The linked repository that you use to host your rendered infrastructure templates for self-managed provisioning. A linked repository is a repository that has been registered with Proton. For more information, see "CreateRepository".

To use self-managed provisioning for the environment, specify this parameter and omit the environmentAccountConnectionId and protonServiceRoleArn parameters.

§
spec: string
[src]

A YAML formatted string that provides inputs as defined in the environment template bundle schema file. For more information, see Environments in the Proton User Guide.

§
tags?: Tag[] | null
[src]

An optional list of metadata items that you can associate with the Proton environment. A tag is a key-value pair.

For more information, see Proton resources and tagging in the Proton User Guide.

§
templateMajorVersion: string
[src]

The major version of the environment template.

§
templateMinorVersion?: string | null
[src]

The minor version of the environment template.

§
templateName: string
[src]

The name of the environment template. For more information, see Environment Templates in the Proton User Guide.