Module gcip.addons.aws.sequences.cdk

Classes

class DiffDeploy (*, stacks: List[str], context: Optional[Dict[str, str]] = None)

A Sequence collects multiple Jobs and/or other Sequences into a group.

Expand source code
class DiffDeploy(Sequence):
    def __init__(
        self,
        *,
        stacks: List[str],
        context: Optional[Dict[str, str]] = None,
    ) -> None:
        super().__init__()

        #
        # cdk diff
        #
        self.diff_job = Diff(stacks=stacks, context=context)

        #
        # cdk deploy
        #
        self.deploy_job = Deploy(stacks=stacks, context=context)
        self.deploy_job.add_needs(self.diff_job)

        self.add_children(
            self.diff_job,
            self.deploy_job,
        )

Ancestors

Inherited members

class DiffDeployOpts (*, stacks: List[str], context: Optional[Dict[str, str]] = None)

DiffDeployOpts(*, stacks: List[str], context: Optional[Dict[str, str]] = None)

Expand source code
@dataclass(kw_only=True)
class DiffDeployOpts:
    stacks: List[str]
    context: Optional[Dict[str, str]] = None

Class variables

var context : Optional[Dict[str, str]]
var stacks : List[str]