Class Resource

    • Nested Class Summary

      • Nested classes/interfaces inherited from class software.constructs.Construct

        software.constructs.Construct.Builder
      • Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

        software.amazon.jsii.JsiiObject.InitializationMode
      • Nested classes/interfaces inherited from interface software.constructs.IConstruct

        software.constructs.IConstruct.Jsii$Default
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Resource​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)  
      protected Resource​(software.amazon.jsii.JsiiObjectRef objRef)  
      protected Resource​(software.constructs.Construct scope, String id)
      Creates a new construct node.
      protected Resource​(software.constructs.Construct scope, String id, software.constructs.ConstructOptions options)
      Creates a new construct node.
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected abstract org.cdk8s.ApiObject getApiObject()
      The underlying cdk8s API object.
      org.cdk8s.ApiObjectMetadataDefinition getMetadata()  
      String getName()
      The name of this API object.
      • Methods inherited from class software.constructs.Construct

        onPrepare, onSynthesize, onValidate, toString
      • Methods inherited from class software.amazon.jsii.JsiiObject

        jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
      • Methods inherited from interface software.amazon.jsii.JsiiSerializable

        $jsii$toJson
    • Constructor Detail

      • Resource

        protected Resource​(software.amazon.jsii.JsiiObjectRef objRef)
      • Resource

        protected Resource​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      • Resource

        @Stability(Stable)
        protected Resource​(@NotNull
                           software.constructs.Construct scope,
                           @NotNull
                           String id,
                           @Nullable
                           software.constructs.ConstructOptions options)
        Creates a new construct node.

        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        id - The scoped construct ID. This parameter is required.
        options - Options.
      • Resource

        @Stability(Stable)
        protected Resource​(@NotNull
                           software.constructs.Construct scope,
                           @NotNull
                           String id)
        Creates a new construct node.

        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        id - The scoped construct ID. This parameter is required.
    • Method Detail

      • getApiObject

        @Stability(Stable)
        @NotNull
        protected abstract org.cdk8s.ApiObject getApiObject()
        The underlying cdk8s API object.
      • getMetadata

        @Stability(Stable)
        @NotNull
        public org.cdk8s.ApiObjectMetadataDefinition getMetadata()
      • getName

        @Stability(Stable)
        @NotNull
        public String getName()
        The name of this API object.
        Specified by:
        getName in interface IResource