@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.172Z") @Stability(value=Stable) 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. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnPackageVersion(software.constructs.Construct scope,
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.
|
String |
getAttrPackageArn()
The package version's ARN.
|
String |
getAttrPackageName()
The package version's name.
|
Number |
getAttrRegisteredTime()
The package version's registered time.
|
String |
getAttrStatus()
The package version's status.
|
String |
getAttrStatusDescription()
The package version's status description.
|
protected Map<String,Object> |
getCfnProperties() |
Object |
getMarkLatest()
Whether to mark the new version as the latest version.
|
String |
getOwnerAccount()
An owner account.
|
String |
getPackageId()
A package ID.
|
String |
getPackageVersion()
A package version.
|
String |
getPatchVersion()
A patch version.
|
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 Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setMarkLatest(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(String value)
An owner account.
|
void |
setPackageId(String value)
A package ID.
|
void |
setPackageVersion(String value)
A package version.
|
void |
setPatchVersion(String value)
A patch version.
|
void |
setUpdatedLatestPatchVersion(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, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnPackageVersion(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnPackageVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnPackageVersion(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
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.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public IResolvable getAttrIsLatestPatch()
@Stability(value=Stable) @NotNull public String getAttrPackageArn()
@Stability(value=Stable) @NotNull public String getAttrPackageName()
@Stability(value=Stable) @NotNull public Number getAttrRegisteredTime()
@Stability(value=Stable) @NotNull public String getAttrStatus()
@Stability(value=Stable) @NotNull public String getAttrStatusDescription()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getPackageId()
@Stability(value=Stable)
public void setPackageId(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getPackageVersion()
@Stability(value=Stable)
public void setPackageVersion(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getPatchVersion()
@Stability(value=Stable)
public void setPatchVersion(@NotNull
String value)
@Stability(value=Stable) @Nullable public Object getMarkLatest()
@Stability(value=Stable)
public void setMarkLatest(@Nullable
Boolean value)
@Stability(value=Stable)
public void setMarkLatest(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getOwnerAccount()
@Stability(value=Stable)
public void setOwnerAccount(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getUpdatedLatestPatchVersion()
@Stability(value=Stable)
public void setUpdatedLatestPatchVersion(@Nullable
String value)
Copyright © 2022. All rights reserved.