Interface SourcedConfigurationProps

All Superinterfaces:
ConfigurationOptions, ConfigurationProps, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
SourcedConfigurationProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-24T02:42:33.478Z") @Stability(Stable) public interface SourcedConfigurationProps extends software.amazon.jsii.JsiiSerializable, ConfigurationProps
Properties for SourcedConfiguration.

Example:

 Application application;
 Bucket bucket;
 SourcedConfiguration.Builder.create(this, "MySourcedConfiguration")
         .application(application)
         .location(ConfigurationSource.fromBucket(bucket, "path/to/file.json"))
         .type(ConfigurationType.FEATURE_FLAGS)
         .name("MyConfig")
         .description("This is my sourced configuration from CDK.")
         .build();
 
  • Method Details

    • getLocation

      @Stability(Stable) @NotNull ConfigurationSource getLocation()
      The location where the configuration is stored.
    • getRetrievalRole

      @Stability(Stable) @Nullable default IRole getRetrievalRole()
      The IAM role to retrieve the configuration.

      Default: - A role is generated.

    • getVersionNumber

      @Stability(Stable) @Nullable default String getVersionNumber()
      The version number of the sourced configuration to deploy.

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

      Default: - None.

    • builder

      @Stability(Stable) static SourcedConfigurationProps.Builder builder()
      Returns:
      a SourcedConfigurationProps.Builder of SourcedConfigurationProps