Class CfnConfigurationTemplatePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfigurationTemplatePropsMixin>
- Enclosing class:
CfnConfigurationTemplatePropsMixin
CfnConfigurationTemplatePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionapplicationName(String applicationName) The name of the Elastic Beanstalk application to associate with this configuration template.applicationName(IApplicationRef applicationName) The name of the Elastic Beanstalk application to associate with this configuration template.build()create()create(CfnPropertyMixinOptions options) 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(CfnConfigurationTemplatePropsMixin.SourceConfigurationProperty sourceConfiguration) An Elastic Beanstalk configuration template to base this one on.sourceConfiguration(IResolvable sourceConfiguration) An Elastic Beanstalk configuration template to base this one on.
-
Method Details
-
create
@Stability(Stable) public static CfnConfigurationTemplatePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnConfigurationTemplatePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnConfigurationTemplatePropsMixin.Builder.
-
applicationName
@Stability(Stable) public CfnConfigurationTemplatePropsMixin.Builder applicationName(String 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:
-
applicationName
@Stability(Stable) public CfnConfigurationTemplatePropsMixin.Builder applicationName(IApplicationRef 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
@Stability(Stable) public CfnConfigurationTemplatePropsMixin.Builder description(String description) An optional description for this configuration.- Parameters:
description- An optional description for this configuration. This parameter is required.- Returns:
this- See Also:
-
environmentId
@Stability(Stable) public CfnConfigurationTemplatePropsMixin.Builder environmentId(String environmentId) The ID of an environment whose settings you want to use to create the configuration template.You must specify
EnvironmentIdif 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 CfnConfigurationTemplatePropsMixin.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 CfnConfigurationTemplatePropsMixin.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
@Stability(Stable) public CfnConfigurationTemplatePropsMixin.Builder platformArn(String 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 CfnConfigurationTemplatePropsMixin.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
SolutionStackNameif you don't specifyPlatformArn,EnvironmentId, orSourceConfiguration.Use the
ListAvailableSolutionStacksAPI 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 CfnConfigurationTemplatePropsMixin.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
OptionSettingsoverride any values obtained from theSourceConfiguration.You must specify
SourceConfigurationif 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 CfnConfigurationTemplatePropsMixin.Builder sourceConfiguration(CfnConfigurationTemplatePropsMixin.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
OptionSettingsoverride any values obtained from theSourceConfiguration.You must specify
SourceConfigurationif 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:
buildin interfacesoftware.amazon.jsii.Builder<CfnConfigurationTemplatePropsMixin>- Returns:
- a newly built instance of
CfnConfigurationTemplatePropsMixin.
-