@Stability(value=Experimental) public static final class CodeArtifactOptions.Builder extends Object implements software.amazon.jsii.Builder<CodeArtifactOptions>
CodeArtifactOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CodeArtifactOptions.Builder |
accessKeyIdSecret(String accessKeyIdSecret)
Sets the value of
CodeArtifactOptions.getAccessKeyIdSecret() |
CodeArtifactOptions |
build()
Builds the configured instance.
|
CodeArtifactOptions.Builder |
roleToAssume(String roleToAssume)
Sets the value of
CodeArtifactOptions.getRoleToAssume() |
CodeArtifactOptions.Builder |
secretAccessKeySecret(String secretAccessKeySecret)
Sets the value of
CodeArtifactOptions.getSecretAccessKeySecret() |
@Stability(value=Experimental) public CodeArtifactOptions.Builder accessKeyIdSecret(String accessKeyIdSecret)
CodeArtifactOptions.getAccessKeyIdSecret()accessKeyIdSecret - GitHub secret which contains the AWS access key ID to use when publishing packages to AWS CodeArtifact.
This property must be specified only when publishing to AWS CodeArtifact (npmRegistryUrl contains AWS CodeArtifact URL).this@Stability(value=Experimental) public CodeArtifactOptions.Builder roleToAssume(String roleToAssume)
CodeArtifactOptions.getRoleToAssume()roleToAssume - ARN of AWS role to be assumed prior to get authorization token from AWS CodeArtifact This property must be specified only when publishing to AWS CodeArtifact (`registry` contains AWS CodeArtifact URL).this@Stability(value=Experimental) public CodeArtifactOptions.Builder secretAccessKeySecret(String secretAccessKeySecret)
CodeArtifactOptions.getSecretAccessKeySecret()secretAccessKeySecret - GitHub secret which contains the AWS secret access key to use when publishing packages to AWS CodeArtifact.
This property must be specified only when publishing to AWS CodeArtifact (npmRegistryUrl contains AWS CodeArtifact URL).this@Stability(value=Experimental) public CodeArtifactOptions build()
build in interface software.amazon.jsii.Builder<CodeArtifactOptions>CodeArtifactOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.