CodeGuruProfilerRecommendationStateChange

class aws_cdk.mixins_preview.aws_codeguruprofiler.events.CodeGuruProfilerRecommendationStateChange

Bases: object

(experimental) EventBridge event pattern for aws.codeguruprofiler@CodeGuruProfilerRecommendationStateChange.

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_codeguruprofiler import events as codeguruprofiler_events

code_guru_profiler_recommendation_state_change = codeguruprofiler_events.CodeGuruProfilerRecommendationStateChange()
Stability:

experimental

Static Methods

classmethod code_guru_profiler_recommendation_state_change_pattern(*, compute_instance_arns=None, deduplication_id=None, event_end_time=None, event_metadata=None, event_start_time=None, expires_on=None, recommendation=None, schema=None, severity=None, source_url=None, status=None, title=None)

(experimental) EventBridge event pattern for CodeGuru Profiler Recommendations State Change.

Parameters:
  • compute_instance_arns (Optional[Sequence[str]]) – (experimental) computeInstanceArns property. Specify an array of string values to match this event if the actual value of computeInstanceArns 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

  • deduplication_id (Optional[Sequence[str]]) – (experimental) deduplicationId property. Specify an array of string values to match this event if the actual value of deduplicationId 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

  • event_end_time (Optional[Sequence[str]]) – (experimental) eventEndTime property. Specify an array of string values to match this event if the actual value of eventEndTime 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

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

  • event_start_time (Optional[Sequence[str]]) – (experimental) eventStartTime property. Specify an array of string values to match this event if the actual value of eventStartTime 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

  • expires_on (Optional[Sequence[str]]) – (experimental) expiresOn property. Specify an array of string values to match this event if the actual value of expiresOn 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

  • recommendation (Union[Recommendation, Dict[str, Any], None]) – (experimental) recommendation property. Specify an array of string values to match this event if the actual value of recommendation 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

  • schema (Optional[Sequence[str]]) – (experimental) schema property. Specify an array of string values to match this event if the actual value of schema 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

  • severity (Optional[Sequence[str]]) – (experimental) severity property. Specify an array of string values to match this event if the actual value of severity 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

  • source_url (Optional[Sequence[str]]) – (experimental) sourceUrl property. Specify an array of string values to match this event if the actual value of sourceUrl 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

  • status (Optional[Sequence[str]]) – (experimental) status property. Specify an array of string values to match this event if the actual value of status 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

  • title (Union[Title, Dict[str, Any], None]) – (experimental) title property. Specify an array of string values to match this event if the actual value of title 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

CodeGuruProfilerRecommendationStateChangeProps

class CodeGuruProfilerRecommendationStateChange.CodeGuruProfilerRecommendationStateChangeProps(*, compute_instance_arns=None, deduplication_id=None, event_end_time=None, event_metadata=None, event_start_time=None, expires_on=None, recommendation=None, schema=None, severity=None, source_url=None, status=None, title=None)

Bases: object

(experimental) Props type for aws.codeguruprofiler@CodeGuruProfilerRecommendationStateChange event.

Parameters:
  • compute_instance_arns (Optional[Sequence[str]]) – (experimental) computeInstanceArns property. Specify an array of string values to match this event if the actual value of computeInstanceArns 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

  • deduplication_id (Optional[Sequence[str]]) – (experimental) deduplicationId property. Specify an array of string values to match this event if the actual value of deduplicationId 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

  • event_end_time (Optional[Sequence[str]]) – (experimental) eventEndTime property. Specify an array of string values to match this event if the actual value of eventEndTime 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

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

  • event_start_time (Optional[Sequence[str]]) – (experimental) eventStartTime property. Specify an array of string values to match this event if the actual value of eventStartTime 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

  • expires_on (Optional[Sequence[str]]) – (experimental) expiresOn property. Specify an array of string values to match this event if the actual value of expiresOn 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

  • recommendation (Union[Recommendation, Dict[str, Any], None]) – (experimental) recommendation property. Specify an array of string values to match this event if the actual value of recommendation 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

  • schema (Optional[Sequence[str]]) – (experimental) schema property. Specify an array of string values to match this event if the actual value of schema 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

  • severity (Optional[Sequence[str]]) – (experimental) severity property. Specify an array of string values to match this event if the actual value of severity 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

  • source_url (Optional[Sequence[str]]) – (experimental) sourceUrl property. Specify an array of string values to match this event if the actual value of sourceUrl 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

  • status (Optional[Sequence[str]]) – (experimental) status property. Specify an array of string values to match this event if the actual value of status 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

  • title (Union[Title, Dict[str, Any], None]) – (experimental) title property. Specify an array of string values to match this event if the actual value of title 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_codeguruprofiler import events as codeguruprofiler_events

