@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.938Z") @Stability(value=Stable) public interface EcrDockerCredentialOptions extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iam.*;
import software.amazon.awscdk.pipelines.*;
Role role;
EcrDockerCredentialOptions ecrDockerCredentialOptions = EcrDockerCredentialOptions.builder()
.assumeRole(role)
.usages(List.of(DockerCredentialUsage.SYNTH))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
EcrDockerCredentialOptions.Builder
A builder for
EcrDockerCredentialOptions |
static class |
EcrDockerCredentialOptions.Jsii$Proxy
An implementation for
EcrDockerCredentialOptions |
| Modifier and Type | Method and Description |
|---|---|
static EcrDockerCredentialOptions.Builder |
builder() |
default IRole |
getAssumeRole()
An IAM role to assume prior to accessing the secret.
|
default List<DockerCredentialUsage> |
getUsages()
Defines which stages of the pipeline should be granted access to these credentials.
|
@Stability(value=Stable) @Nullable default IRole getAssumeRole()
Default: - none. The current execution role will be used.
@Stability(value=Stable) @Nullable default List<DockerCredentialUsage> getUsages()
Default: - all relevant stages (synth, self-update, asset publishing) are granted access.
@Stability(value=Stable) static EcrDockerCredentialOptions.Builder builder()
EcrDockerCredentialOptions.Builder of EcrDockerCredentialOptionsCopyright © 2022. All rights reserved.