Class SetupPy

  • All Implemented Interfaces:
    software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

    @Generated(value="jsii-pacmak/1.96.0 (build 921e240)",
               date="2024-03-28T21:16:43.246Z")
    @Stability(Experimental)
    public class SetupPy
    extends FileBase
    (experimental) Python packaging script where package metadata can be placed.
    • Constructor Detail

      • SetupPy

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

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

        @Stability(Experimental)
        public SetupPy​(@NotNull
                       Project project,
                       @NotNull
                       SetupPyOptions options)
        Parameters:
        project - This parameter is required.
        options - This parameter is required.
    • Method Detail

      • synthesizeContent

        @Stability(Experimental)
        @Nullable
        protected String synthesizeContent​(@NotNull
                                           IResolver resolver)
        (experimental) Implemented by derived classes and returns the contents of the file to emit.

        Specified by:
        synthesizeContent in class FileBase
        Parameters:
        resolver - This parameter is required.
        Returns:
        the content to synthesize or undefined to skip the file