public static final class CfnConfigurationTemplate.Builder
extends java.lang.Object
CfnConfigurationTemplate
.Modifier and Type | Method and Description |
---|---|
CfnConfigurationTemplate.Builder |
applicationName(java.lang.String applicationName)
The name of the Elastic Beanstalk application to associate with this configuration template.
|
CfnConfigurationTemplate |
build() |
static CfnConfigurationTemplate.Builder |
create(Construct scope,
java.lang.String id) |
CfnConfigurationTemplate.Builder |
description(java.lang.String description)
An optional description for this configuration.
|
CfnConfigurationTemplate.Builder |
environmentId(java.lang.String environmentId)
The ID of an environment whose settings you want to use to create the configuration template.
|
CfnConfigurationTemplate.Builder |
optionSettings(IResolvable optionSettings)
Option values for the Elastic Beanstalk configuration, such as the instance type.
|
CfnConfigurationTemplate.Builder |
optionSettings(java.util.List<? extends java.lang.Object> optionSettings)
Option values for the Elastic Beanstalk configuration, such as the instance type.
|
CfnConfigurationTemplate.Builder |
platformArn(java.lang.String platformArn)
The Amazon Resource Name (ARN) of the custom platform.
|
CfnConfigurationTemplate.Builder |
solutionStackName(java.lang.String solutionStackName)
The name of an Elastic Beanstalk solution stack (platform version) that this configuration uses.
|
CfnConfigurationTemplate.Builder |
sourceConfiguration(CfnConfigurationTemplate.SourceConfigurationProperty sourceConfiguration)
An Elastic Beanstalk configuration template to base this one on.
|
CfnConfigurationTemplate.Builder |
sourceConfiguration(IResolvable sourceConfiguration)
An Elastic Beanstalk configuration template to base this one on.
|
public static CfnConfigurationTemplate.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnConfigurationTemplate.ConfigurationOptionSettingProperty.Builder
.public CfnConfigurationTemplate.Builder applicationName(java.lang.String applicationName)
applicationName
- The name of the Elastic Beanstalk application to associate with this configuration template. This parameter is required.this
public CfnConfigurationTemplate.Builder description(java.lang.String description)
description
- An optional description for this configuration. This parameter is required.this
public CfnConfigurationTemplate.Builder environmentId(java.lang.String environmentId)
You must specify EnvironmentId
if you don't specify PlatformArn
, SolutionStackName
, or SourceConfiguration
.
environmentId
- The ID of an environment whose settings you want to use to create the configuration template. This parameter is required.this
public CfnConfigurationTemplate.Builder optionSettings(IResolvable optionSettings)
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 .
optionSettings
- Option values for the Elastic Beanstalk configuration, such as the instance type. This parameter is required.this
public CfnConfigurationTemplate.Builder optionSettings(java.util.List<? extends java.lang.Object> optionSettings)
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 .
optionSettings
- Option values for the Elastic Beanstalk configuration, such as the instance type. This parameter is required.this
public CfnConfigurationTemplate.Builder platformArn(java.lang.String platformArn)
For more information, see Custom Platforms in the AWS Elastic Beanstalk Developer Guide .
If you specify
PlatformArn
, then don't specifySolutionStackName
.
platformArn
- The Amazon Resource Name (ARN) of the custom platform. This parameter is required.this
public CfnConfigurationTemplate.Builder solutionStackName(java.lang.String solutionStackName)
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.
solutionStackName
- The name of an Elastic Beanstalk solution stack (platform version) that this configuration uses. This parameter is required.this
public CfnConfigurationTemplate.Builder sourceConfiguration(IResolvable sourceConfiguration)
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.
sourceConfiguration
- An Elastic Beanstalk configuration template to base this one on. This parameter is required.this
public CfnConfigurationTemplate.Builder sourceConfiguration(CfnConfigurationTemplate.SourceConfigurationProperty sourceConfiguration)
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.
sourceConfiguration
- An Elastic Beanstalk configuration template to base this one on. This parameter is required.this
public CfnConfigurationTemplate build()