Package org.cdk8s

Interface ApiObjectProps

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

    @Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
               date="2023-07-17T00:29:41.252Z")
    @Stability(Stable)
    public interface ApiObjectProps
    extends software.amazon.jsii.JsiiSerializable
    Options for defining API objects.
    • Method Detail

      • getApiVersion

        @Stability(Stable)
        @NotNull
        String getApiVersion()
        API version.
      • getKind

        @Stability(Stable)
        @NotNull
        String getKind()
        Resource kind.
      • getMetadata

        @Stability(Stable)
        @Nullable
        default ApiObjectMetadata getMetadata()
        Object metadata.

        If name is not specified, an app-unique name will be allocated by the framework based on the path of the construct within thes construct tree.