#[non_exhaustive]pub struct CreateEnvironmentInput { /* private fields */ }
Expand description
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 application_name(&self) -> Option<&str>
pub fn application_name(&self) -> Option<&str>
The name of the application that is associated with this environment.
sourcepub fn environment_name(&self) -> Option<&str>
pub fn environment_name(&self) -> Option<&str>
A unique name for the environment.
Constraint: Must be from 4 to 40 characters in length. The name can contain only letters, numbers, and hyphens. It can't start or end with a hyphen. This name must be unique within a region in your account. If the specified name already exists in the region, Elastic Beanstalk returns an InvalidParameterValue
error.
If you don't specify the CNAMEPrefix
parameter, the environment name becomes part of the CNAME, and therefore part of the visible URL for your application.
sourcepub fn group_name(&self) -> Option<&str>
pub fn group_name(&self) -> Option<&str>
The name of the group to which the target environment belongs. Specify a group name only if the environment's name is specified in an environment manifest and not with the environment name parameter. See Environment Manifest (env.yaml) for details.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
Your description for this environment.
sourcepub fn cname_prefix(&self) -> Option<&str>
pub fn cname_prefix(&self) -> Option<&str>
If specified, the environment attempts to use this value as the prefix for the CNAME in your Elastic Beanstalk environment URL. If not specified, the CNAME is generated automatically by appending a random alphanumeric string to the environment name.
sourcepub fn tier(&self) -> Option<&EnvironmentTier>
pub fn tier(&self) -> Option<&EnvironmentTier>
Specifies the tier to use in creating this environment. The environment tier that you choose determines whether Elastic Beanstalk provisions resources to support a web application that handles HTTP(S) requests or a web application that handles background-processing tasks.
Specifies the tags applied to resources in the environment.
sourcepub fn version_label(&self) -> Option<&str>
pub fn version_label(&self) -> Option<&str>
The name of the application version to deploy.
Default: If not specified, Elastic Beanstalk attempts to deploy the sample application.
sourcepub fn template_name(&self) -> Option<&str>
pub fn template_name(&self) -> Option<&str>
The name of the Elastic Beanstalk configuration template to use with the environment.
If you specify TemplateName
, then don't specify SolutionStackName
.
sourcepub fn solution_stack_name(&self) -> Option<&str>
pub fn solution_stack_name(&self) -> Option<&str>
The name of an Elastic Beanstalk solution stack (platform version) to use with the environment. If specified, Elastic Beanstalk sets the configuration values to the default values associated with the specified solution stack. For a list of current solution stacks, see Elastic Beanstalk Supported Platforms in the AWS Elastic Beanstalk Platforms guide.
If you specify SolutionStackName
, don't specify PlatformArn
or TemplateName
.
sourcepub fn platform_arn(&self) -> Option<&str>
pub fn platform_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the custom platform to use with the environment. For more information, see Custom Platforms in the AWS Elastic Beanstalk Developer Guide.
If you specify PlatformArn
, don't specify SolutionStackName
.
sourcepub fn option_settings(&self) -> Option<&[ConfigurationOptionSetting]>
pub fn option_settings(&self) -> Option<&[ConfigurationOptionSetting]>
If specified, AWS Elastic Beanstalk sets the specified configuration options to the requested value in the configuration set for the new environment. These override the values obtained from the solution stack or the configuration template.
sourcepub fn options_to_remove(&self) -> Option<&[OptionSpecification]>
pub fn options_to_remove(&self) -> Option<&[OptionSpecification]>
A list of custom user-defined configuration options to remove from the configuration set for this new environment.
sourcepub fn operations_role(&self) -> Option<&str>
pub fn operations_role(&self) -> Option<&str>
The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role. If specified, Elastic Beanstalk uses the operations role for permissions to downstream services during this call and during subsequent calls acting on this environment. To specify an operations role, you must have the iam:PassRole
permission for the role. For more information, see Operations roles in the AWS Elastic Beanstalk Developer Guide.
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 ==
.