Interface AttiniCdkProps

interface AttiniCdkProps {
    app?: string;
    buildCommands?: string;
    buildExclude?: string[];
    context?: {
        [key: string]: string;
    };
    diff?: DiffProps;
    environment?: {
        [key: string]: string;
    };
    force?: boolean;
    notificationArns?: string[];
    path: string;
    plugins?: string[];
    roleArn?: string;
    runner?: string;
    stackConfiguration?: StackConfigurationProps[];
    stacks?: string[];
}

Properties

app?: string

Passed to the CDK --app option.

buildCommands?: string

Passed to the CDK --build option

buildExclude?: string[]

Passed to the CDK --build-exclude option

context?: {
    [key: string]: string;
}

Passed to the CDK --context option.

Type declaration

  • [key: string]: string
diff?: DiffProps

Configure if you want Attini to perform a diff check on the CDK app before any changes are applied. If there are any changes performed on the CDK app, then manual approval will be required before the changes are applied.

environment?: {
    [key: string]: string;
}

Environment variables that will be set in the shell for the runner job.

Type declaration

  • [key: string]: string
force?: boolean

Passed to the CDK --force option

notificationArns?: string[]

Passed to the CDK --notification-arns option

path: string

The path to the CDK project.

plugins?: string[]

Passed to the CDK --plugins option

roleArn?: string

Passed to the CDK --role-arn option

runner?: string

A reference to an AttiniRunner to use for executing the job. Use AttiniRunner.runnerName to get a reference.

If omitted the Attini default runner will be used.

stackConfiguration?: StackConfigurationProps[]

Passed to the CDK --parameters options.

stacks?: string[]

Stacks to deploy.

Generated using TypeDoc