Interface CdkConfigCommonOptions

    • Method Detail

      • getBuildCommand

        @Stability(Experimental)
        @Nullable
        default String getBuildCommand()
        (experimental) A command to execute before synthesis.

        This command will be called when running cdk synth or when cdk watch identifies a change in your source code before redeployment.

        Default: - no build command

      • getCdkout

        @Stability(Experimental)
        @Nullable
        default String getCdkout()
        (experimental) cdk.out directory.

        Default: "cdk.out"

      • getContext

        @Stability(Experimental)
        @Nullable
        default Map<String,​Object> getContext()
        (experimental) Additional context to include in cdk.json.

        Default: - no additional context

      • getFeatureFlags

        @Stability(Experimental)
        @Nullable
        default Boolean getFeatureFlags()
        (experimental) Include all feature flags in cdk.json.

        Default: true

      • getRequireApproval

        @Stability(Experimental)
        @Nullable
        default ApprovalLevel getRequireApproval()
        (experimental) To protect you against unintended changes that affect your security posture, the AWS CDK Toolkit prompts you to approve security-related changes before deploying them.

        Default: ApprovalLevel.BROADENING

      • getWatchExcludes

        @Stability(Experimental)
        @Nullable
        default List<String> getWatchExcludes()
        (experimental) Glob patterns to exclude from cdk watch.

        Default: []

      • getWatchIncludes

        @Stability(Experimental)
        @Nullable
        default List<String> getWatchIncludes()
        (experimental) Glob patterns to include in cdk watch.

        Default: []