interface EcrDockerCredentialOptions
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.Pipelines.EcrDockerCredentialOptions | 
|  Java | software.amazon.awscdk.pipelines.EcrDockerCredentialOptions | 
|  Python | aws_cdk.pipelines.EcrDockerCredentialOptions | 
|  TypeScript (source) | @aws-cdk/pipelines»EcrDockerCredentialOptions | 
Options for defining access for a Docker Credential composed of ECR repos.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as iam from '@aws-cdk/aws-iam';
import * as pipelines from '@aws-cdk/pipelines';
declare const role: iam.Role;
const ecrDockerCredentialOptions: pipelines.EcrDockerCredentialOptions = {
  assumeRole: role,
  usages: [pipelines.DockerCredentialUsage.SYNTH],
};
Properties
| Name | Type | Description | 
|---|---|---|
| assume | IRole | An IAM role to assume prior to accessing the secret. | 
| usages? | Docker[] | Defines which stages of the pipeline should be granted access to these credentials. | 
assumeRole?
Type:
IRole
(optional, default: none. The current execution role will be used.)
An IAM role to assume prior to accessing the secret.
usages?
Type:
Docker[]
(optional, default: all relevant stages (synth, self-update, asset publishing) are granted access.)
Defines which stages of the pipeline should be granted access to these credentials.
