@Stability(value=Deprecated) @Deprecated @Internal public static final class JsiiReleaseNpm.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements JsiiReleaseNpm
JsiiReleaseNpmsoftware.amazon.jsii.JsiiObject.InitializationModeJsiiReleaseNpm.Builder, JsiiReleaseNpm.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Deprecated.
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(JsiiReleaseNpm.Builder builder)
Deprecated.
Constructor that initializes the object based on literal property values passed by the
JsiiReleaseNpm.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson()
Deprecated.
|
boolean |
equals(Object o)
Deprecated.
|
CodeArtifactOptions |
getCodeArtifactOptions()
Deprecated.
(experimental) Options for publishing npm package to AWS CodeArtifact.
|
String |
getDistTag()
Deprecated.
(deprecated) Tags can be used to provide an alias instead of version numbers.
|
String |
getNpmTokenSecret()
Deprecated.
(experimental) GitHub secret which contains the NPM token to use when publishing packages.
|
String |
getRegistry()
Deprecated.
(experimental) The domain name of the npm package registry.
|
int |
hashCode()
Deprecated.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(JsiiReleaseNpm.Builder builder)
JsiiReleaseNpm.Builder.public final CodeArtifactOptions getCodeArtifactOptions()
NpmPublishOptionsDefault: - undefined
getCodeArtifactOptions in interface NpmPublishOptionspublic final String getDistTag()
NpmPublishOptionsFor example, a project might choose to have multiple streams of development and use a different tag for each stream, e.g., stable, beta, dev, canary.
By default, the latest tag is used by npm to identify the current version
of a package, and npm install <pkg> (without any @<version> or @<tag>
specifier) installs the latest tag. Typically, projects only use the
latest tag for stable release versions, and use other tags for unstable
versions such as prereleases.
The next tag is used by some projects to identify the upcoming version.
Default: "latest"
getDistTag in interface NpmPublishOptionspublic final String getNpmTokenSecret()
NpmPublishOptionsDefault: - "NPM_TOKEN" or "GITHUB_TOKEN" if `registry` is set to `npm.pkg.github.com`.
getNpmTokenSecret in interface NpmPublishOptionspublic final String getRegistry()
NpmPublishOptions
To publish to GitHub Packages, set this value to "npm.pkg.github.com". In
this if npmTokenSecret is not specified, it will default to
GITHUB_TOKEN which means that you will be able to publish to the
repository's package store. In this case, make sure repositoryUrl is
correctly defined.
Default: "registry.npmjs.org"
Example:
// Example automatically generated from non-compiling source. May contain errors. "npm.pkg.github.com"
getRegistry in interface NpmPublishOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.