CfnStorageProfilePropsMixin
- class aws_cdk.mixins_preview.aws_deadline.mixins.CfnStorageProfilePropsMixin(props, *, strategy=None)
Bases:
MixinCreates a storage profile that specifies the operating system, file type, and file location of resources used on a farm.
- See:
- CloudformationResource:
AWS::Deadline::StorageProfile
- 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_deadline import mixins as deadline_mixins cfn_storage_profile_props_mixin = deadline_mixins.CfnStorageProfilePropsMixin(deadline_mixins.CfnStorageProfileMixinProps( display_name="displayName", farm_id="farmId", file_system_locations=[deadline_mixins.CfnStorageProfilePropsMixin.FileSystemLocationProperty( name="name", path="path", type="type" )], os_family="osFamily" ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::Deadline::StorageProfile.- Parameters:
props (
Union[CfnStorageProfileMixinProps,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:
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['displayName', 'farmId', 'fileSystemLocations', 'osFamily']
Static Methods
- classmethod is_mixin(x)
(experimental) Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental
FileSystemLocationProperty
- class CfnStorageProfilePropsMixin.FileSystemLocationProperty(*, name=None, path=None, type=None)
Bases:
objectThe details of the file system location for the resource.
- Parameters:
name (
Optional[str]) – The location name.path (
Optional[str]) – The file path.type (
Optional[str]) – The type of file.
- See:
- 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_deadline import mixins as deadline_mixins file_system_location_property = deadline_mixins.CfnStorageProfilePropsMixin.FileSystemLocationProperty( name="name", path="path", type="type" )
Attributes
- name
The location name.
- path
The file path.