CfnStorageProfilePropsMixin

class aws_cdk.mixins_preview.aws_deadline.mixins.CfnStorageProfilePropsMixin(props, *, strategy=None)

Bases: Mixin

Creates a storage profile that specifies the operating system, file type, and file location of resources used on a farm.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-storageprofile.html

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:

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 = ['displayName', 'farmId', 'fileSystemLocations', 'osFamily']

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

FileSystemLocationProperty

class CfnStorageProfilePropsMixin.FileSystemLocationProperty(*, name=None, path=None, type=None)

Bases: object

The 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-storageprofile-filesystemlocation.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_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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-storageprofile-filesystemlocation.html#cfn-deadline-storageprofile-filesystemlocation-name

path

The file path.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-storageprofile-filesystemlocation.html#cfn-deadline-storageprofile-filesystemlocation-path

type

The type of file.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-storageprofile-filesystemlocation.html#cfn-deadline-storageprofile-filesystemlocation-type