Package org.cdk8s

Class AppProps.Jsii$Proxy

  • All Implemented Interfaces:
    AppProps, software.amazon.jsii.JsiiSerializable
    Enclosing interface:
    AppProps

    @Stability(Stable)
    @Internal
    public static final class AppProps.Jsii$Proxy
    extends software.amazon.jsii.JsiiObject
    implements AppProps
    An implementation for AppProps
    • Constructor Detail

      • Jsii$Proxy

        protected Jsii$Proxy​(software.amazon.jsii.JsiiObjectRef objRef)
        Constructor that initializes the object based on values retrieved from the JsiiObject.
        Parameters:
        objRef - Reference to the JSII managed object.
      • Jsii$Proxy

        protected Jsii$Proxy​(AppProps.Builder builder)
        Constructor that initializes the object based on literal property values passed by the AppProps.Builder.
    • Method Detail

      • getOutdir

        public final String getOutdir()
        Description copied from interface: AppProps
        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"

        Specified by:
        getOutdir in interface AppProps
      • getOutputFileExtension

        public final String getOutputFileExtension()
        Description copied from interface: AppProps
        The file extension to use for rendered YAML files.

        Default: .k8s.yaml

        Specified by:
        getOutputFileExtension in interface AppProps
      • getRecordConstructMetadata

        public final Boolean getRecordConstructMetadata()
        Description copied from interface: AppProps
        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

        Specified by:
        getRecordConstructMetadata in interface AppProps
      • getYamlOutputType

        public final YamlOutputType getYamlOutputType()
        Description copied from interface: AppProps
        How to divide the YAML output into files.

        Default: YamlOutputType.FILE_PER_CHART

        Specified by:
        getYamlOutputType in interface AppProps
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object