1. Packages
  2. AWS Native
  3. API Docs
  4. events
  5. Archive

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.112.0 published on Wednesday, Jul 24, 2024 by Pulumi

aws-native.events.Archive

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.112.0 published on Wednesday, Jul 24, 2024 by Pulumi

    Resource Type definition for AWS::Events::Archive

    Create Archive Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Archive(name: string, args: ArchiveArgs, opts?: CustomResourceOptions);
    @overload
    def Archive(resource_name: str,
                args: ArchiveArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Archive(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                source_arn: Optional[str] = None,
                archive_name: Optional[str] = None,
                description: Optional[str] = None,
                event_pattern: Optional[Any] = None,
                retention_days: Optional[int] = None)
    func NewArchive(ctx *Context, name string, args ArchiveArgs, opts ...ResourceOption) (*Archive, error)
    public Archive(string name, ArchiveArgs args, CustomResourceOptions? opts = null)
    public Archive(String name, ArchiveArgs args)
    public Archive(String name, ArchiveArgs args, CustomResourceOptions options)
    
    type: aws-native:events:Archive
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ArchiveArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ArchiveArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ArchiveArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ArchiveArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ArchiveArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Archive Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Archive resource accepts the following input properties:

    SourceArn string
    The ARN of the event bus that sends events to the archive.
    ArchiveName string
    The name for the archive to create.
    Description string
    A description for the archive.
    EventPattern object

    An event pattern to use to filter events sent to the archive.

    Search the CloudFormation User Guide for AWS::Events::Archive for more information about the expected schema for this property.

    RetentionDays int
    The number of days to retain events for. Default value is 0. If set to 0, events are retained indefinitely
    SourceArn string
    The ARN of the event bus that sends events to the archive.
    ArchiveName string
    The name for the archive to create.
    Description string
    A description for the archive.
    EventPattern interface{}

    An event pattern to use to filter events sent to the archive.

    Search the CloudFormation User Guide for AWS::Events::Archive for more information about the expected schema for this property.

    RetentionDays int
    The number of days to retain events for. Default value is 0. If set to 0, events are retained indefinitely
    sourceArn String
    The ARN of the event bus that sends events to the archive.
    archiveName String
    The name for the archive to create.
    description String
    A description for the archive.
    eventPattern Object

    An event pattern to use to filter events sent to the archive.

    Search the CloudFormation User Guide for AWS::Events::Archive for more information about the expected schema for this property.

    retentionDays Integer
    The number of days to retain events for. Default value is 0. If set to 0, events are retained indefinitely
    sourceArn string
    The ARN of the event bus that sends events to the archive.
    archiveName string
    The name for the archive to create.
    description string
    A description for the archive.
    eventPattern any

    An event pattern to use to filter events sent to the archive.

    Search the CloudFormation User Guide for AWS::Events::Archive for more information about the expected schema for this property.

    retentionDays number
    The number of days to retain events for. Default value is 0. If set to 0, events are retained indefinitely
    source_arn str
    The ARN of the event bus that sends events to the archive.
    archive_name str
    The name for the archive to create.
    description str
    A description for the archive.
    event_pattern Any

    An event pattern to use to filter events sent to the archive.

    Search the CloudFormation User Guide for AWS::Events::Archive for more information about the expected schema for this property.

    retention_days int
    The number of days to retain events for. Default value is 0. If set to 0, events are retained indefinitely
    sourceArn String
    The ARN of the event bus that sends events to the archive.
    archiveName String
    The name for the archive to create.
    description String
    A description for the archive.
    eventPattern Any

    An event pattern to use to filter events sent to the archive.

    Search the CloudFormation User Guide for AWS::Events::Archive for more information about the expected schema for this property.

    retentionDays Number
    The number of days to retain events for. Default value is 0. If set to 0, events are retained indefinitely

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Archive resource produces the following output properties:

    Arn string
    The ARN of the archive created.
    Id string
    The provider-assigned unique ID for this managed resource.
    Arn string
    The ARN of the archive created.
    Id string
    The provider-assigned unique ID for this managed resource.
    arn String
    The ARN of the archive created.
    id String
    The provider-assigned unique ID for this managed resource.
    arn string
    The ARN of the archive created.
    id string
    The provider-assigned unique ID for this managed resource.
    arn str
    The ARN of the archive created.
    id str
    The provider-assigned unique ID for this managed resource.
    arn String
    The ARN of the archive created.
    id String
    The provider-assigned unique ID for this managed resource.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.112.0 published on Wednesday, Jul 24, 2024 by Pulumi