CfnStorageProfilePropsMixin

class aws_cdk.cfn_property_mixins.aws_deadline.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.cfn_property_mixins import aws_deadline as deadline
import aws_cdk as cdk

# merge_strategy: cdk.IMergeStrategy

cfn_storage_profile_props_mixin = deadline.CfnStorageProfilePropsMixin(deadline.CfnStorageProfileMixinProps(
    display_name="displayName",
    farm_id="farmId",
    file_system_locations=[deadline.CfnStorageProfilePropsMixin.FileSystemLocationProperty(
        name="name",
        path="path",
        type="type"
    )],
    os_family="osFamily"
),
    strategy=merge_strategy
)

Create a mixin to apply properties to AWS::Deadline::StorageProfile.

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

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

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

None

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)

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.

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.cfn_property_mixins import aws_deadline as deadline

file_system_location_property = deadline.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