Interface ISourcedConfigurationProps
Properties for SourcedConfiguration.
Inherited Members
Namespace: Amazon.CDK.AWS.AppConfig
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ISourcedConfigurationProps : IConfigurationProps, IConfigurationOptions
Syntax (vb)
Public Interface ISourcedConfigurationProps Inherits IConfigurationProps, IConfigurationOptions
Remarks
ExampleMetadata: infused
Examples
Application application;
Bucket bucket;
new SourcedConfiguration(this, "MySourcedConfiguration", new SourcedConfigurationProps {
Application = application,
Location = ConfigurationSource.FromBucket(bucket, "path/to/file.json"),
Type = ConfigurationType.FEATURE_FLAGS,
Name = "MyConfig",
Description = "This is my sourced configuration from CDK."
});
Synopsis
Properties
Location | The location where the configuration is stored. |
RetrievalRole | The IAM role to retrieve the configuration. |
VersionNumber | The version number of the sourced configuration to deploy. |
Properties
Location
The location where the configuration is stored.
ConfigurationSource Location { get; }
Property Value
Remarks
ExampleMetadata: infused
RetrievalRole
The IAM role to retrieve the configuration.
IRole? RetrievalRole { get; }
Property Value
Remarks
Default: - Auto generated if location type is not ConfigurationSourceType.CODE_PIPELINE otherwise no role specified.
VersionNumber
The version number of the sourced configuration to deploy.
string? VersionNumber { get; }
Property Value
Remarks
If this is not specified, then there will be no deployment.
Default: - None.