Class CfnAppPropsMixin
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.OpsWorks
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnAppPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnAppPropsMixin Inherits Mixin Implements IMixin
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-app.html
CloudformationResource: AWS::OpsWorks::App
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.OpsWorks;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnAppPropsMixin = new CfnAppPropsMixin(new CfnAppMixinProps {
AppSource = new SourceProperty {
Password = "password",
Revision = "revision",
SshKey = "sshKey",
Type = "type",
Url = "url",
Username = "username"
},
Attributes = new Dictionary<string, string> {
{ "attributesKey", "attributes" }
},
DataSources = new [] { new DataSourceProperty {
Arn = "arn",
DatabaseName = "databaseName",
Type = "type"
} },
Description = "description",
Domains = new [] { "domains" },
EnableSsl = false,
Environment = new [] { new EnvironmentVariableProperty {
Key = "key",
Secure = false,
Value = "value"
} },
Name = "name",
Shortname = "shortname",
SslConfiguration = new SslConfigurationProperty {
Certificate = "certificate",
Chain = "chain",
PrivateKey = "privateKey"
},
StackId = "stackId",
Type = "type"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Synopsis
Constructors
| CfnAppPropsMixin(ICfnAppMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnAppPropsMixin(ICfnAppMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::OpsWorks::App.
public CfnAppPropsMixin(ICfnAppMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnAppMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-app.html
CloudformationResource: AWS::OpsWorks::App
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-app.html
CloudformationResource: AWS::OpsWorks::App
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.OpsWorks;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnAppPropsMixin = new CfnAppPropsMixin(new CfnAppMixinProps {
AppSource = new SourceProperty {
Password = "password",
Revision = "revision",
SshKey = "sshKey",
Type = "type",
Url = "url",
Username = "username"
},
Attributes = new Dictionary<string, string> {
{ "attributesKey", "attributes" }
},
DataSources = new [] { new DataSourceProperty {
Arn = "arn",
DatabaseName = "databaseName",
Type = "type"
} },
Description = "description",
Domains = new [] { "domains" },
EnableSsl = false,
Environment = new [] { new EnvironmentVariableProperty {
Key = "key",
Secure = false,
Value = "value"
} },
Name = "name",
Shortname = "shortname",
SslConfiguration = new SslConfigurationProperty {
Certificate = "certificate",
Chain = "chain",
PrivateKey = "privateKey"
},
StackId = "stackId",
Type = "type"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Props
protected virtual ICfnAppMixinProps Props { get; }
Property Value
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-app.html
CloudformationResource: AWS::OpsWorks::App
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.OpsWorks;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnAppPropsMixin = new CfnAppPropsMixin(new CfnAppMixinProps {
AppSource = new SourceProperty {
Password = "password",
Revision = "revision",
SshKey = "sshKey",
Type = "type",
Url = "url",
Username = "username"
},
Attributes = new Dictionary<string, string> {
{ "attributesKey", "attributes" }
},
DataSources = new [] { new DataSourceProperty {
Arn = "arn",
DatabaseName = "databaseName",
Type = "type"
} },
Description = "description",
Domains = new [] { "domains" },
EnableSsl = false,
Environment = new [] { new EnvironmentVariableProperty {
Key = "key",
Secure = false,
Value = "value"
} },
Name = "name",
Shortname = "shortname",
SslConfiguration = new SslConfigurationProperty {
Certificate = "certificate",
Chain = "chain",
PrivateKey = "privateKey"
},
StackId = "stackId",
Type = "type"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Strategy
protected virtual IMergeStrategy Strategy { get; }
Property Value
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-app.html
CloudformationResource: AWS::OpsWorks::App
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.OpsWorks;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnAppPropsMixin = new CfnAppPropsMixin(new CfnAppMixinProps {
AppSource = new SourceProperty {
Password = "password",
Revision = "revision",
SshKey = "sshKey",
Type = "type",
Url = "url",
Username = "username"
},
Attributes = new Dictionary<string, string> {
{ "attributesKey", "attributes" }
},
DataSources = new [] { new DataSourceProperty {
Arn = "arn",
DatabaseName = "databaseName",
Type = "type"
} },
Description = "description",
Domains = new [] { "domains" },
EnableSsl = false,
Environment = new [] { new EnvironmentVariableProperty {
Key = "key",
Secure = false,
Value = "value"
} },
Name = "name",
Shortname = "shortname",
SslConfiguration = new SslConfigurationProperty {
Certificate = "certificate",
Chain = "chain",
PrivateKey = "privateKey"
},
StackId = "stackId",
Type = "type"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override void ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Overrides
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-app.html
CloudformationResource: AWS::OpsWorks::App
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-app.html
CloudformationResource: AWS::OpsWorks::App
Mixin: true
ExampleMetadata: fixture=_generated