Interface CfnConfigurationTemplateProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnConfigurationTemplateProps.Jsii$Proxy
CfnConfigurationTemplate.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.elasticbeanstalk.*;
CfnConfigurationTemplateProps cfnConfigurationTemplateProps = CfnConfigurationTemplateProps.builder()
.applicationName("applicationName")
// the properties below are optional
.description("description")
.environmentId("environmentId")
.optionSettings(List.of(ConfigurationOptionSettingProperty.builder()
.namespace("namespace")
.optionName("optionName")
// the properties below are optional
.resourceName("resourceName")
.value("value")
.build()))
.platformArn("platformArn")
.solutionStackName("solutionStackName")
.sourceConfiguration(SourceConfigurationProperty.builder()
.applicationName("applicationName")
.templateName("templateName")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnConfigurationTemplatePropsstatic final classAn implementation forCfnConfigurationTemplateProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The name of the Elastic Beanstalk application to associate with this configuration template.default StringAn optional description for this configuration.default StringThe ID of an environment whose settings you want to use to create the configuration template.default ObjectOption values for the Elastic Beanstalk configuration, such as the instance type.default StringThe Amazon Resource Name (ARN) of the custom platform.default StringThe name of an Elastic Beanstalk solution stack (platform version) that this configuration uses.default ObjectAn Elastic Beanstalk configuration template to base this one on.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApplicationName
The name of the Elastic Beanstalk application to associate with this configuration template.- See Also:
-
getDescription
An optional description for this configuration.- See Also:
-
getEnvironmentId
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.- See Also:
-
getOptionSettings
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 .
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnConfigurationTemplate.ConfigurationOptionSettingProperty>- See Also:
-
getPlatformArn
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.- See Also:
-
getSolutionStackName
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.- See Also:
-
getSourceConfiguration
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.
Returns union: either
IResolvableorCfnConfigurationTemplate.SourceConfigurationProperty- See Also:
-
builder
-