Struct aws_sdk_proton::input::CreateEnvironmentInput [−][src]
#[non_exhaustive]pub struct CreateEnvironmentInput {
pub name: Option<String>,
pub template_name: Option<String>,
pub template_major_version: Option<String>,
pub template_minor_version: Option<String>,
pub description: Option<String>,
pub spec: Option<String>,
pub proton_service_role_arn: Option<String>,
pub environment_account_connection_id: Option<String>,
pub tags: Option<Vec<Tag>>,
pub provisioning_repository: Option<RepositoryBranchInput>,
}Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: Option<String>The name of the environment.
template_name: Option<String>The name of the environment template. For more information, see Environment Templates in the Proton Administrator Guide.
template_major_version: Option<String>The major version of the environment template.
template_minor_version: Option<String>The minor version of the environment template.
description: Option<String>A description of the environment that's being created and deployed.
spec: Option<String>A link to a YAML formatted spec file that provides inputs as defined in the environment template bundle schema file. For more information, see Environments in the Proton Administrator Guide.
proton_service_role_arn: Option<String>The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make calls to other services on your behalf. You must include either the environmentAccountConnectionId or protonServiceRoleArn parameter and value and omit the provisioningRepository parameter when you use standard provisioning.
environment_account_connection_id: Option<String>The ID of the environment account connection that you provide if you're provisioning your environment infrastructure resources to an environment account. You must include either the environmentAccountConnectionId or protonServiceRoleArn parameter and value and omit the provisioningRepository parameter and values. For more information, see Environment account connections in the Proton Administrator guide.
Create tags for your environment. For more information, see Proton resources and tagging in the Proton Administrator Guide or Proton User Guide.
provisioning_repository: Option<RepositoryBranchInput>The repository that you provide with pull request provisioning. If you provide this parameter, you must omit the environmentAccountConnectionId and protonServiceRoleArn parameters.
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.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateEnvironment, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateEnvironment, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateEnvironment>
Creates a new builder-style object to manufacture CreateEnvironmentInput
The name of the environment template. For more information, see Environment Templates in the Proton Administrator Guide.
The major version of the environment template.
The minor version of the environment template.
A description of the environment that's being created and deployed.
A link to a YAML formatted spec file that provides inputs as defined in the environment template bundle schema file. For more information, see Environments in the Proton Administrator Guide.
The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make calls to other services on your behalf. You must include either the environmentAccountConnectionId or protonServiceRoleArn parameter and value and omit the provisioningRepository parameter when you use standard provisioning.
The ID of the environment account connection that you provide if you're provisioning your environment infrastructure resources to an environment account. You must include either the environmentAccountConnectionId or protonServiceRoleArn parameter and value and omit the provisioningRepository parameter and values. For more information, see Environment account connections in the Proton Administrator guide.
Create tags for your environment. For more information, see Proton resources and tagging in the Proton Administrator Guide or Proton User Guide.
The repository that you provide with pull request provisioning. If you provide this parameter, you must omit the environmentAccountConnectionId and protonServiceRoleArn parameters.
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.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for CreateEnvironmentInput
impl Send for CreateEnvironmentInput
impl Sync for CreateEnvironmentInput
impl Unpin for CreateEnvironmentInput
impl UnwindSafe for CreateEnvironmentInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
