interface CfnAppMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.OpsWorks.Mixins.CfnAppMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsopsworks/mixins#CfnAppMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.opsworks.mixins.CfnAppMixinProps |
Python | aws_cdk.mixins_preview.aws_opsworks.mixins.CfnAppMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_opsworks » mixins » CfnAppMixinProps |
Properties for CfnAppPropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-app.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as opsworks_mixins } from '@aws-cdk/mixins-preview/aws-opsworks';
const cfnAppMixinProps: opsworks_mixins.CfnAppMixinProps = {
appSource: {
password: 'password',
revision: 'revision',
sshKey: 'sshKey',
type: 'type',
url: 'url',
username: 'username',
},
attributes: {
attributesKey: 'attributes',
},
dataSources: [{
arn: 'arn',
databaseName: 'databaseName',
type: 'type',
}],
description: 'description',
domains: ['domains'],
enableSsl: false,
environment: [{
key: 'key',
secure: false,
value: 'value',
}],
name: 'name',
shortname: 'shortname',
sslConfiguration: {
certificate: 'certificate',
chain: 'chain',
privateKey: 'privateKey',
},
stackId: 'stackId',
type: 'type',
};
Properties
| Name | Type | Description |
|---|---|---|
| app | IResolvable | Source | A Source object that specifies the app repository. |
| attributes? | { [string]: string } | IResolvable | One or more user-defined key/value pairs to be added to the stack attributes. |
| data | IResolvable | (IResolvable | Data)[] | The app's data source. |
| description? | string | A description of the app. |
| domains? | string[] | The app virtual host settings, with multiple domains separated by commas. |
| enable | boolean | IResolvable | Whether to enable SSL for the app. |
| environment? | IResolvable | (IResolvable | Environment)[] | An array of EnvironmentVariable objects that specify environment variables to be associated with the app. |
| name? | string | The app name. |
| shortname? | string | The app's short name. |
| ssl | IResolvable | Ssl | An SslConfiguration object with the SSL configuration. |
| stack | string | The stack ID. |
| type? | string | The app type. |
appSource?
Type:
IResolvable | Source
(optional)
A Source object that specifies the app repository.
attributes?
Type:
{ [string]: string } | IResolvable
(optional)
One or more user-defined key/value pairs to be added to the stack attributes.
dataSources?
Type:
IResolvable | (IResolvable | Data)[]
(optional)
The app's data source.
description?
Type:
string
(optional)
A description of the app.
domains?
Type:
string[]
(optional)
The app virtual host settings, with multiple domains separated by commas.
For example: 'www.example.com, example.com'
enableSsl?
Type:
boolean | IResolvable
(optional)
Whether to enable SSL for the app.
environment?
Type:
IResolvable | (IResolvable | Environment)[]
(optional)
An array of EnvironmentVariable objects that specify environment variables to be associated with the app.
After you deploy the app, these variables are defined on the associated app server instance. For more information, see Environment Variables .
There is no specific limit on the number of environment variables. However, the size of the associated data structure - which includes the variables' names, values, and protected flag values - cannot exceed 20 KB. This limit should accommodate most if not all use cases. Exceeding it will cause an exception with the message, "Environment: is too large (maximum is 20KB)."
If you have specified one or more environment variables, you cannot modify the stack's Chef version.
name?
Type:
string
(optional)
The app name.
shortname?
Type:
string
(optional)
The app's short name.
sslConfiguration?
Type:
IResolvable | Ssl
(optional)
An SslConfiguration object with the SSL configuration.
stackId?
Type:
string
(optional)
The stack ID.
type?
Type:
string
(optional)
The app type.
Each supported type is associated with a particular layer. For example, PHP applications are associated with a PHP layer. OpsWorks Stacks deploys an application to those instances that are members of the corresponding layer. If your app isn't one of the standard types, or you prefer to implement your own Deploy recipes, specify other .

.NET
Go
Java
Python
TypeScript