code_guru_profiler_recommendation_state_change_props = codeguruprofiler_events.CodeGuruProfilerRecommendationStateChange.CodeGuruProfilerRecommendationStateChangeProps(
    compute_instance_arns=["computeInstanceArns"],
    deduplication_id=["deduplicationId"],
    event_end_time=["eventEndTime"],
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    event_start_time=["eventStartTime"],
    expires_on=["expiresOn"],
    recommendation=codeguruprofiler_events.CodeGuruProfilerRecommendationStateChange.Recommendation(
        description=codeguruprofiler_events.CodeGuruProfilerRecommendationStateChange.Description(
            value=["value"]
        ),
        name=codeguruprofiler_events.CodeGuruProfilerRecommendationStateChange.Name(
            value=["value"]
        ),
        reason=codeguruprofiler_events.CodeGuruProfilerRecommendationStateChange.Reason(
            value=["value"]
        ),
        resolution_steps=codeguruprofiler_events.CodeGuruProfilerRecommendationStateChange.ResolutionSteps(
            value=["value"]
        )
    ),
    schema=["schema"],
    severity=["severity"],
    source_url=["sourceUrl"],
    status=["status"],
    title=codeguruprofiler_events.CodeGuruProfilerRecommendationStateChange.Title(
        value=["value"]
    )
)

Attributes

compute_instance_arns

(experimental) computeInstanceArns property.

Specify an array of string values to match this event if the actual value of computeInstanceArns 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

deduplication_id

(experimental) deduplicationId property.

Specify an array of string values to match this event if the actual value of deduplicationId 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

event_end_time

(experimental) eventEndTime property.

Specify an array of string values to match this event if the actual value of eventEndTime 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

event_metadata

(experimental) EventBridge event metadata.

Default:

Stability:

experimental

event_start_time

(experimental) eventStartTime property.

Specify an array of string values to match this event if the actual value of eventStartTime 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

expires_on

(experimental) expiresOn property.

Specify an array of string values to match this event if the actual value of expiresOn 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

recommendation

(experimental) recommendation property.

Specify an array of string values to match this event if the actual value of recommendation 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

schema

(experimental) schema property.

Specify an array of string values to match this event if the actual value of schema 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

severity

(experimental) severity property.

Specify an array of string values to match this event if the actual value of severity 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

source_url

(experimental) sourceUrl property.

Specify an array of string values to match this event if the actual value of sourceUrl 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

status

(experimental) status property.

Specify an array of string values to match this event if the actual value of status 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

title

(experimental) title property.

Specify an array of string values to match this event if the actual value of title 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

Description

class CodeGuruProfilerRecommendationStateChange.Description(*, value=None)

Bases: object

(experimental) Type definition for Description.

Parameters:

value (Optional[Sequence[str]]) – (experimental) value property. Specify an array of string values to match this event if the actual value of value 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:

# 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_codeguruprofiler import events as codeguruprofiler_events

description = codeguruprofiler_events.CodeGuruProfilerRecommendationStateChange.Description(
    value=["value"]
)

Attributes

value

(experimental) value property.

Specify an array of string values to match this event if the actual value of value 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

Name

class CodeGuruProfilerRecommendationStateChange.Name(*, value=None)

Bases: object

(experimental) Type definition for Name.

Parameters:

