Interface AttiniSamProps

interface AttiniSamProps {
    action?: CfnAction;
    configFile?: string;
    enableTerminationProtection?: boolean;
    executionRoleArn?: string;
    parameters?: {
        [key: string]: string;
    };
    project: Project;
    stackName: string;
    stackRoleArn?: string;
    tags?: {
        [key: string]: string;
    };
    variables?: {
        [key: string]: string;
    };
}

Properties

action?: CfnAction

Specify if the stack should be created/updated or deleted.

configFile?: string

Specifies a path to a configuration file for the stack.

For more information, see the documentation

enableTerminationProtection?: boolean

Specify if termination protection should be enabled for the stack.

For more information, see the AWS documentation.

executionRoleArn?: string

The role that should be assumed when the Attini Framework deploys the CloudFormation stack.

The ExecutionRole has to trust the following role so that it can be assumed:

arn:aws:iam::{AccountId}:role/attini/attini-action-role-{Region}
parameters?: {
    [key: string]: string;
}

The parameters for the stack.

For more information, see the documentation

Type declaration

  • [key: string]: string
project: Project

SAM project config

stackName: string

The name that should be given to the stack when deployed. The name must be unique in the Region in which you are creating the stack.

stackRoleArn?: string

The arn of the StackRole, find more info here: AWS CloudFormation service role

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

The tags for the stack

Type declaration

  • [key: string]: string
variables?: {
    [key: string]: string;
}

Variables that should be passed to any configFile that is configured. Variables can be referenced in the configuration file and can be used to pass data from the payload to the configuration.

Type declaration

  • [key: string]: string

Generated using TypeDoc