WorkSpacesAccess

class aws_cdk.mixins_preview.aws_workspaces.events.WorkSpacesAccess

Bases: object

(experimental) EventBridge event pattern for aws.workspaces@WorkSpacesAccess.

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_workspaces import events as workspaces_events

work_spaces_access = workspaces_events.WorkSpacesAccess()
Stability:

experimental

Static Methods

classmethod work_spaces_access_pattern(*, action_type=None, client_ip_address=None, client_platform=None, directory_id=None, event_metadata=None, login_time=None, workspace_id=None, workspaces_client_product_name=None)

(experimental) EventBridge event pattern for WorkSpaces Access.

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

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

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

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

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

  • workspace_id (Optional[Sequence[str]]) – (experimental) workspaceId property. Specify an array of string values to match this event if the actual value of workspaceId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Filter with the Workspace reference

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

WorkSpacesAccessProps

class WorkSpacesAccess.WorkSpacesAccessProps(*, action_type=None, client_ip_address=None, client_platform=None, directory_id=None, event_metadata=None, login_time=None, workspace_id=None, workspaces_client_product_name=None)

Bases: object

(experimental) Props type for aws.workspaces@WorkSpacesAccess event.

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

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

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

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

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

  • workspace_id (Optional[Sequence[str]]) – (experimental) workspaceId property. Specify an array of string values to match this event if the actual value of workspaceId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Filter with the Workspace reference

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

work_spaces_access_props = workspaces_events.WorkSpacesAccess.WorkSpacesAccessProps(
    action_type=["actionType"],
    client_ip_address=["clientIpAddress"],
    client_platform=["clientPlatform"],
    directory_id=["directoryId"],
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    login_time=["loginTime"],
    workspace_id=["workspaceId"],
    workspaces_client_product_name=["workspacesClientProductName"]
)

Attributes

action_type

(experimental) actionType property.

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

client_ip_address

(experimental) clientIpAddress property.

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

client_platform

(experimental) clientPlatform property.

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

directory_id

(experimental) directoryId property.

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

login_time

(experimental) loginTime property.

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

workspace_id

(experimental) workspaceId property.

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

Default:
  • Filter with the Workspace reference

Stability:

experimental

workspaces_client_product_name

(experimental) workspacesClientProductName property.

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