Show / Hide Table of Contents

Interface ISourcedConfigurationProps

Properties for SourcedConfiguration.

Inherited Members
IConfigurationProps.Application
IConfigurationOptions.DeletionProtectionCheck
IConfigurationOptions.DeploymentKey
IConfigurationOptions.DeploymentStrategy
IConfigurationOptions.DeployTo
IConfigurationOptions.Description
IConfigurationOptions.Name
IConfigurationOptions.Type
IConfigurationOptions.Validators
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

ConfigurationSource

Remarks

ExampleMetadata: infused

RetrievalRole

The IAM role to retrieve the configuration.

IRole? RetrievalRole { get; }
Property Value

IRole

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

string

Remarks

If this is not specified, then there will be no deployment.

Default: - None.

Back to top Generated by DocFX