CfnArchiveProps

class aws_cdk.aws_events.CfnArchiveProps(*, source_arn, archive_name=None, description=None, event_pattern=None, retention_days=None)

Bases: object

Properties for defining a AWS::Events::Archive.

Parameters
  • source_arn (str) – AWS::Events::Archive.SourceArn.

  • archive_name (Optional[str]) – AWS::Events::Archive.ArchiveName.

  • description (Optional[str]) – AWS::Events::Archive.Description.

  • event_pattern (Optional[Any]) – AWS::Events::Archive.EventPattern.

  • retention_days (Union[int, float, None]) – AWS::Events::Archive.RetentionDays.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-archive.html

Attributes

archive_name

AWS::Events::Archive.ArchiveName.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-archive.html#cfn-events-archive-archivename

Return type

Optional[str]

description

AWS::Events::Archive.Description.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-archive.html#cfn-events-archive-description

Return type

Optional[str]

event_pattern

AWS::Events::Archive.EventPattern.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-archive.html#cfn-events-archive-eventpattern

Return type

Any

retention_days

AWS::Events::Archive.RetentionDays.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-archive.html#cfn-events-archive-retentiondays

Return type

Union[int, float, None]

source_arn

AWS::Events::Archive.SourceArn.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-archive.html#cfn-events-archive-sourcearn

Return type

str