Package org.cdk8s

Interface AppProps

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable
    All Known Implementing Classes:
    AppProps.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)",
               date="2023-01-25T00:10:37.003Z")
    @Stability(Stable)
    public interface AppProps
    extends software.amazon.jsii.JsiiSerializable
    • Method Detail

      • getOutdir

        @Stability(Stable)
        @Nullable
        default String getOutdir()
        The directory to output Kubernetes manifests.

        If you synthesize your application using cdk8s synth, you must also pass this value to the CLI using the --output option or the output property in the cdk8s.yaml configuration file. Otherwise, the CLI will not know about the output directory, and synthesis will fail.

        This property is intended for internal and testing use.

        Default: - CDK8S_OUTDIR if defined, otherwise "dist"

      • getOutputFileExtension

        @Stability(Stable)
        @Nullable
        default String getOutputFileExtension()
        The file extension to use for rendered YAML files.

        Default: .k8s.yaml

      • getRecordConstructMetadata

        @Stability(Stable)
        @Nullable
        default Boolean getRecordConstructMetadata()
        When set to true, the output directory will contain a `construct-metadata.json` file that holds construct related metadata on every resource in the app.

        Default: false

      • getYamlOutputType

        @Stability(Stable)
        @Nullable
        default YamlOutputType getYamlOutputType()
        How to divide the YAML output into files.

        Default: YamlOutputType.FILE_PER_CHART