Class TomlFile

  • 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:42.815Z")
    @Stability(Experimental)
    public class TomlFile
    extends ObjectFile
    (experimental) Represents a TOML file.
    • Constructor Detail

      • TomlFile

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

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

        @Stability(Experimental)
        public TomlFile​(@NotNull
                        Project project,
                        @NotNull
                        String filePath,
                        @NotNull
                        TomlFileOptions options)
        Parameters:
        project - This parameter is required.
        filePath - 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.

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