FleetSizeRecommendationChange

class aws_cdk.mixins_preview.aws_deadline.events.FleetSizeRecommendationChange

Bases: object

(experimental) EventBridge event pattern for aws.deadline@FleetSizeRecommendationChange.

Stability:

experimental

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 events as deadline_events

fleet_size_recommendation_change = deadline_events.FleetSizeRecommendationChange()
Stability:

experimental

Static Methods

classmethod fleet_size_recommendation_change_pattern(*, event_metadata=None, farm_id=None, fleet_id=None, new_fleet_size=None, old_fleet_size=None)

(experimental) EventBridge event pattern for Fleet Size Recommendation Change.

Parameters:
  • event_metadata (Union[AWSEventMetadataProps, Dict[str, Any], None]) – (experimental) EventBridge event metadata. Default: - -

  • farm_id (Optional[Sequence[str]]) – (experimental) farmId property. Specify an array of string values to match this event if the actual value of farmId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • fleet_id (Optional[Sequence[str]]) – (experimental) fleetId property. Specify an array of string values to match this event if the actual value of fleetId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • new_fleet_size (Optional[Sequence[str]]) – (experimental) newFleetSize property. Specify an array of string values to match this event if the actual value of newFleetSize is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • old_fleet_size (Optional[Sequence[str]]) – (experimental) oldFleetSize property. Specify an array of string values to match this event if the actual value of oldFleetSize is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

Return type:

EventPattern

FleetSizeRecommendationChangeProps

class FleetSizeRecommendationChange.FleetSizeRecommendationChangeProps(*, event_metadata=None, farm_id=None, fleet_id=None, new_fleet_size=None, old_fleet_size=None)

Bases: object

(experimental) Props type for aws.deadline@FleetSizeRecommendationChange event.

Parameters:
  • event_metadata (Union[AWSEventMetadataProps, Dict[str, Any], None]) – (experimental) EventBridge event metadata. Default: - -

  • farm_id (Optional[Sequence[str]]) – (experimental) farmId property. Specify an array of string values to match this event if the actual value of farmId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • fleet_id (Optional[Sequence[str]]) – (experimental) fleetId property. Specify an array of string values to match this event if the actual value of fleetId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • new_fleet_size (Optional[Sequence[str]]) – (experimental) newFleetSize property. Specify an array of string values to match this event if the actual value of newFleetSize is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • old_fleet_size (Optional[Sequence[str]]) – (experimental) oldFleetSize property. Specify an array of string values to match this event if the actual value of oldFleetSize is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

from aws_cdk import AWSEventMetadataProps
# 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 events as deadline_events

fleet_size_recommendation_change_props = deadline_events.FleetSizeRecommendationChange.FleetSizeRecommendationChangeProps(
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    farm_id=["farmId"],
    fleet_id=["fleetId"],
    new_fleet_size=["newFleetSize"],
    old_fleet_size=["oldFleetSize"]
)

Attributes

event_metadata

(experimental) EventBridge event metadata.

Default:

Stability:

experimental

farm_id

(experimental) farmId property.

Specify an array of string values to match this event if the actual value of farmId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

fleet_id

(experimental) fleetId property.

Specify an array of string values to match this event if the actual value of fleetId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

new_fleet_size

(experimental) newFleetSize property.

Specify an array of string values to match this event if the actual value of newFleetSize is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

old_fleet_size

(experimental) oldFleetSize property.

Specify an array of string values to match this event if the actual value of oldFleetSize is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental