Class CfnPackage
A CloudFormation AWS::Panorama::Package
.
Inherited Members
Namespace: Amazon.CDK.AWS.Panorama
Assembly: Amazon.CDK.AWS.Panorama.dll
Syntax (csharp)
public class CfnPackage : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnPackage
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
Creates a package and storage location in an Amazon S3 access point.
CloudformationResource: AWS::Panorama::Package
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-panorama-package.html
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 cfnPackage = new CfnPackage(this, "MyCfnPackage", new CfnPackageProps {
PackageName = "packageName",
// the properties below are optional
StorageLocation = new StorageLocationProperty {
BinaryPrefixLocation = "binaryPrefixLocation",
Bucket = "bucket",
GeneratedPrefixLocation = "generatedPrefixLocation",
ManifestPrefixLocation = "manifestPrefixLocation",
RepoPrefixLocation = "repoPrefixLocation"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnPackage(Construct, String, ICfnPackageProps) | Create a new |
CfnPackage(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnPackage(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
AttrArn | The package's ARN. |
AttrCreatedTime | The item's created time. |
AttrPackageId | The package's ID. |
AttrStorageLocationBinaryPrefixLocation | |
AttrStorageLocationBucket | |
AttrStorageLocationGeneratedPrefixLocation | |
AttrStorageLocationManifestPrefixLocation | |
AttrStorageLocationRepoPrefixLocation | |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
PackageName | A name for the package. |
StorageLocation |
|
Tags | Tags for the package. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnPackage(Construct, String, ICfnPackageProps)
Create a new AWS::Panorama::Package
.
public CfnPackage(Construct scope, string id, ICfnPackageProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnPackageProps
- resource properties.
CfnPackage(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnPackage(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnPackage(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnPackage(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
AttrArn
The package's ARN.
public virtual string AttrArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Arn
AttrCreatedTime
The item's created time.
public virtual double AttrCreatedTime { get; }
Property Value
System.Double
Remarks
CloudformationAttribute: CreatedTime
AttrPackageId
The package's ID.
public virtual string AttrPackageId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: PackageId
AttrStorageLocationBinaryPrefixLocation
public virtual string AttrStorageLocationBinaryPrefixLocation { get; }
Property Value
System.String
Remarks
CloudformationAttribute: StorageLocation.BinaryPrefixLocation
AttrStorageLocationBucket
public virtual string AttrStorageLocationBucket { get; }
Property Value
System.String
Remarks
CloudformationAttribute: StorageLocation.Bucket
AttrStorageLocationGeneratedPrefixLocation
public virtual string AttrStorageLocationGeneratedPrefixLocation { get; }
Property Value
System.String
Remarks
CloudformationAttribute: StorageLocation.GeneratedPrefixLocation
AttrStorageLocationManifestPrefixLocation
public virtual string AttrStorageLocationManifestPrefixLocation { get; }
Property Value
System.String
Remarks
CloudformationAttribute: StorageLocation.ManifestPrefixLocation
AttrStorageLocationRepoPrefixLocation
public virtual string AttrStorageLocationRepoPrefixLocation { get; }
Property Value
System.String
Remarks
CloudformationAttribute: StorageLocation.RepoPrefixLocation
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
PackageName
A name for the package.
public virtual string PackageName { get; set; }
Property Value
System.String
Remarks
StorageLocation
AWS::Panorama::Package.StorageLocation
.
public virtual object StorageLocation { get; set; }
Property Value
System.Object
Remarks
Tags
Tags for the package.
public virtual TagManager Tags { get; }
Property Value
Remarks
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>