Class ConfigurationContent

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

@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-04-10T22:22:37.124Z") @Stability(Deprecated) @Deprecated public abstract class ConfigurationContent extends software.amazon.jsii.JsiiObject
Deprecated.
(deprecated) Defines the hosted configuration content.

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.*;
 ConfigurationContent configurationContent = ConfigurationContent.fromFile("inputPath", "contentType");
 
  • Constructor Details

    • ConfigurationContent

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

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

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

    • fromFile

      @Stability(Deprecated) @Deprecated @NotNull public static ConfigurationContent fromFile(@NotNull String inputPath, @Nullable String contentType)
      Deprecated.
      (deprecated) Defines the hosted configuration content from a file.

      Parameters:
      inputPath - The path to the file that defines configuration content. This parameter is required.
      contentType - The content type of the configuration.
    • fromFile

      @Stability(Deprecated) @Deprecated @NotNull public static ConfigurationContent fromFile(@NotNull String inputPath)
      Deprecated.
      (deprecated) Defines the hosted configuration content from a file.

      Parameters:
      inputPath - The path to the file that defines configuration content. This parameter is required.
    • fromInline

      @Stability(Deprecated) @Deprecated @NotNull public static ConfigurationContent fromInline(@NotNull String content, @Nullable String contentType)
      Deprecated.
      (deprecated) Defines the hosted configuration content from inline code.

      Parameters:
      content - The inline code that defines the configuration content. This parameter is required.
      contentType - The content type of the configuration.
    • fromInline

      @Stability(Deprecated) @Deprecated @NotNull public static ConfigurationContent fromInline(@NotNull String content)
      Deprecated.
      (deprecated) Defines the hosted configuration content from inline code.

      Parameters:
      content - The inline code that defines the configuration content. This parameter is required.
    • fromInlineJson

      @Stability(Deprecated) @Deprecated @NotNull public static ConfigurationContent fromInlineJson(@NotNull String content, @Nullable String contentType)
      Deprecated.
      (deprecated) Defines the hosted configuration content as JSON from inline code.

      Parameters:
      content - The inline code that defines the configuration content. This parameter is required.
      contentType - The content type of the configuration.
    • fromInlineJson

      @Stability(Deprecated) @Deprecated @NotNull public static ConfigurationContent fromInlineJson(@NotNull String content)
      Deprecated.
      (deprecated) Defines the hosted configuration content as JSON from inline code.

      Parameters:
      content - The inline code that defines the configuration content. This parameter is required.
    • fromInlineText

      @Stability(Deprecated) @Deprecated @NotNull public static ConfigurationContent fromInlineText(@NotNull String content)
      Deprecated.
      (deprecated) Defines the hosted configuration content as text from inline code.

      Parameters:
      content - The inline code that defines the configuration content. This parameter is required.
    • fromInlineYaml

      @Stability(Deprecated) @Deprecated @NotNull public static ConfigurationContent fromInlineYaml(@NotNull String content)
      Deprecated.
      (deprecated) Defines the hosted configuration content as YAML from inline code.

      Parameters:
      content - The inline code that defines the configuration content. This parameter is required.
    • getContent

      @Stability(Deprecated) @Deprecated @NotNull public abstract String getContent()
      Deprecated.
      (deprecated) The configuration content.
    • getContentType

      @Stability(Deprecated) @Deprecated @NotNull public abstract String getContentType()
      Deprecated.
      (deprecated) The configuration content type.