@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-31T18:36:49.446Z") public class CfnPackage extends CfnResource implements IInspectable
Creates a package and storage location in an Amazon S3 access point.
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.*; CfnPackage cfnPackage = CfnPackage.Builder.create(this, "MyCfnPackage") .packageName("packageName") // the properties below are optional .storageLocation(StorageLocationProperty.builder() .binaryPrefixLocation("binaryPrefixLocation") .bucket("bucket") .generatedPrefixLocation("generatedPrefixLocation") .manifestPrefixLocation("manifestPrefixLocation") .repoPrefixLocation("repoPrefixLocation") .build()) .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
Modifier and Type | Class and Description |
---|---|
static class |
CfnPackage.Builder
A fluent builder for
CfnPackage . |
static interface |
CfnPackage.StorageLocationProperty
A storage location.
|
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 |
---|---|
|
CfnPackage(Construct scope,
java.lang.String id,
CfnPackageProps props)
Create a new `AWS::Panorama::Package`.
|
protected |
CfnPackage(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnPackage(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttrArn()
The package's ARN.
|
java.lang.Number |
getAttrCreatedTime()
The item's created time.
|
java.lang.String |
getAttrPackageId()
The package's ID.
|
java.lang.String |
getAttrStorageLocationBinaryPrefixLocation() |
java.lang.String |
getAttrStorageLocationBucket() |
java.lang.String |
getAttrStorageLocationGeneratedPrefixLocation() |
java.lang.String |
getAttrStorageLocationManifestPrefixLocation() |
java.lang.String |
getAttrStorageLocationRepoPrefixLocation() |
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getPackageName()
A name for the package.
|
java.lang.Object |
getStorageLocation()
`AWS::Panorama::Package.StorageLocation`.
|
TagManager |
getTags()
Tags for the package.
|
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 |
setPackageName(java.lang.String value)
A name for the package.
|
void |
setStorageLocation(CfnPackage.StorageLocationProperty value)
`AWS::Panorama::Package.StorageLocation`.
|
void |
setStorageLocation(IResolvable value)
`AWS::Panorama::Package.StorageLocation`.
|
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 CfnPackage(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnPackage(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnPackage(Construct scope, java.lang.String id, CfnPackageProps 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 java.lang.String getAttrArn()
public java.lang.Number getAttrCreatedTime()
public java.lang.String getAttrPackageId()
public java.lang.String getAttrStorageLocationBinaryPrefixLocation()
public java.lang.String getAttrStorageLocationBucket()
public java.lang.String getAttrStorageLocationGeneratedPrefixLocation()
public java.lang.String getAttrStorageLocationManifestPrefixLocation()
public java.lang.String getAttrStorageLocationRepoPrefixLocation()
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public TagManager getTags()
public java.lang.String getPackageName()
public void setPackageName(java.lang.String value)
public java.lang.Object getStorageLocation()
public void setStorageLocation(IResolvable value)
public void setStorageLocation(CfnPackage.StorageLocationProperty value)