class CfnConfigurationTemplatePropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ElasticBeanstalk.Mixins.CfnConfigurationTemplatePropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awselasticbeanstalk/mixins#CfnConfigurationTemplatePropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.elasticbeanstalk.mixins.CfnConfigurationTemplatePropsMixin |
Python | aws_cdk.mixins_preview.aws_elasticbeanstalk.mixins.CfnConfigurationTemplatePropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_elasticbeanstalk » mixins » CfnConfigurationTemplatePropsMixin |
Implements
IMixin
Extends
Mixin
Specify an AWS Elastic Beanstalk configuration template by using the AWS::ElasticBeanstalk::ConfigurationTemplate resource in an AWS CloudFormation template.
The AWS::ElasticBeanstalk::ConfigurationTemplate resource is an AWS Elastic Beanstalk resource type that specifies an Elastic Beanstalk configuration template, associated with a specific Elastic Beanstalk application. You define application configuration settings in a configuration template. You can then use the configuration template to deploy different versions of the application with the same configuration settings.
The Elastic Beanstalk console and documentation often refer to configuration templates as saved configurations . When you set configuration options in a saved configuration (configuration template), Elastic Beanstalk applies them with a particular precedence as part of applying options from multiple sources. For more information, see Configuration Options in the AWS Elastic Beanstalk Developer Guide .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins } from '@aws-cdk/mixins-preview';
import { mixins as elasticbeanstalk_mixins } from '@aws-cdk/mixins-preview/aws-elasticbeanstalk';
const cfnConfigurationTemplatePropsMixin = new elasticbeanstalk_mixins.CfnConfigurationTemplatePropsMixin({
applicationName: 'applicationName',
description: 'description',
environmentId: 'environmentId',
optionSettings: [{
namespace: 'namespace',
optionName: 'optionName',
resourceName: 'resourceName',
value: 'value',
}],
platformArn: 'platformArn',
solutionStackName: 'solutionStackName',
sourceConfiguration: {
applicationName: 'applicationName',
templateName: 'templateName',
},
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnConfigurationTemplatePropsMixin(props: CfnConfigurationTemplateMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Configuration Template Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::ElasticBeanstalk::ConfigurationTemplate.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript