aws_ddk package

ddk

AWS DDK CLI.

ddk [OPTIONS] COMMAND [ARGS]...

Options

--version

Show the version and exit.

--debug, --no-debug

Turn debug logging on/off.

Default

False

bootstrap

Bootstrap the AWS account with DDK resources.

ddk bootstrap [OPTIONS]

Options

-e, --environment <environment>

Required The id of the environment.

Default

dev

-p, --profile <profile>

Use a specific profile from your AWS credentials file.

-r, --region <region>

AWS Region name (e.g. us-east-1). If None, it will be inferred.

--prefix <prefix>

The prefix to resource names.

Default

ddk

--qualifier <qualifier>

The CDK bootstrap qualifier.

-a, --trusted-accounts <trusted_accounts>

List of trusted AWS accounts to perform deployments (e.g. -a 111111111111 -a 222222222222).

-i, --iam-policies <iam_policies>

List of IAM managed policy ARNs that should be attached to the role performing deployments. (e.g. -i arn1 -i arn2)

--permissions-boundary <permissions_boundary>

IAM managed permissions boundary policy ARN that should be attached to the role performing deployments.

-t, --tags <tags>

List of tags to apply to the stack (e.g -t CostCenter 1984 -t Framework DDK).

create-repository

Create a code repository from the source system provider.

NAME is the name of the repository.

ddk create-repository [OPTIONS] NAME

Options

-p, --profile <profile>

Use a specific profile from your AWS credentials file.

-r, --region <region>

AWS Region name (e.g. us-east-1). If None, it will be inferred.

-d, --description <description>

The description of the repository.

-t, --tags <tags>

List of tags to apply to the repository (e.g -t CostCenter 1984 -t Framework DDK).

Arguments

NAME

Required argument

deploy

Deploy DDK stacks to AWS account.

ddk deploy [OPTIONS] [STACKS]

Options

-p, --profile <profile>

Use a specific profile from your AWS credentials file.

--require-approval <require_approval>

What security-sensitive changes need manual approval.

Options

never | any-change | broadening

-f, --force

Always deploy stack even if templates are identical.

-o, --output-dir <output_dir>

Directory where cloud assembly is synthesized.

Arguments

STACKS

Optional argument

init

Create the local structure for a new AWS DDK Python project.

NAME is the name of the project.

ddk init [OPTIONS] NAME

Options

-e, --environment <environment>

Required The id of the environment.

Default

dev

-t, --template <template>

A directory containing a project template directory, or a URL to a git repository

--generate-only

If true, only generates project files, without setting up a git repo or a virtual environment

Default

False

Arguments

NAME

Required argument