CfnAppProps

class aws_cdk.aws_opsworks.CfnAppProps(*, app_source=None, attributes=None, data_sources=None, description=None, domains=None, enable_ssl=None, environment=None, name, shortname=None, ssl_configuration=None, stack_id, type)

Bases: object

Properties for defining a AWS::OpsWorks::App.

Parameters
  • app_source (Union[IResolvable, SourceProperty, None]) – AWS::OpsWorks::App.AppSource.

  • attributes (Union[IResolvable, Mapping[str, str], None]) – AWS::OpsWorks::App.Attributes.

  • data_sources (Union[IResolvable, Sequence[Union[IResolvable, DataSourceProperty]], None]) – AWS::OpsWorks::App.DataSources.

  • description (Optional[str]) – AWS::OpsWorks::App.Description.

  • domains (Optional[Sequence[str]]) – AWS::OpsWorks::App.Domains.

  • enable_ssl (Union[bool, IResolvable, None]) – AWS::OpsWorks::App.EnableSsl.

  • environment (Union[IResolvable, Sequence[Union[IResolvable, EnvironmentVariableProperty]], None]) – AWS::OpsWorks::App.Environment.

  • name (str) – AWS::OpsWorks::App.Name.

  • shortname (Optional[str]) – AWS::OpsWorks::App.Shortname.

  • ssl_configuration (Union[IResolvable, SslConfigurationProperty, None]) – AWS::OpsWorks::App.SslConfiguration.

  • stack_id (str) – AWS::OpsWorks::App.StackId.

  • type (str) – AWS::OpsWorks::App.Type.

Link

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 aws_cdk.aws_opsworks as opsworks

cfn_app_props = opsworks.CfnAppProps(
    name="name",
    stack_id="stackId",
    type="type",

    # the properties below are optional
    app_source=opsworks.CfnApp.SourceProperty(
        password="password",
        revision="revision",
        ssh_key="sshKey",
        type="type",
        url="url",
        username="username"
    ),
    attributes={
        "attributes_key": "attributes"
    },
    data_sources=[opsworks.CfnApp.DataSourceProperty(
        arn="arn",
        database_name="databaseName",
        type="type"
    )],
    description="description",
    domains=["domains"],
    enable_ssl=False,
    environment=[opsworks.CfnApp.EnvironmentVariableProperty(
        key="key",
        value="value",

        # the properties below are optional
        secure=False
    )],
    shortname="shortname",
    ssl_configuration=opsworks.CfnApp.SslConfigurationProperty(
        certificate="certificate",
        chain="chain",
        private_key="privateKey"
    )
)

Attributes

app_source

AWS::OpsWorks::App.AppSource.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-app.html#cfn-opsworks-app-appsource

Return type

Union[IResolvable, SourceProperty, None]

attributes

AWS::OpsWorks::App.Attributes.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-app.html#cfn-opsworks-app-attributes

Return type

Union[IResolvable, Mapping[str, str], None]

data_sources

AWS::OpsWorks::App.DataSources.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-app.html#cfn-opsworks-app-datasources

Return type

Union[IResolvable, List[Union[IResolvable, DataSourceProperty]], None]

description

AWS::OpsWorks::App.Description.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-app.html#cfn-opsworks-app-description

Return type

Optional[str]

domains

AWS::OpsWorks::App.Domains.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-app.html#cfn-opsworks-app-domains

Return type

Optional[List[str]]

enable_ssl

AWS::OpsWorks::App.EnableSsl.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-app.html#cfn-opsworks-app-enablessl

Return type

Union[bool, IResolvable, None]

environment

AWS::OpsWorks::App.Environment.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-app.html#cfn-opsworks-app-environment

Return type

Union[IResolvable, List[Union[IResolvable, EnvironmentVariableProperty]], None]

name

AWS::OpsWorks::App.Name.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-app.html#cfn-opsworks-app-name

Return type

str

shortname

AWS::OpsWorks::App.Shortname.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-app.html#cfn-opsworks-app-shortname

Return type

Optional[str]

ssl_configuration

AWS::OpsWorks::App.SslConfiguration.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-app.html#cfn-opsworks-app-sslconfiguration

Return type

Union[IResolvable, SslConfigurationProperty, None]

stack_id

AWS::OpsWorks::App.StackId.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-app.html#cfn-opsworks-app-stackid

Return type

str

type

AWS::OpsWorks::App.Type.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-app.html#cfn-opsworks-app-type

Return type

str