Interface IEnvironmentProps
Properties for the Environment construct.
Inherited Members
Namespace: Amazon.CDK.AWS.AppConfig
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IEnvironmentProps : IEnvironmentOptions
Syntax (vb)
Public Interface IEnvironmentProps Inherits IEnvironmentOptions
Remarks
ExampleMetadata: infused
Examples
var app = new Application(this, "MyApp");
var env = new Environment(this, "MyEnv", new EnvironmentProps {
Application = app
});
new HostedConfiguration(this, "MyFirstHostedConfig", new HostedConfigurationProps {
Application = app,
DeployTo = new [] { env },
Content = ConfigurationContent.FromInlineText("This is my first configuration content.")
});
new HostedConfiguration(this, "MySecondHostedConfig", new HostedConfigurationProps {
Application = app,
DeployTo = new [] { env },
Content = ConfigurationContent.FromInlineText("This is my second configuration content.")
});
Synopsis
Properties
| Application | The application to be associated with the environment. |
Properties
Application
The application to be associated with the environment.
IApplication Application { get; }
Property Value
Remarks
ExampleMetadata: infused