Struct aws_sdk_elasticbeanstalk::operation::create_configuration_template::CreateConfigurationTemplateInput
source · #[non_exhaustive]pub struct CreateConfigurationTemplateInput {
pub application_name: Option<String>,
pub template_name: Option<String>,
pub solution_stack_name: Option<String>,
pub platform_arn: Option<String>,
pub source_configuration: Option<SourceConfiguration>,
pub environment_id: Option<String>,
pub description: Option<String>,
pub option_settings: Option<Vec<ConfigurationOptionSetting>>,
pub tags: Option<Vec<Tag>>,
}
Expand description
Request to create a configuration template.
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.application_name: Option<String>
The name of the Elastic Beanstalk application to associate with this configuration template.
template_name: Option<String>
The name of the configuration template.
Constraint: This name must be unique per application.
solution_stack_name: Option<String>
The name of an Elastic Beanstalk solution stack (platform version) that this configuration uses. For example, 64bit Amazon Linux 2013.09 running Tomcat 7 Java 7
. A solution stack specifies the operating system, runtime, and application server for a configuration template. It also determines the set of configuration options as well as the possible and default values. For more information, see Supported Platforms in the AWS Elastic Beanstalk Developer Guide.
You must specify SolutionStackName
if you don't specify PlatformArn
, EnvironmentId
, or SourceConfiguration
.
Use the ListAvailableSolutionStacks
API to obtain a list of available solution stacks.
platform_arn: Option<String>
The Amazon Resource Name (ARN) of the custom platform. For more information, see Custom Platforms in the AWS Elastic Beanstalk Developer Guide.
If you specify PlatformArn
, then don't specify SolutionStackName
.
source_configuration: Option<SourceConfiguration>
An Elastic Beanstalk configuration template to base this one on. If specified, Elastic Beanstalk uses the configuration values from the specified configuration template to create a new configuration.
Values specified in OptionSettings
override any values obtained from the SourceConfiguration
.
You must specify SourceConfiguration
if you don't specify PlatformArn
, EnvironmentId
, or SolutionStackName
.
Constraint: If both solution stack name and source configuration are specified, the solution stack of the source configuration template must match the specified solution stack name.
environment_id: Option<String>
The ID of an environment whose settings you want to use to create the configuration template. You must specify EnvironmentId
if you don't specify PlatformArn
, SolutionStackName
, or SourceConfiguration
.
description: Option<String>
An optional description for this configuration.
option_settings: Option<Vec<ConfigurationOptionSetting>>
Option values for the Elastic Beanstalk configuration, such as the instance type. If specified, these values override the values obtained from the solution stack or the source configuration template. For a complete list of Elastic Beanstalk configuration options, see Option Values in the AWS Elastic Beanstalk Developer Guide.
Specifies the tags applied to the configuration template.
Implementations§
source§impl CreateConfigurationTemplateInput
impl CreateConfigurationTemplateInput
sourcepub fn application_name(&self) -> Option<&str>
pub fn application_name(&self) -> Option<&str>
The name of the Elastic Beanstalk application to associate with this configuration template.
sourcepub fn template_name(&self) -> Option<&str>
pub fn template_name(&self) -> Option<&str>
The name of the configuration template.
Constraint: This name must be unique per application.
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) that this configuration uses. For example, 64bit Amazon Linux 2013.09 running Tomcat 7 Java 7
. A solution stack specifies the operating system, runtime, and application server for a configuration template. It also determines the set of configuration options as well as the possible and default values. For more information, see Supported Platforms in the AWS Elastic Beanstalk Developer Guide.
You must specify SolutionStackName
if you don't specify PlatformArn
, EnvironmentId
, or SourceConfiguration
.
Use the ListAvailableSolutionStacks
API to obtain a list of available solution stacks.
sourcepub fn platform_arn(&self) -> Option<&str>
pub fn platform_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the custom platform. For more information, see Custom Platforms in the AWS Elastic Beanstalk Developer Guide.
If you specify PlatformArn
, then don't specify SolutionStackName
.
sourcepub fn source_configuration(&self) -> Option<&SourceConfiguration>
pub fn source_configuration(&self) -> Option<&SourceConfiguration>
An Elastic Beanstalk configuration template to base this one on. If specified, Elastic Beanstalk uses the configuration values from the specified configuration template to create a new configuration.
Values specified in OptionSettings
override any values obtained from the SourceConfiguration
.
You must specify SourceConfiguration
if you don't specify PlatformArn
, EnvironmentId
, or SolutionStackName
.
Constraint: If both solution stack name and source configuration are specified, the solution stack of the source configuration template must match the specified solution stack name.
sourcepub fn environment_id(&self) -> Option<&str>
pub fn environment_id(&self) -> Option<&str>
The ID of an environment whose settings you want to use to create the configuration template. You must specify EnvironmentId
if you don't specify PlatformArn
, SolutionStackName
, or SourceConfiguration
.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
An optional description for this configuration.
sourcepub fn option_settings(&self) -> &[ConfigurationOptionSetting]
pub fn option_settings(&self) -> &[ConfigurationOptionSetting]
Option values for the Elastic Beanstalk configuration, such as the instance type. If specified, these values override the values obtained from the solution stack or the source configuration template. For a complete list of Elastic Beanstalk configuration options, see Option Values in the AWS Elastic Beanstalk Developer Guide.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .option_settings.is_none()
.
Specifies the tags applied to the configuration template.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl CreateConfigurationTemplateInput
impl CreateConfigurationTemplateInput
sourcepub fn builder() -> CreateConfigurationTemplateInputBuilder
pub fn builder() -> CreateConfigurationTemplateInputBuilder
Creates a new builder-style object to manufacture CreateConfigurationTemplateInput
.
Trait Implementations§
source§impl Clone for CreateConfigurationTemplateInput
impl Clone for CreateConfigurationTemplateInput
source§fn clone(&self) -> CreateConfigurationTemplateInput
fn clone(&self) -> CreateConfigurationTemplateInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CreateConfigurationTemplateInput
impl PartialEq for CreateConfigurationTemplateInput
source§fn eq(&self, other: &CreateConfigurationTemplateInput) -> bool
fn eq(&self, other: &CreateConfigurationTemplateInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateConfigurationTemplateInput
Auto Trait Implementations§
impl Freeze for CreateConfigurationTemplateInput
impl RefUnwindSafe for CreateConfigurationTemplateInput
impl Send for CreateConfigurationTemplateInput
impl Sync for CreateConfigurationTemplateInput
impl Unpin for CreateConfigurationTemplateInput
impl UnwindSafe for CreateConfigurationTemplateInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more