Struct aws_sdk_proton::input::CreateEnvironmentInput
source · #[non_exhaustive]pub struct CreateEnvironmentInput { /* private fields */ }
Implementations§
source§impl CreateEnvironmentInput
impl CreateEnvironmentInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateEnvironment, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateEnvironment, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateEnvironment
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateEnvironmentInput
.
source§impl CreateEnvironmentInput
impl CreateEnvironmentInput
sourcepub fn template_name(&self) -> Option<&str>
pub fn template_name(&self) -> Option<&str>
The name of the environment template. For more information, see Environment Templates in the Proton User Guide.
sourcepub fn template_major_version(&self) -> Option<&str>
pub fn template_major_version(&self) -> Option<&str>
The major version of the environment template.
sourcepub fn template_minor_version(&self) -> Option<&str>
pub fn template_minor_version(&self) -> Option<&str>
The minor version of the environment template.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the environment that's being created and deployed.
sourcepub fn spec(&self) -> Option<&str>
pub fn spec(&self) -> Option<&str>
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.
sourcepub fn proton_service_role_arn(&self) -> Option<&str>
pub fn proton_service_role_arn(&self) -> Option<&str>
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.
sourcepub fn environment_account_connection_id(&self) -> Option<&str>
pub fn environment_account_connection_id(&self) -> Option<&str>
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.
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.
sourcepub fn provisioning_repository(&self) -> Option<&RepositoryBranchInput>
pub fn provisioning_repository(&self) -> Option<&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.
sourcepub fn component_role_arn(&self) -> Option<&str>
pub fn component_role_arn(&self) -> Option<&str>
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.
sourcepub fn codebuild_role_arn(&self) -> Option<&str>
pub fn codebuild_role_arn(&self) -> Option<&str>
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.
Trait Implementations§
source§impl Clone for CreateEnvironmentInput
impl Clone for CreateEnvironmentInput
source§fn clone(&self) -> CreateEnvironmentInput
fn clone(&self) -> CreateEnvironmentInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateEnvironmentInput
impl Debug for CreateEnvironmentInput
source§impl PartialEq<CreateEnvironmentInput> for CreateEnvironmentInput
impl PartialEq<CreateEnvironmentInput> for CreateEnvironmentInput
source§fn eq(&self, other: &CreateEnvironmentInput) -> bool
fn eq(&self, other: &CreateEnvironmentInput) -> bool
self
and other
values to be equal, and is used
by ==
.