Options for defining access for a Docker Credential composed of ECR repos

interface EcrDockerCredentialOptions {
    assumeRole?: IRole;
    usages?: DockerCredentialUsage[];
}

Properties

Properties

assumeRole?: IRole

An IAM role to assume prior to accessing the secret.

- none. The current execution role will be used.

Defines which stages of the pipeline should be granted access to these credentials.

- all relevant stages (synth, self-update, asset publishing) are granted access.