Package io.github.cdklabs.projen.python
Class Projenrc
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.constructs.Construct
-
- io.github.cdklabs.projen.Component
-
- io.github.cdklabs.projen.ProjenrcFile
-
- io.github.cdklabs.projen.python.Projenrc
-
- 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.229Z") @Stability(Experimental) public class Projenrc extends ProjenrcFile
(experimental) Allows writing projenrc files in python.This will install
projenas a Python dependency and will add asynthtask which will run.projenrc.py.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProjenrc.Builder(experimental) A fluent builder forProjenrc.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFilePath()(experimental) The name of the projenrc file.StringgetPythonExec()(experimental) Path to the python executable to use.-
Methods inherited from class io.github.cdklabs.projen.ProjenrcFile
of, preSynthesize
-
Methods inherited from class io.github.cdklabs.projen.Component
getProject, isComponent, postSynthesize, synthesize
-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
Constructor Detail
-
Projenrc
protected Projenrc(software.amazon.jsii.JsiiObjectRef objRef)
-
Projenrc
protected Projenrc(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
Projenrc
@Stability(Experimental) public Projenrc(@NotNull Project project, @Nullable ProjenrcOptions options)- Parameters:
project- This parameter is required.options-
-
Projenrc
@Stability(Experimental) public Projenrc(@NotNull Project project)- Parameters:
project- This parameter is required.
-
-
Method Detail
-
getFilePath
@Stability(Experimental) @NotNull public String getFilePath()
(experimental) The name of the projenrc file.- Specified by:
getFilePathin classProjenrcFile
-
getPythonExec
@Stability(Experimental) @NotNull public String getPythonExec()
(experimental) Path to the python executable to use.
-
-