Class CodeArtifactOptions.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.projen.release.CodeArtifactOptions.Jsii$Proxy
-
- All Implemented Interfaces:
CodeArtifactOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CodeArtifactOptions
@Stability(Experimental) @Internal public static final class CodeArtifactOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CodeArtifactOptions
An implementation forCodeArtifactOptions
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface io.github.cdklabs.projen.release.CodeArtifactOptions
CodeArtifactOptions.Builder, CodeArtifactOptions.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(CodeArtifactOptions.Builder builder)Constructor that initializes the object based on literal property values passed by theCodeArtifactOptions.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)StringgetAccessKeyIdSecret()(experimental) GitHub secret which contains the AWS access key ID to use when publishing packages to AWS CodeArtifact.CodeArtifactAuthProvidergetAuthProvider()(experimental) Provider to use for authorizing requests to AWS CodeArtifact.StringgetRoleToAssume()(experimental) 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 (registrycontains AWS CodeArtifact URL).StringgetSecretAccessKeySecret()(experimental) GitHub secret which contains the AWS secret access key to use when publishing packages to AWS CodeArtifact.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(CodeArtifactOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by theCodeArtifactOptions.Builder.
-
-
Method Detail
-
getAccessKeyIdSecret
public final String getAccessKeyIdSecret()
Description copied from interface:CodeArtifactOptions(experimental) 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 (
npmRegistryUrlcontains AWS CodeArtifact URL).Default: - When the `authProvider` value is set to `CodeArtifactAuthProvider.ACCESS_AND_SECRET_KEY_PAIR`, the default is "AWS_ACCESS_KEY_ID". For `CodeArtifactAuthProvider.GITHUB_OIDC`, this value must be left undefined.
- Specified by:
getAccessKeyIdSecretin interfaceCodeArtifactOptions
-
getAuthProvider
public final CodeArtifactAuthProvider getAuthProvider()
Description copied from interface:CodeArtifactOptions(experimental) Provider to use for authorizing requests to AWS CodeArtifact.Default: CodeArtifactAuthProvider.ACCESS_AND_SECRET_KEY_PAIR
- Specified by:
getAuthProviderin interfaceCodeArtifactOptions
-
getRoleToAssume
public final String getRoleToAssume()
Description copied from interface:CodeArtifactOptions(experimental) 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 (registrycontains AWS CodeArtifact URL).When using the
CodeArtifactAuthProvider.GITHUB_OIDCauth provider, this value must be defined.Default: undefined
- Specified by:
getRoleToAssumein interfaceCodeArtifactOptions
-
getSecretAccessKeySecret
public final String getSecretAccessKeySecret()
Description copied from interface:CodeArtifactOptions(experimental) 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 (
npmRegistryUrlcontains AWS CodeArtifact URL).Default: - When the `authProvider` value is set to `CodeArtifactAuthProvider.ACCESS_AND_SECRET_KEY_PAIR`, the default is "AWS_SECRET_ACCESS_KEY". For `CodeArtifactAuthProvider.GITHUB_OIDC`, this value must be left undefined.
- Specified by:
getSecretAccessKeySecretin interfaceCodeArtifactOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-