value (Optional[Sequence[str]]) – (experimental) value property. Specify an array of string values to match this event if the actual value of value 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:

# 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_codeguruprofiler import events as codeguruprofiler_events

name = codeguruprofiler_events.CodeGuruProfilerRecommendationStateChange.Name(
    value=["value"]
)

Attributes

value

(experimental) value property.

Specify an array of string values to match this event if the actual value of value 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

Reason

class CodeGuruProfilerRecommendationStateChange.Reason(*, value=None)

Bases: object

(experimental) Type definition for Reason.

Parameters:

value (Optional[Sequence[str]]) – (experimental) value property. Specify an array of string values to match this event if the actual value of value 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:

# 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_codeguruprofiler import events as codeguruprofiler_events

reason = codeguruprofiler_events.CodeGuruProfilerRecommendationStateChange.Reason(
    value=["value"]
)

Attributes

value

(experimental) value property.

Specify an array of string values to match this event if the actual value of value 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

Recommendation

class CodeGuruProfilerRecommendationStateChange.Recommendation(*, description=None, name=None, reason=None, resolution_steps=None)

Bases: object

(experimental) Type definition for Recommendation.

Parameters:
  • description (Union[Description, Dict[str, Any], None]) – (experimental) description property. Specify an array of string values to match this event if the actual value of description 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

  • name (Union[Name, Dict[str, Any], None]) – (experimental) name property. Specify an array of string values to match this event if the actual value of name 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

  • reason (Union[Reason, Dict[str, Any], None]) – (experimental) reason property. Specify an array of string values to match this event if the actual value of reason 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

  • resolution_steps (Union[ResolutionSteps, Dict[str, Any], None]) – (experimental) resolutionSteps property. Specify an array of string values to match this event if the actual value of resolutionSteps 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:

# 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_codeguruprofiler import events as codeguruprofiler_events

recommendation = codeguruprofiler_events.CodeGuruProfilerRecommendationStateChange.Recommendation(
    description=codeguruprofiler_events.CodeGuruProfilerRecommendationStateChange.Description(
        value=["value"]
    ),
    name=codeguruprofiler_events.CodeGuruProfilerRecommendationStateChange.Name(
        value=["value"]
    ),
    reason=codeguruprofiler_events.CodeGuruProfilerRecommendationStateChange.Reason(
        value=["value"]
    ),
    resolution_steps=codeguruprofiler_events.CodeGuruProfilerRecommendationStateChange.ResolutionSteps(
        value=["value"]
    )
)

Attributes

description

(experimental) description property.

Specify an array of string values to match this event if the actual value of description 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

name

(experimental) name property.

Specify an array of string values to match this event if the actual value of name 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

reason

(experimental) reason property.

Specify an array of string values to match this event if the actual value of reason 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

resolution_steps

(experimental) resolutionSteps property.

Specify an array of string values to match this event if the actual value of resolutionSteps 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

ResolutionSteps

class CodeGuruProfilerRecommendationStateChange.ResolutionSteps(*, value=None)

Bases: object

(experimental) Type definition for ResolutionSteps.

Parameters:

value (Optional[Sequence[str]]) – (experimental) value property. Specify an array of string values to match this event if the actual value of value 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:

# 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_codeguruprofiler import events as codeguruprofiler_events

resolution_steps = codeguruprofiler_events.CodeGuruProfilerRecommendationStateChange.ResolutionSteps(
    value=["value"]
)

Attributes

value

(experimental) value property.

Specify an array of string values to match this event if the actual value of value 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

Title

class CodeGuruProfilerRecommendationStateChange.Title(*, value=None)

Bases: object

(experimental) Type definition for Title.

Parameters:

value (Optional[Sequence[str]]) – (experimental) value property. Specify an array of string values to match this event if the actual value of value 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:

# 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_codeguruprofiler import events as codeguruprofiler_events

title = codeguruprofiler_events.CodeGuruProfilerRecommendationStateChange.Title(
    value=["value"]
)

Attributes

value

(experimental) value property.

Specify an array of string values to match this event if the actual value of value 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