Class CfnConfigurationTemplate.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfigurationTemplate>
- Enclosing class:
CfnConfigurationTemplate
CfnConfigurationTemplate
.-
Method Summary
Modifier and TypeMethodDescriptionapplicationName
(String applicationName) The name of the Elastic Beanstalk application to associate with this configuration template.build()
description
(String description) An optional description for this configuration.environmentId
(String environmentId) The ID of an environment whose settings you want to use to create the configuration template.optionSettings
(List<? extends Object> optionSettings) Option values for the Elastic Beanstalk configuration, such as the instance type.optionSettings
(IResolvable optionSettings) Option values for the Elastic Beanstalk configuration, such as the instance type.platformArn
(String platformArn) The Amazon Resource Name (ARN) of the custom platform.solutionStackName
(String solutionStackName) The name of an Elastic Beanstalk solution stack (platform version) that this configuration uses.sourceConfiguration
(IResolvable sourceConfiguration) An Elastic Beanstalk configuration template to base this one on.sourceConfiguration
(CfnConfigurationTemplate.SourceConfigurationProperty sourceConfiguration) An Elastic Beanstalk configuration template to base this one on.
-
Method Details
-
create
@Stability(Stable) public static CfnConfigurationTemplate.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnConfigurationTemplate.Builder
.
-
applicationName
The name of the Elastic Beanstalk application to associate with this configuration template.- Parameters:
applicationName
- The name of the Elastic Beanstalk application to associate with this configuration template. This parameter is required.- Returns:
this
- See Also:
-
description
An optional description for this configuration.- Parameters:
description
- An optional description for this configuration. This parameter is required.- Returns:
this
- See Also:
-
environmentId
The ID of an environment whose settings you want to use to create the configuration template.You must specify
EnvironmentId
if you don't specifyPlatformArn
,SolutionStackName
, orSourceConfiguration
.- Parameters:
environmentId
- The ID of an environment whose settings you want to use to create the configuration template. This parameter is required.- Returns:
this
- See Also:
-
optionSettings
@Stability(Stable) public CfnConfigurationTemplate.Builder optionSettings(IResolvable optionSettings) 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 .
- Parameters:
optionSettings
- Option values for the Elastic Beanstalk configuration, such as the instance type. This parameter is required.- Returns:
this
- See Also:
-
optionSettings
@Stability(Stable) public CfnConfigurationTemplate.Builder optionSettings(List<? extends Object> optionSettings) 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 .
- Parameters:
optionSettings
- Option values for the Elastic Beanstalk configuration, such as the instance type. This parameter is required.- Returns:
this
- See Also:
-
platformArn
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 specifySolutionStackName
.- Parameters:
platformArn
- The Amazon Resource Name (ARN) of the custom platform. This parameter is required.- Returns:
this
- See Also:
-
solutionStackName
@Stability(Stable) public CfnConfigurationTemplate.Builder solutionStackName(String solutionStackName) 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 specifyPlatformArn
,EnvironmentId
, orSourceConfiguration
.Use the
ListAvailableSolutionStacks
API to obtain a list of available solution stacks.- Parameters:
solutionStackName
- The name of an Elastic Beanstalk solution stack (platform version) that this configuration uses. This parameter is required.- Returns:
this
- See Also:
-
sourceConfiguration
@Stability(Stable) public CfnConfigurationTemplate.Builder sourceConfiguration(IResolvable 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 theSourceConfiguration
.You must specify
SourceConfiguration
if you don't specifyPlatformArn
,EnvironmentId
, orSolutionStackName
.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.
- Parameters:
sourceConfiguration
- An Elastic Beanstalk configuration template to base this one on. This parameter is required.- Returns:
this
- See Also:
-
sourceConfiguration
@Stability(Stable) public CfnConfigurationTemplate.Builder sourceConfiguration(CfnConfigurationTemplate.SourceConfigurationProperty 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 theSourceConfiguration
.You must specify
SourceConfiguration
if you don't specifyPlatformArn
,EnvironmentId
, orSolutionStackName
.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.
- Parameters:
sourceConfiguration
- An Elastic Beanstalk configuration template to base this one on. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnConfigurationTemplate>
- Returns:
- a newly built instance of
CfnConfigurationTemplate
.
-