public static interface CreateEnvironmentRequest.Builder extends ProtonRequest.Builder, SdkPojo, CopyableBuilder<CreateEnvironmentRequest.Builder,CreateEnvironmentRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateEnvironmentRequest.Builder |
codebuildRoleArn(String codebuildRoleArn)
The Amazon Resource Name (ARN) of the IAM service role that allows Proton to provision infrastructure using
CodeBuild-based provisioning on your behalf.
|
CreateEnvironmentRequest.Builder |
componentRoleArn(String componentRoleArn)
The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined
components in this environment.
|
CreateEnvironmentRequest.Builder |
description(String description)
A description of the environment that's being created and deployed.
|
CreateEnvironmentRequest.Builder |
environmentAccountConnectionId(String environmentAccountConnectionId)
The ID of the environment account connection that you provide if you're provisioning your environment
infrastructure resources to an environment account.
|
CreateEnvironmentRequest.Builder |
name(String name)
The name of the environment.
|
CreateEnvironmentRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateEnvironmentRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateEnvironmentRequest.Builder |
protonServiceRoleArn(String protonServiceRoleArn)
The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make calls to other services
on your behalf.
|
default CreateEnvironmentRequest.Builder |
provisioningRepository(Consumer<RepositoryBranchInput.Builder> provisioningRepository)
The linked repository that you use to host your rendered infrastructure templates for self-managed
provisioning.
|
CreateEnvironmentRequest.Builder |
provisioningRepository(RepositoryBranchInput provisioningRepository)
The linked repository that you use to host your rendered infrastructure templates for self-managed
provisioning.
|
CreateEnvironmentRequest.Builder |
spec(String spec)
A YAML formatted string that provides inputs as defined in the environment template bundle schema file.
|
CreateEnvironmentRequest.Builder |
tags(Collection<Tag> tags)
An optional list of metadata items that you can associate with the Proton environment.
|
CreateEnvironmentRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
An optional list of metadata items that you can associate with the Proton environment.
|
CreateEnvironmentRequest.Builder |
tags(Tag... tags)
An optional list of metadata items that you can associate with the Proton environment.
|
CreateEnvironmentRequest.Builder |
templateMajorVersion(String templateMajorVersion)
The major version of the environment template.
|
CreateEnvironmentRequest.Builder |
templateMinorVersion(String templateMinorVersion)
The minor version of the environment template.
|
CreateEnvironmentRequest.Builder |
templateName(String templateName)
The name of the environment template.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateEnvironmentRequest.Builder codebuildRoleArn(String codebuildRoleArn)
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.
codebuildRoleArn - 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.
CreateEnvironmentRequest.Builder componentRoleArn(String componentRoleArn)
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.
componentRoleArn - 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.
CreateEnvironmentRequest.Builder description(String description)
A description of the environment that's being created and deployed.
description - A description of the environment that's being created and deployed.CreateEnvironmentRequest.Builder environmentAccountConnectionId(String 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.
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.
CreateEnvironmentRequest.Builder name(String name)
The name of the environment.
name - The name of the environment.CreateEnvironmentRequest.Builder protonServiceRoleArn(String protonServiceRoleArn)
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.
protonServiceRoleArn - 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.
CreateEnvironmentRequest.Builder provisioningRepository(RepositoryBranchInput provisioningRepository)
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.
provisioningRepository - 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.
default CreateEnvironmentRequest.Builder provisioningRepository(Consumer<RepositoryBranchInput.Builder> provisioningRepository)
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.
RepositoryBranchInput.Builder avoiding
the need to create one manually via RepositoryBranchInput.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to provisioningRepository(RepositoryBranchInput).
provisioningRepository - a consumer that will call methods on RepositoryBranchInput.BuilderprovisioningRepository(RepositoryBranchInput)CreateEnvironmentRequest.Builder spec(String spec)
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.
spec - 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.CreateEnvironmentRequest.Builder tags(Collection<Tag> tags)
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.
tags - 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.
CreateEnvironmentRequest.Builder tags(Tag... tags)
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.
tags - 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.
CreateEnvironmentRequest.Builder tags(Consumer<Tag.Builder>... tags)
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.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one manually via
Tag.builder().
When the Consumer completes, SdkBuilder.build()
is called immediately and its result is passed to #tags(List.
tags - a consumer that will call methods on Tag.Builder#tags(java.util.Collection) CreateEnvironmentRequest.Builder templateMajorVersion(String templateMajorVersion)
The major version of the environment template.
templateMajorVersion - The major version of the environment template.CreateEnvironmentRequest.Builder templateMinorVersion(String templateMinorVersion)
The minor version of the environment template.
templateMinorVersion - The minor version of the environment template.CreateEnvironmentRequest.Builder templateName(String templateName)
The name of the environment template. For more information, see Environment Templates in the Proton User Guide.
templateName - The name of the environment template. For more information, see Environment Templates
in the Proton User Guide.CreateEnvironmentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateEnvironmentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.