We recommend new projects start with resources from the AWS provider.
aws-native.cloudtrail.getEventDataStore
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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 7 to 2557 or 3653 days (about seven or ten years) depending on the selected BillingMode.
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)
public static Output<GetEventDataStoreResult> getEventDataStore(GetEventDataStoreArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:cloudtrail:getEventDataStore
  arguments:
    # arguments dictionaryThe following arguments are supported:
- EventData stringStore Arn 
- The ARN of the event data store.
- EventData stringStore Arn 
- The ARN of the event data store.
- eventData StringStore Arn 
- The ARN of the event data store.
- eventData stringStore Arn 
- The ARN of the event data store.
- event_data_ strstore_ arn 
- The ARN of the event data store.
- eventData StringStore Arn 
- The ARN of the event data store.
getEventDataStore Result
The following output properties are available:
- AdvancedEvent List<Pulumi.Selectors Aws Native. Cloud Trail. Outputs. Event Data Store Advanced Event Selector> 
- The advanced event selectors that were used to select events for the data store.
- BillingMode string
- The mode that the event data store will use to charge for event storage.
- CreatedTimestamp string
- The timestamp of the event data store's creation.
- EventData stringStore Arn 
- The ARN of the event data store.
- FederationEnabled bool
- Indicates whether federation is enabled on an event data store.
- FederationRole stringArn 
- The ARN of the role used for event data store federation.
- IngestionEnabled bool
- Indicates whether the event data store is ingesting events.
- InsightSelectors List<Pulumi.Aws Native. Cloud Trail. Outputs. Event Data Store Insight Selector> 
- Lets you enable Insights event logging by specifying the Insights selectors that you want to enable on an existing event data store. Both InsightSelectors and InsightsDestination need to have a value in order to enable Insights events on an event data store.
- InsightsDestination string
- Specifies the ARN of the event data store that will collect Insights events. Both InsightSelectors and InsightsDestination need to have a value in order to enable Insights events on an event data store
- KmsKey stringId 
- Specifies the KMS key ID to use to encrypt the events delivered by CloudTrail. The value can be an alias name prefixed by 'alias/', a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier.
- MultiRegion boolEnabled 
- 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 STARTING_INGESTION, ENABLED, STOPPING_INGESTION, STOPPED_INGESTION and PENDING_DELETION.
- 
List<Pulumi.Aws Native. Outputs. Tag> 
- A list of tags.
- TerminationProtection boolEnabled 
- 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.
- AdvancedEvent []EventSelectors Data Store Advanced Event Selector 
- The advanced event selectors that were used to select events for the data store.
- BillingMode string
- The mode that the event data store will use to charge for event storage.
- CreatedTimestamp string
- The timestamp of the event data store's creation.
- EventData stringStore Arn 
- The ARN of the event data store.
- FederationEnabled bool
- Indicates whether federation is enabled on an event data store.
- FederationRole stringArn 
- The ARN of the role used for event data store federation.
- IngestionEnabled bool
- Indicates whether the event data store is ingesting events.
- InsightSelectors []EventData Store Insight Selector 
- Lets you enable Insights event logging by specifying the Insights selectors that you want to enable on an existing event data store. Both InsightSelectors and InsightsDestination need to have a value in order to enable Insights events on an event data store.
- InsightsDestination string
- Specifies the ARN of the event data store that will collect Insights events. Both InsightSelectors and InsightsDestination need to have a value in order to enable Insights events on an event data store
- KmsKey stringId 
- Specifies the KMS key ID to use to encrypt the events delivered by CloudTrail. The value can be an alias name prefixed by 'alias/', a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier.
- MultiRegion boolEnabled 
- 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 STARTING_INGESTION, ENABLED, STOPPING_INGESTION, STOPPED_INGESTION and PENDING_DELETION.
- Tag
- A list of tags.
- TerminationProtection boolEnabled 
- 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.
- advancedEvent List<EventSelectors Data Store Advanced Event Selector> 
- The advanced event selectors that were used to select events for the data store.
- billingMode String
- The mode that the event data store will use to charge for event storage.
- createdTimestamp String
- The timestamp of the event data store's creation.
- eventData StringStore Arn 
- The ARN of the event data store.
- federationEnabled Boolean
- Indicates whether federation is enabled on an event data store.
- federationRole StringArn 
- The ARN of the role used for event data store federation.
- ingestionEnabled Boolean
- Indicates whether the event data store is ingesting events.
- insightSelectors List<EventData Store Insight Selector> 
- Lets you enable Insights event logging by specifying the Insights selectors that you want to enable on an existing event data store. Both InsightSelectors and InsightsDestination need to have a value in order to enable Insights events on an event data store.
- insightsDestination String
- Specifies the ARN of the event data store that will collect Insights events. Both InsightSelectors and InsightsDestination need to have a value in order to enable Insights events on an event data store
- kmsKey StringId 
- Specifies the KMS key ID to use to encrypt the events delivered by CloudTrail. The value can be an alias name prefixed by 'alias/', a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier.
- multiRegion BooleanEnabled 
- 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 STARTING_INGESTION, ENABLED, STOPPING_INGESTION, STOPPED_INGESTION and PENDING_DELETION.
- List<Tag>
- A list of tags.
- terminationProtection BooleanEnabled 
- 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.
- advancedEvent EventSelectors Data Store Advanced Event Selector[] 
- The advanced event selectors that were used to select events for the data store.
- billingMode string
- The mode that the event data store will use to charge for event storage.
- createdTimestamp string
- The timestamp of the event data store's creation.
- eventData stringStore Arn 
- The ARN of the event data store.
- federationEnabled boolean
- Indicates whether federation is enabled on an event data store.
- federationRole stringArn 
- The ARN of the role used for event data store federation.
- ingestionEnabled boolean
- Indicates whether the event data store is ingesting events.
- insightSelectors EventData Store Insight Selector[] 
- Lets you enable Insights event logging by specifying the Insights selectors that you want to enable on an existing event data store. Both InsightSelectors and InsightsDestination need to have a value in order to enable Insights events on an event data store.
- insightsDestination string
- Specifies the ARN of the event data store that will collect Insights events. Both InsightSelectors and InsightsDestination need to have a value in order to enable Insights events on an event data store
- kmsKey stringId 
- Specifies the KMS key ID to use to encrypt the events delivered by CloudTrail. The value can be an alias name prefixed by 'alias/', a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier.
- multiRegion booleanEnabled 
- 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 STARTING_INGESTION, ENABLED, STOPPING_INGESTION, STOPPED_INGESTION and PENDING_DELETION.
- Tag[]
- A list of tags.
- terminationProtection booleanEnabled 
- 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_ Sequence[Eventselectors Data Store Advanced Event Selector] 
- The advanced event selectors that were used to select events for the data store.
- billing_mode str
- The mode that the event data store will use to charge for event storage.
- created_timestamp str
- The timestamp of the event data store's creation.
- event_data_ strstore_ arn 
- The ARN of the event data store.
- federation_enabled bool
- Indicates whether federation is enabled on an event data store.
- federation_role_ strarn 
- The ARN of the role used for event data store federation.
- ingestion_enabled bool
- Indicates whether the event data store is ingesting events.
- insight_selectors Sequence[EventData Store Insight Selector] 
- Lets you enable Insights event logging by specifying the Insights selectors that you want to enable on an existing event data store. Both InsightSelectors and InsightsDestination need to have a value in order to enable Insights events on an event data store.
- insights_destination str
- Specifies the ARN of the event data store that will collect Insights events. Both InsightSelectors and InsightsDestination need to have a value in order to enable Insights events on an event data store
- kms_key_ strid 
- Specifies the KMS key ID to use to encrypt the events delivered by CloudTrail. The value can be an alias name prefixed by 'alias/', a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier.
- multi_region_ boolenabled 
- 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 STARTING_INGESTION, ENABLED, STOPPING_INGESTION, STOPPED_INGESTION and PENDING_DELETION.
- Sequence[root_Tag]
- A list of tags.
- termination_protection_ boolenabled 
- 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.
- advancedEvent List<Property Map>Selectors 
- The advanced event selectors that were used to select events for the data store.
- billingMode String
- The mode that the event data store will use to charge for event storage.
- createdTimestamp String
- The timestamp of the event data store's creation.
- eventData StringStore Arn 
- The ARN of the event data store.
- federationEnabled Boolean
- Indicates whether federation is enabled on an event data store.
- federationRole StringArn 
- The ARN of the role used for event data store federation.
- ingestionEnabled Boolean
- Indicates whether the event data store is ingesting events.
- insightSelectors List<Property Map>
- Lets you enable Insights event logging by specifying the Insights selectors that you want to enable on an existing event data store. Both InsightSelectors and InsightsDestination need to have a value in order to enable Insights events on an event data store.
- insightsDestination String
- Specifies the ARN of the event data store that will collect Insights events. Both InsightSelectors and InsightsDestination need to have a value in order to enable Insights events on an event data store
- kmsKey StringId 
- Specifies the KMS key ID to use to encrypt the events delivered by CloudTrail. The value can be an alias name prefixed by 'alias/', a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier.
- multiRegion BooleanEnabled 
- 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 STARTING_INGESTION, ENABLED, STOPPING_INGESTION, STOPPED_INGESTION and PENDING_DELETION.
- List<Property Map>
- A list of tags.
- terminationProtection BooleanEnabled 
- 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.Aws Native. Cloud Trail. Inputs. Event Data Store Advanced Field Selector> 
- 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 []EventData Store Advanced Field Selector 
- 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<EventData Store Advanced Field Selector> 
- 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 EventData Store Advanced Field Selector[] 
- 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[EventData Store Advanced Field Selector] 
- 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.
- NotEnds List<string>With 
- 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.
- NotStarts List<string>With 
- 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.
- NotEnds []stringWith 
- 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.
- NotStarts []stringWith 
- 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.
- notEnds List<String>With 
- 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.
- notStarts List<String>With 
- 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.
- notEnds string[]With 
- 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.
- notStarts string[]With 
- 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_ Sequence[str]with 
- 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_ Sequence[str]with 
- 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.
- notEnds List<String>With 
- 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.
- notStarts List<String>With 
- 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.
EventDataStoreInsightSelector    
- InsightType string
- The type of Insights to log on an event data store.
- InsightType string
- The type of Insights to log on an event data store.
- insightType String
- The type of Insights to log on an event data store.
- insightType string
- The type of Insights to log on an event data store.
- insight_type str
- The type of Insights to log on an event data store.
- insightType String
- The type of Insights to log on an event data store.
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.