@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-25T18:28:59.574Z") public class CfnPackageVersion extends CfnResource implements IInspectable
Registers a package version.
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.panorama.*; CfnPackageVersion cfnPackageVersion = CfnPackageVersion.Builder.create(this, "MyCfnPackageVersion") .packageId("packageId") .packageVersion("packageVersion") .patchVersion("patchVersion") // the properties below are optional .markLatest(false) .ownerAccount("ownerAccount") .updatedLatestPatchVersion("updatedLatestPatchVersion") .build();
Modifier and Type | Class and Description |
---|---|
static class |
CfnPackageVersion.Builder
A fluent builder for
CfnPackageVersion . |
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnPackageVersion(Construct scope,
java.lang.String id,
CfnPackageVersionProps props)
Create a new `AWS::Panorama::PackageVersion`.
|
protected |
CfnPackageVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnPackageVersion(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
IResolvable |
getAttrIsLatestPatch()
Whether the package version is the latest version.
|
java.lang.String |
getAttrPackageArn()
The package version's ARN.
|
java.lang.String |
getAttrPackageName()
The package version's name.
|
java.lang.Number |
getAttrRegisteredTime()
The package version's registered time.
|
java.lang.String |
getAttrStatus()
The package version's status.
|
java.lang.String |
getAttrStatusDescription()
The package version's status description.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.Object |
getMarkLatest()
Whether to mark the new version as the latest version.
|
java.lang.String |
getOwnerAccount()
An owner account.
|
java.lang.String |
getPackageId()
A package ID.
|
java.lang.String |
getPackageVersion()
A package version.
|
java.lang.String |
getPatchVersion()
A patch version.
|
java.lang.String |
getUpdatedLatestPatchVersion()
If the version was marked latest, the new version to maker as latest.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setMarkLatest(java.lang.Boolean value)
Whether to mark the new version as the latest version.
|
void |
setMarkLatest(IResolvable value)
Whether to mark the new version as the latest version.
|
void |
setOwnerAccount(java.lang.String value)
An owner account.
|
void |
setPackageId(java.lang.String value)
A package ID.
|
void |
setPackageVersion(java.lang.String value)
A package version.
|
void |
setPatchVersion(java.lang.String value)
A patch version.
|
void |
setUpdatedLatestPatchVersion(java.lang.String value)
If the version was marked latest, the new version to maker as latest.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnPackageVersion(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnPackageVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnPackageVersion(Construct scope, java.lang.String id, CfnPackageVersionProps props)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.props
- - resource properties. This parameter is required.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.public IResolvable getAttrIsLatestPatch()
public java.lang.String getAttrPackageArn()
public java.lang.String getAttrPackageName()
public java.lang.Number getAttrRegisteredTime()
public java.lang.String getAttrStatus()
public java.lang.String getAttrStatusDescription()
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public java.lang.String getPackageId()
public void setPackageId(java.lang.String value)
public java.lang.String getPackageVersion()
public void setPackageVersion(java.lang.String value)
public java.lang.String getPatchVersion()
public void setPatchVersion(java.lang.String value)
public java.lang.Object getMarkLatest()
public void setMarkLatest(java.lang.Boolean value)
public void setMarkLatest(IResolvable value)
public java.lang.String getOwnerAccount()
public void setOwnerAccount(java.lang.String value)
public java.lang.String getUpdatedLatestPatchVersion()
public void setUpdatedLatestPatchVersion(java.lang.String value)