interface CfnConfigurationTemplateProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ElasticBeanstalk.CfnConfigurationTemplateProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awselasticbeanstalk#CfnConfigurationTemplateProps |
![]() | software.amazon.awscdk.services.elasticbeanstalk.CfnConfigurationTemplateProps |
![]() | aws_cdk.aws_elasticbeanstalk.CfnConfigurationTemplateProps |
![]() | aws-cdk-lib » aws_elasticbeanstalk » CfnConfigurationTemplateProps |
Properties for defining a CfnConfigurationTemplate
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_elasticbeanstalk as elasticbeanstalk } from 'aws-cdk-lib';
const cfnConfigurationTemplateProps: elasticbeanstalk.CfnConfigurationTemplateProps = {
applicationName: 'applicationName',
// the properties below are optional
description: 'description',
environmentId: 'environmentId',
optionSettings: [{
namespace: 'namespace',
optionName: 'optionName',
// the properties below are optional
resourceName: 'resourceName',
value: 'value',
}],
platformArn: 'platformArn',
solutionStackName: 'solutionStackName',
sourceConfiguration: {
applicationName: 'applicationName',
templateName: 'templateName',
},
};
Properties
Name | Type | Description |
---|---|---|
application | string | The name of the Elastic Beanstalk application to associate with this configuration template. |
description? | string | An optional description for this configuration. |
environment | string | The ID of an environment whose settings you want to use to create the configuration template. |
option | IResolvable | IResolvable | Configuration [] | Option values for the Elastic Beanstalk configuration, such as the instance type. |
platform | string | The Amazon Resource Name (ARN) of the custom platform. |
solution | string | The name of an Elastic Beanstalk solution stack (platform version) that this configuration uses. |
source | IResolvable | Source | An Elastic Beanstalk configuration template to base this one on. |
applicationName
Type:
string
The name of the Elastic Beanstalk application to associate with this configuration template.
description?
Type:
string
(optional)
An optional description for this configuration.
environmentId?
Type:
string
(optional)
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
.
optionSettings?
Type:
IResolvable
|
IResolvable
|
Configuration
[]
(optional)
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 .
platformArn?
Type:
string
(optional)
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
.
solutionStackName?
Type:
string
(optional)
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.
sourceConfiguration?
Type:
IResolvable
|
Source
(optional)
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.