CfnMonitorPropsMixin

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

Bases: Mixin

Creates an AWS Deadline Cloud monitor that you can use to view your farms, queues, and fleets.

After you submit a job, you can track the progress of the tasks and steps that make up the job, and then download the job’s results.

See:

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

CloudformationResource:

AWS::Deadline::Monitor

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_monitor_props_mixin = deadline_mixins.CfnMonitorPropsMixin(deadline_mixins.CfnMonitorMixinProps(
    display_name="displayName",
    identity_center_instance_arn="identityCenterInstanceArn",
    role_arn="roleArn",
    subdomain="subdomain",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

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

Parameters:
  • props (Union[CfnMonitorMixinProps, 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 = ['displayName', 'identityCenterInstanceArn', 'roleArn', 'subdomain', '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