AWS Native

v0.29.0 published on Thursday, Sep 8, 2022 by Pulumi

getEventDataStore

A storage lake of event data against which you can run complex SQL-based queries. An event data store can include events that you have logged on your account from the last 90 to 2555 days (about three months to up to seven years).

Using getEventDataStore

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getEventDataStore(args: GetEventDataStoreArgs, opts?: InvokeOptions): Promise<GetEventDataStoreResult>
function getEventDataStoreOutput(args: GetEventDataStoreOutputArgs, opts?: InvokeOptions): Output<GetEventDataStoreResult>
def get_event_data_store(event_data_store_arn: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetEventDataStoreResult
def get_event_data_store_output(event_data_store_arn: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetEventDataStoreResult]
func LookupEventDataStore(ctx *Context, args *LookupEventDataStoreArgs, opts ...InvokeOption) (*LookupEventDataStoreResult, error)
func LookupEventDataStoreOutput(ctx *Context, args *LookupEventDataStoreOutputArgs, opts ...InvokeOption) LookupEventDataStoreResultOutput

> Note: This function is named LookupEventDataStore in the Go SDK.

public static class GetEventDataStore 
{
    public static Task<GetEventDataStoreResult> InvokeAsync(GetEventDataStoreArgs args, InvokeOptions? opts = null)
    public static Output<GetEventDataStoreResult> Invoke(GetEventDataStoreInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEventDataStoreResult> getEventDataStore(GetEventDataStoreArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: aws-native:cloudtrail:getEventDataStore
  Arguments:
    # Arguments dictionary

The following arguments are supported:

EventDataStoreArn string

The ARN of the event data store.

EventDataStoreArn string

The ARN of the event data store.

eventDataStoreArn String

The ARN of the event data store.

eventDataStoreArn string

The ARN of the event data store.

event_data_store_arn str

The ARN of the event data store.

eventDataStoreArn String

The ARN of the event data store.

getEventDataStore Result

The following output properties are available:

AdvancedEventSelectors List<Pulumi.AwsNative.CloudTrail.Outputs.EventDataStoreAdvancedEventSelector>

The advanced event selectors that were used to select events for the data store.

CreatedTimestamp string

The timestamp of the event data store's creation.

EventDataStoreArn string

The ARN of the event data store.

MultiRegionEnabled bool

Indicates whether the event data store includes events from all regions, or only from the region in which it was created.

Name string

The name of the event data store.

OrganizationEnabled bool

Indicates that an event data store is collecting logged events for an organization.

RetentionPeriod int

The retention period, in days.

Status string

The status of an event data store. Values are ENABLED and PENDING_DELETION.

Tags List<Pulumi.AwsNative.CloudTrail.Outputs.EventDataStoreTag>
TerminationProtectionEnabled bool

Indicates whether the event data store is protected from termination.

UpdatedTimestamp string

The timestamp showing when an event data store was updated, if applicable. UpdatedTimestamp is always either the same or newer than the time shown in CreatedTimestamp.

AdvancedEventSelectors []EventDataStoreAdvancedEventSelector

The advanced event selectors that were used to select events for the data store.

CreatedTimestamp string

The timestamp of the event data store's creation.

EventDataStoreArn string

The ARN of the event data store.

MultiRegionEnabled bool

Indicates whether the event data store includes events from all regions, or only from the region in which it was created.

Name string

The name of the event data store.

OrganizationEnabled bool

Indicates that an event data store is collecting logged events for an organization.

RetentionPeriod int

The retention period, in days.

Status string

The status of an event data store. Values are ENABLED and PENDING_DELETION.

Tags []EventDataStoreTag
TerminationProtectionEnabled bool

Indicates whether the event data store is protected from termination.

UpdatedTimestamp string

The timestamp showing when an event data store was updated, if applicable. UpdatedTimestamp is always either the same or newer than the time shown in CreatedTimestamp.

advancedEventSelectors List<EventDataStoreAdvancedEventSelector>

The advanced event selectors that were used to select events for the data store.

createdTimestamp String

The timestamp of the event data store's creation.

eventDataStoreArn String

The ARN of the event data store.

multiRegionEnabled Boolean

Indicates whether the event data store includes events from all regions, or only from the region in which it was created.

name String

The name of the event data store.

organizationEnabled Boolean

Indicates that an event data store is collecting logged events for an organization.

retentionPeriod Integer

The retention period, in days.

status String

The status of an event data store. Values are ENABLED and PENDING_DELETION.

tags List<EventDataStoreTag>
terminationProtectionEnabled Boolean

Indicates whether the event data store is protected from termination.

updatedTimestamp String

The timestamp showing when an event data store was updated, if applicable. UpdatedTimestamp is always either the same or newer than the time shown in CreatedTimestamp.

advancedEventSelectors EventDataStoreAdvancedEventSelector[]

The advanced event selectors that were used to select events for the data store.

createdTimestamp string

The timestamp of the event data store's creation.

eventDataStoreArn string

The ARN of the event data store.

multiRegionEnabled boolean

Indicates whether the event data store includes events from all regions, or only from the region in which it was created.

name string

The name of the event data store.

organizationEnabled boolean

Indicates that an event data store is collecting logged events for an organization.

retentionPeriod number

The retention period, in days.

status string

The status of an event data store. Values are ENABLED and PENDING_DELETION.

tags EventDataStoreTag[]
terminationProtectionEnabled boolean

Indicates whether the event data store is protected from termination.

updatedTimestamp string

The timestamp showing when an event data store was updated, if applicable. UpdatedTimestamp is always either the same or newer than the time shown in CreatedTimestamp.

advanced_event_selectors Sequence[EventDataStoreAdvancedEventSelector]

The advanced event selectors that were used to select events for the data store.

created_timestamp str

The timestamp of the event data store's creation.

event_data_store_arn str

The ARN of the event data store.

multi_region_enabled bool

Indicates whether the event data store includes events from all regions, or only from the region in which it was created.

name str

The name of the event data store.

organization_enabled bool

Indicates that an event data store is collecting logged events for an organization.

retention_period int

The retention period, in days.

status str

The status of an event data store. Values are ENABLED and PENDING_DELETION.

tags Sequence[EventDataStoreTag]
termination_protection_enabled bool

Indicates whether the event data store is protected from termination.

updated_timestamp str

The timestamp showing when an event data store was updated, if applicable. UpdatedTimestamp is always either the same or newer than the time shown in CreatedTimestamp.

advancedEventSelectors List<Property Map>

The advanced event selectors that were used to select events for the data store.

createdTimestamp String

The timestamp of the event data store's creation.

eventDataStoreArn String

The ARN of the event data store.

multiRegionEnabled Boolean

Indicates whether the event data store includes events from all regions, or only from the region in which it was created.

name String

The name of the event data store.

organizationEnabled Boolean

Indicates that an event data store is collecting logged events for an organization.

retentionPeriod Number

The retention period, in days.

status String

The status of an event data store. Values are ENABLED and PENDING_DELETION.

tags List<Property Map>
terminationProtectionEnabled Boolean

Indicates whether the event data store is protected from termination.

updatedTimestamp String

The timestamp showing when an event data store was updated, if applicable. UpdatedTimestamp is always either the same or newer than the time shown in CreatedTimestamp.

Supporting Types

EventDataStoreAdvancedEventSelector

FieldSelectors List<Pulumi.AwsNative.CloudTrail.Inputs.EventDataStoreAdvancedFieldSelector>

Contains all selector statements in an advanced event selector.

Name string

An optional, descriptive name for an advanced event selector, such as "Log data events for only two S3 buckets".

FieldSelectors []EventDataStoreAdvancedFieldSelector

Contains all selector statements in an advanced event selector.

Name string

An optional, descriptive name for an advanced event selector, such as "Log data events for only two S3 buckets".

fieldSelectors List<EventDataStoreAdvancedFieldSelector>

Contains all selector statements in an advanced event selector.

name String

An optional, descriptive name for an advanced event selector, such as "Log data events for only two S3 buckets".

fieldSelectors EventDataStoreAdvancedFieldSelector[]

Contains all selector statements in an advanced event selector.

name string

An optional, descriptive name for an advanced event selector, such as "Log data events for only two S3 buckets".

field_selectors Sequence[EventDataStoreAdvancedFieldSelector]

Contains all selector statements in an advanced event selector.

name str

An optional, descriptive name for an advanced event selector, such as "Log data events for only two S3 buckets".

fieldSelectors List<Property Map>

Contains all selector statements in an advanced event selector.

name String

An optional, descriptive name for an advanced event selector, such as "Log data events for only two S3 buckets".

EventDataStoreAdvancedFieldSelector

Field string

A field in an event record on which to filter events to be logged. Supported fields include readOnly, eventCategory, eventSource (for management events), eventName, resources.type, and resources.ARN.

EndsWith List<string>

An operator that includes events that match the last few characters of the event record field specified as the value of Field.

Equals List<string>

An operator that includes events that match the exact value of the event record field specified as the value of Field. This is the only valid operator that you can use with the readOnly, eventCategory, and resources.type fields.

NotEndsWith List<string>

An operator that excludes events that match the last few characters of the event record field specified as the value of Field.

NotEquals List<string>

An operator that excludes events that match the exact value of the event record field specified as the value of Field.

NotStartsWith List<string>

An operator that excludes events that match the first few characters of the event record field specified as the value of Field.

StartsWith List<string>

An operator that includes events that match the first few characters of the event record field specified as the value of Field.

Field string

A field in an event record on which to filter events to be logged. Supported fields include readOnly, eventCategory, eventSource (for management events), eventName, resources.type, and resources.ARN.

EndsWith []string

An operator that includes events that match the last few characters of the event record field specified as the value of Field.

Equals []string

An operator that includes events that match the exact value of the event record field specified as the value of Field. This is the only valid operator that you can use with the readOnly, eventCategory, and resources.type fields.

NotEndsWith []string

An operator that excludes events that match the last few characters of the event record field specified as the value of Field.

NotEquals []string

An operator that excludes events that match the exact value of the event record field specified as the value of Field.

NotStartsWith []string

An operator that excludes events that match the first few characters of the event record field specified as the value of Field.

StartsWith []string

An operator that includes events that match the first few characters of the event record field specified as the value of Field.

field String

A field in an event record on which to filter events to be logged. Supported fields include readOnly, eventCategory, eventSource (for management events), eventName, resources.type, and resources.ARN.

endsWith List<String>

An operator that includes events that match the last few characters of the event record field specified as the value of Field.

equals_ List<String>

An operator that includes events that match the exact value of the event record field specified as the value of Field. This is the only valid operator that you can use with the readOnly, eventCategory, and resources.type fields.

notEndsWith List<String>

An operator that excludes events that match the last few characters of the event record field specified as the value of Field.

notEquals List<String>

An operator that excludes events that match the exact value of the event record field specified as the value of Field.

notStartsWith List<String>

An operator that excludes events that match the first few characters of the event record field specified as the value of Field.

startsWith List<String>

An operator that includes events that match the first few characters of the event record field specified as the value of Field.

field string

A field in an event record on which to filter events to be logged. Supported fields include readOnly, eventCategory, eventSource (for management events), eventName, resources.type, and resources.ARN.

endsWith string[]

An operator that includes events that match the last few characters of the event record field specified as the value of Field.

equals string[]

An operator that includes events that match the exact value of the event record field specified as the value of Field. This is the only valid operator that you can use with the readOnly, eventCategory, and resources.type fields.

notEndsWith string[]

An operator that excludes events that match the last few characters of the event record field specified as the value of Field.

notEquals string[]

An operator that excludes events that match the exact value of the event record field specified as the value of Field.

notStartsWith string[]

An operator that excludes events that match the first few characters of the event record field specified as the value of Field.

startsWith string[]

An operator that includes events that match the first few characters of the event record field specified as the value of Field.

field str

A field in an event record on which to filter events to be logged. Supported fields include readOnly, eventCategory, eventSource (for management events), eventName, resources.type, and resources.ARN.

ends_with Sequence[str]

An operator that includes events that match the last few characters of the event record field specified as the value of Field.

equals Sequence[str]

An operator that includes events that match the exact value of the event record field specified as the value of Field. This is the only valid operator that you can use with the readOnly, eventCategory, and resources.type fields.

not_ends_with Sequence[str]

An operator that excludes events that match the last few characters of the event record field specified as the value of Field.

not_equals Sequence[str]

An operator that excludes events that match the exact value of the event record field specified as the value of Field.

not_starts_with Sequence[str]

An operator that excludes events that match the first few characters of the event record field specified as the value of Field.

starts_with Sequence[str]

An operator that includes events that match the first few characters of the event record field specified as the value of Field.

field String

A field in an event record on which to filter events to be logged. Supported fields include readOnly, eventCategory, eventSource (for management events), eventName, resources.type, and resources.ARN.

endsWith List<String>

An operator that includes events that match the last few characters of the event record field specified as the value of Field.

equals List<String>

An operator that includes events that match the exact value of the event record field specified as the value of Field. This is the only valid operator that you can use with the readOnly, eventCategory, and resources.type fields.

notEndsWith List<String>

An operator that excludes events that match the last few characters of the event record field specified as the value of Field.

notEquals List<String>

An operator that excludes events that match the exact value of the event record field specified as the value of Field.

notStartsWith List<String>

An operator that excludes events that match the first few characters of the event record field specified as the value of Field.

startsWith List<String>

An operator that includes events that match the first few characters of the event record field specified as the value of Field.

EventDataStoreTag

Key string

The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Value string

The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Key string

The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Value string

The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key String

The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value String

The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key string

The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value string

The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key str

The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value str

The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key String

The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value String

The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0