CfnPackagePropsMixin

class aws_cdk.mixins_preview.aws_panorama.mixins.CfnPackagePropsMixin(props, *, strategy=None)

Bases: Mixin

End of support notice: On May 31, 2026, AWS will end support for AWS Panorama .

After May 31, 2026, .. epigraph:

you will no longer be able to access the AWS Panorama console or AWS Panorama resources. For more information, see `AWS Panorama end of support <https://docs.aws.amazon.com/panorama/latest/dev/panorama-end-of-support.html>`_ .

Creates a package and storage location in an Amazon S3 access point.

see:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-panorama-package.html

cloudformationResource:

AWS::Panorama::Package

mixin:

true

exampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_panorama import mixins as panorama_mixins

cfn_package_props_mixin = panorama_mixins.CfnPackagePropsMixin(panorama_mixins.CfnPackageMixinProps(
    package_name="packageName",
    storage_location=panorama_mixins.CfnPackagePropsMixin.StorageLocationProperty(
        binary_prefix_location="binaryPrefixLocation",
        bucket="bucket",
        generated_prefix_location="generatedPrefixLocation",
        manifest_prefix_location="manifestPrefixLocation",
        repo_prefix_location="repoPrefixLocation"
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )]
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::Panorama::Package.

Parameters:
  • props (Union[CfnPackageMixinProps, Dict[str, Any]]) – L1 properties to apply.

  • strategy (Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['packageName', 'storageLocation', 'tags']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental

StorageLocationProperty

class CfnPackagePropsMixin.StorageLocationProperty(*, binary_prefix_location=None, bucket=None, generated_prefix_location=None, manifest_prefix_location=None, repo_prefix_location=None)

Bases: object

A storage location.

Parameters:
  • binary_prefix_location (Optional[str]) – The location’s binary prefix.

  • bucket (Optional[str]) – The location’s bucket.

  • generated_prefix_location (Optional[str]) – The location’s generated prefix.

  • manifest_prefix_location (Optional[str]) – The location’s manifest prefix.

  • repo_prefix_location (Optional[str]) – The location’s repo prefix.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-panorama-package-storagelocation.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_panorama import mixins as panorama_mixins

storage_location_property = panorama_mixins.CfnPackagePropsMixin.StorageLocationProperty(
    binary_prefix_location="binaryPrefixLocation",
    bucket="bucket",
    generated_prefix_location="generatedPrefixLocation",
    manifest_prefix_location="manifestPrefixLocation",
    repo_prefix_location="repoPrefixLocation"
)

Attributes

binary_prefix_location

The location’s binary prefix.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-panorama-package-storagelocation.html#cfn-panorama-package-storagelocation-binaryprefixlocation

bucket

The location’s bucket.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-panorama-package-storagelocation.html#cfn-panorama-package-storagelocation-bucket

generated_prefix_location

The location’s generated prefix.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-panorama-package-storagelocation.html#cfn-panorama-package-storagelocation-generatedprefixlocation

manifest_prefix_location

The location’s manifest prefix.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-panorama-package-storagelocation.html#cfn-panorama-package-storagelocation-manifestprefixlocation

repo_prefix_location

The location’s repo prefix.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-panorama-package-storagelocation.html#cfn-panorama-package-storagelocation-repoprefixlocation