CreateEnvironmentInput
¶
Source code in docs_src/capo_proton/types/create_environment_input.py
codebuild_role_arn
instance-attribute
¶
codebuild_role_arn: NotRequired[RoleArn]
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.
component_role_arn
instance-attribute
¶
component_role_arn: NotRequired[RoleArn]
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
instance-attribute
¶
description: NotRequired[Description]
A description of the environment that's being created and deployed.
environment_account_connection_id
instance-attribute
¶
environment_account_connection_id: NotRequired[EnvironmentAccountConnectionId]
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.
proton_service_role_arn
instance-attribute
¶
proton_service_role_arn: NotRequired[Arn]
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.
provisioning_repository
instance-attribute
¶
provisioning_repository: NotRequired[RepositoryBranchInput]
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
instance-attribute
¶
spec: SpecContents
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
instance-attribute
¶
tags: NotRequired[TagList]
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.
template_major_version
instance-attribute
¶
template_major_version: TemplateVersionPart
The major version of the environment template.
template_minor_version
instance-attribute
¶
template_minor_version: NotRequired[TemplateVersionPart]
The minor version of the environment template.
template_name
instance-attribute
¶
template_name: ResourceName
The name of the environment template. For more information, see Environment Templates in the Proton User Guide.