Package org.cdk8s
Class AppProps.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.AppProps.Jsii$Proxy
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface org.cdk8s.AppProps
AppProps.Builder, AppProps.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(AppProps.Builder builder)
Constructor that initializes the object based on literal property values passed by theAppProps.Builder
.protected
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode
$jsii$toJson()
boolean
equals(Object o)
String
getOutdir()
The directory to output Kubernetes manifests.String
getOutputFileExtension()
The file extension to use for rendered YAML files.Boolean
getRecordConstructMetadata()
When set to true, the output directory will contain aconstruct-metadata.json
file that holds construct related metadata on every resource in the app.List<IResolver>
getResolvers()
A list of resolvers that can be used to replace property values before they are written to the manifest file.YamlOutputType
getYamlOutputType()
How to divide the YAML output into files.int
hashCode()
-
-
-
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 theAppProps.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 theoutput
property in thecdk8s.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
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 interfaceAppProps
-
getRecordConstructMetadata
public final Boolean getRecordConstructMetadata()
Description copied from interface:AppProps
When set to true, the output directory will contain aconstruct-metadata.json
file that holds construct related metadata on every resource in the app.Default: false
- Specified by:
getRecordConstructMetadata
in interfaceAppProps
-
getResolvers
public final List<IResolver> getResolvers()
Description copied from interface:AppProps
A list of resolvers that can be used to replace property values before they are written to the manifest file.When multiple resolvers are passed, they are invoked by order in the list, and only the first one that applies (e.g calls
context.replaceValue
) is invoked.Default: - no resolvers.
- Specified by:
getResolvers
in interfaceAppProps
- See Also:
- https://cdk8s.io/docs/latest/basics/app/#resolvers
-
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 interfaceAppProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-