Class ConfigurationSource

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.appconfig.alpha.ConfigurationSource
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:15.566Z") @Stability(Deprecated) @Deprecated public abstract class ConfigurationSource extends software.amazon.jsii.JsiiObject
Deprecated.
(deprecated) Defines the integrated configuration sources.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.appconfig.alpha.*;
 import software.amazon.awscdk.services.kms.*;
 import software.amazon.awscdk.services.s3.*;
 Bucket bucket;
 Key key;
 ConfigurationSource configurationSource = ConfigurationSource.fromBucket(bucket, "objectKey", key);
 
  • Constructor Details

    • ConfigurationSource

      protected ConfigurationSource(software.amazon.jsii.JsiiObjectRef objRef)
      Deprecated.
    • ConfigurationSource

      protected ConfigurationSource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      Deprecated.
    • ConfigurationSource

      @Stability(Deprecated) @Deprecated protected ConfigurationSource()
      Deprecated.
  • Method Details

    • fromBucket

      @Stability(Deprecated) @Deprecated @NotNull public static ConfigurationSource fromBucket(@NotNull IBucket bucket, @NotNull String objectKey, @Nullable IKey key)
      Deprecated.
      (deprecated) Defines configuration content from an Amazon S3 bucket.

      Parameters:
      bucket - The S3 bucket where the configuration is stored. This parameter is required.
      objectKey - The path to the configuration. This parameter is required.
      key - The KMS Key that the bucket is encrypted with.
    • fromBucket

      @Stability(Deprecated) @Deprecated @NotNull public static ConfigurationSource fromBucket(@NotNull IBucket bucket, @NotNull String objectKey)
      Deprecated.
      (deprecated) Defines configuration content from an Amazon S3 bucket.

      Parameters:
      bucket - The S3 bucket where the configuration is stored. This parameter is required.
      objectKey - The path to the configuration. This parameter is required.
    • fromCfnDocument

      @Stability(Deprecated) @Deprecated @NotNull public static ConfigurationSource fromCfnDocument(@NotNull CfnDocument document)
      Deprecated.
      (deprecated) Defines configuration content from a Systems Manager (SSM) document.

      Parameters:
      document - The SSM document where the configuration is stored. This parameter is required.
    • fromParameter

      @Stability(Deprecated) @Deprecated @NotNull public static ConfigurationSource fromParameter(@NotNull IParameter parameter, @Nullable IKey key)
      Deprecated.
      (deprecated) Defines configuration content from a Systems Manager (SSM) Parameter Store parameter.

      Parameters:
      parameter - The parameter where the configuration is stored. This parameter is required.
      key - The KMS Key that the secure string is encrypted with.
    • fromParameter

      @Stability(Deprecated) @Deprecated @NotNull public static ConfigurationSource fromParameter(@NotNull IParameter parameter)
      Deprecated.
      (deprecated) Defines configuration content from a Systems Manager (SSM) Parameter Store parameter.

      Parameters:
      parameter - The parameter where the configuration is stored. This parameter is required.
    • fromPipeline

      @Stability(Deprecated) @Deprecated @NotNull public static ConfigurationSource fromPipeline(@NotNull IPipeline pipeline)
      Deprecated.
      (deprecated) Defines configuration content from AWS CodePipeline.

      Parameters:
      pipeline - The pipeline where the configuration is stored. This parameter is required.
    • fromSecret

      @Stability(Deprecated) @Deprecated @NotNull public static ConfigurationSource fromSecret(@NotNull ISecret secret)
      Deprecated.
      (deprecated) Defines configuration content from an AWS Secrets Manager secret.

      Parameters:
      secret - The secret where the configuration is stored. This parameter is required.
    • getLocationUri

      @Stability(Deprecated) @Deprecated @NotNull public abstract String getLocationUri()
      Deprecated.
      (deprecated) The URI of the configuration source.
    • getType

      @Stability(Deprecated) @Deprecated @NotNull public abstract ConfigurationSourceType getType()
      Deprecated.
      (deprecated) The type of the configuration source.
    • getKey

      @Stability(Deprecated) @Deprecated @Nullable public abstract IKey getKey()
      Deprecated.
      (deprecated) The KMS Key that encrypts the configuration.