Class CfnPackageVersion
Registers a package version.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Panorama
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnPackageVersion : CfnResource, IInspectable
Syntax (vb)
Public Class CfnPackageVersion
Inherits CfnResource
Implements IInspectable
Remarks
CloudformationResource: AWS::Panorama::PackageVersion
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Panorama;
var cfnPackageVersion = new CfnPackageVersion(this, "MyCfnPackageVersion", new CfnPackageVersionProps {
PackageId = "packageId",
PackageVersion = "packageVersion",
PatchVersion = "patchVersion",
// the properties below are optional
MarkLatest = false,
OwnerAccount = "ownerAccount",
UpdatedLatestPatchVersion = "updatedLatestPatchVersion"
});
Synopsis
Constructors
CfnPackageVersion(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnPackageVersion(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnPackageVersion(Construct, String, ICfnPackageVersionProps) |
Properties
AttrIsLatestPatch | Whether the package version is the latest version. |
AttrPackageArn | The package version's ARN. |
AttrPackageName | The package version's name. |
AttrRegisteredTime | The package version's registered time. |
AttrStatus | The package version's status. |
AttrStatusDescription | The package version's status description. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
MarkLatest | Whether to mark the new version as the latest version. |
OwnerAccount | An owner account. |
PackageId | A package ID. |
PackageVersion | A package version. |
PatchVersion | A patch version. |
UpdatedLatestPatchVersion | If the version was marked latest, the new version to maker as latest. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnPackageVersion(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnPackageVersion(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnPackageVersion(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnPackageVersion(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnPackageVersion(Construct, String, ICfnPackageVersionProps)
public CfnPackageVersion(Construct scope, string id, ICfnPackageVersionProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnPackageVersionProps
Resource properties.
Properties
AttrIsLatestPatch
Whether the package version is the latest version.
public virtual IResolvable AttrIsLatestPatch { get; }
Property Value
Remarks
CloudformationAttribute: IsLatestPatch
AttrPackageArn
The package version's ARN.
public virtual string AttrPackageArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: PackageArn
AttrPackageName
The package version's name.
public virtual string AttrPackageName { get; }
Property Value
System.String
Remarks
CloudformationAttribute: PackageName
AttrRegisteredTime
The package version's registered time.
public virtual double AttrRegisteredTime { get; }
Property Value
System.Double
Remarks
CloudformationAttribute: RegisteredTime
AttrStatus
The package version's status.
public virtual string AttrStatus { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Status
AttrStatusDescription
The package version's status description.
public virtual string AttrStatusDescription { get; }
Property Value
System.String
Remarks
CloudformationAttribute: StatusDescription
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
MarkLatest
Whether to mark the new version as the latest version.
public virtual object MarkLatest { get; set; }
Property Value
System.Object
OwnerAccount
An owner account.
public virtual string OwnerAccount { get; set; }
Property Value
System.String
PackageId
A package ID.
public virtual string PackageId { get; set; }
Property Value
System.String
PackageVersion
A package version.
public virtual string PackageVersion { get; set; }
Property Value
System.String
PatchVersion
A patch version.
public virtual string PatchVersion { get; set; }
Property Value
System.String
UpdatedLatestPatchVersion
If the version was marked latest, the new version to maker as latest.
public virtual string UpdatedLatestPatchVersion { get; set; }
Property Value
System.String
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>