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. |
Retrieval |
The IAM role to retrieve the configuration. |
Version |
The version number of the sourced configuration to deploy. |
Properties
Location
The location where the configuration is stored.
ConfigurationSource Location { get; }
Property Value
RetrievalRole
The IAM role to retrieve the configuration.
virtual 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.
virtual string VersionNumber { get; }
Property Value
System.
Remarks
If this is not specified, then there will be no deployment.
Default: - None.