EC2ImageBuilderCVEDetected

class aws_cdk.mixins_preview.aws_imagebuilder.events.EC2ImageBuilderCVEDetected

Bases: object

(experimental) EventBridge event pattern for aws.imagebuilder@EC2ImageBuilderCVEDetected.

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_imagebuilder import events as imagebuilder_events

e_c2_image_builder_cVEDetected = imagebuilder_events.EC2ImageBuilderCVEDetected()
Stability:

experimental

Static Methods

classmethod ec2_image_builder_cve_detected_pattern(*, event_metadata=None, finding_severity_counts=None, resource_id=None)

(experimental) EventBridge event pattern for EC2 Image Builder CVE Detected.

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

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

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

EC2ImageBuilderCVEDetectedProps

class EC2ImageBuilderCVEDetected.EC2ImageBuilderCVEDetectedProps(*, event_metadata=None, finding_severity_counts=None, resource_id=None)

Bases: object

(experimental) Props type for aws.imagebuilder@EC2ImageBuilderCVEDetected event.

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

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

  • resource_id (Optional[Sequence[str]]) – (experimental) resource-id property. Specify an array of string values to match this event if the actual value of resource-id 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_imagebuilder import events as imagebuilder_events

e_c2_image_builder_cVEDetected_props = imagebuilder_events.EC2ImageBuilderCVEDetected.EC2ImageBuilderCVEDetectedProps(
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    finding_severity_counts=imagebuilder_events.EC2ImageBuilderCVEDetected.FindingSeverityCounts(
        all=["all"],
        critical=["critical"],
        high=["high"],
        medium=["medium"]
    ),
    resource_id=["resourceId"]
)

Attributes

event_metadata

(experimental) EventBridge event metadata.

Default:

Stability:

experimental

finding_severity_counts

(experimental) finding-severity-counts property.

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

resource_id

(experimental) resource-id property.

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

FindingSeverityCounts

class EC2ImageBuilderCVEDetected.FindingSeverityCounts(*, all=None, critical=None, high=None, medium=None)

Bases: object

(experimental) Type definition for Finding-severity-counts.

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

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

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

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

finding_severity_counts = imagebuilder_events.EC2ImageBuilderCVEDetected.FindingSeverityCounts(
    all=["all"],
    critical=["critical"],
    high=["high"],
    medium=["medium"]
)

Attributes

all

(experimental) all property.

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

critical

(experimental) critical property.

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

high

(experimental) high property.

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

medium

(experimental) medium property.

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