Interface IHostedConfigurationOptions
Options for HostedConfiguration.
Inherited Members
Namespace: Amazon.CDK.AWS.AppConfig
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IHostedConfigurationOptions : IConfigurationOptions
Syntax (vb)
Public Interface IHostedConfigurationOptions Inherits IConfigurationOptions
Remarks
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.AWS.AppConfig;
using Amazon.CDK.AWS.KMS;
using Amazon.CDK.Interfaces.AppConfig;
ConfigurationContent configurationContent;
IDeploymentStrategyRef deploymentStrategyRef;
Environment environment;
Key key;
IValidator validator;
var hostedConfigurationOptions = new HostedConfigurationOptions {
Content = configurationContent,
// the properties below are optional
DeletionProtectionCheck = DeletionProtectionCheck.ACCOUNT_DEFAULT,
DeploymentKey = key,
DeploymentStrategy = deploymentStrategyRef,
DeployTo = new [] { environment },
Description = "description",
LatestVersionNumber = 123,
Name = "name",
Type = ConfigurationType.FREEFORM,
Validators = new [] { validator },
VersionLabel = "versionLabel"
};
Synopsis
Properties
| Content | The content of the hosted configuration. |
| LatestVersionNumber | The latest version number of the hosted configuration. |
| VersionLabel | The version label of the hosted configuration. |
Properties
Content
The content of the hosted configuration.
ConfigurationContent Content { get; }
Property Value
Remarks
ExampleMetadata: fixture=_generated
LatestVersionNumber
The latest version number of the hosted configuration.
double? LatestVersionNumber { get; }
Property Value
Remarks
Default: - None.
VersionLabel
The version label of the hosted configuration.
string? VersionLabel { get; }
Property Value
Remarks
Default: - None.