We recommend new projects start with resources from the AWS provider.
aws-native.cloudtrail.EventDataStore
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.
Create EventDataStore Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EventDataStore(name: string, args?: EventDataStoreArgs, opts?: CustomResourceOptions);@overload
def EventDataStore(resource_name: str,
                   args: Optional[EventDataStoreArgs] = None,
                   opts: Optional[ResourceOptions] = None)
@overload
def EventDataStore(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   advanced_event_selectors: Optional[Sequence[EventDataStoreAdvancedEventSelectorArgs]] = None,
                   billing_mode: Optional[str] = None,
                   federation_enabled: Optional[bool] = None,
                   federation_role_arn: Optional[str] = None,
                   ingestion_enabled: Optional[bool] = None,
                   insight_selectors: Optional[Sequence[EventDataStoreInsightSelectorArgs]] = None,
                   insights_destination: Optional[str] = None,
                   kms_key_id: Optional[str] = None,
                   multi_region_enabled: Optional[bool] = None,
                   name: Optional[str] = None,
                   organization_enabled: Optional[bool] = None,
                   retention_period: Optional[int] = None,
                   tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
                   termination_protection_enabled: Optional[bool] = None)func NewEventDataStore(ctx *Context, name string, args *EventDataStoreArgs, opts ...ResourceOption) (*EventDataStore, error)public EventDataStore(string name, EventDataStoreArgs? args = null, CustomResourceOptions? opts = null)
public EventDataStore(String name, EventDataStoreArgs args)
public EventDataStore(String name, EventDataStoreArgs args, CustomResourceOptions options)
type: aws-native:cloudtrail:EventDataStore
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 EventDataStoreArgs
- 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 EventDataStoreArgs
- 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 EventDataStoreArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EventDataStoreArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EventDataStoreArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
EventDataStore Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The EventDataStore resource accepts the following input properties:
- AdvancedEvent List<Pulumi.Selectors Aws Native. Cloud Trail. Inputs. 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.
- 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. Inputs. 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.
- 
List<Pulumi.Aws Native. Inputs. Tag> 
- A list of tags.
- TerminationProtection boolEnabled 
- Indicates whether the event data store is protected from termination.
- AdvancedEvent []EventSelectors Data Store Advanced Event Selector Args 
- 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.
- 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 Args 
- 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.
- 
TagArgs 
- A list of tags.
- TerminationProtection boolEnabled 
- Indicates whether the event data store is protected from termination.
- 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.
- 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.
- List<Tag>
- A list of tags.
- terminationProtection BooleanEnabled 
- Indicates whether the event data store is protected from termination.
- 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.
- 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.
- Tag[]
- A list of tags.
- terminationProtection booleanEnabled 
- Indicates whether the event data store is protected from termination.
- advanced_event_ Sequence[Eventselectors Data Store Advanced Event Selector Args] 
- 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.
- 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 Args] 
- 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.
- 
Sequence[TagArgs] 
- A list of tags.
- termination_protection_ boolenabled 
- Indicates whether the event data store is protected from termination.
- 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.
- 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.
- List<Property Map>
- A list of tags.
- terminationProtection BooleanEnabled 
- Indicates whether the event data store is protected from termination.
Outputs
All input properties are implicitly available as output properties. Additionally, the EventDataStore resource produces the following output properties:
- CreatedTimestamp string
- The timestamp of the event data store's creation.
- EventData stringStore Arn 
- The ARN of the event data store.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- The status of an event data store. Values are STARTING_INGESTION, ENABLED, STOPPING_INGESTION, STOPPED_INGESTION and PENDING_DELETION.
- 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.
- CreatedTimestamp string
- The timestamp of the event data store's creation.
- EventData stringStore Arn 
- The ARN of the event data store.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- The status of an event data store. Values are STARTING_INGESTION, ENABLED, STOPPING_INGESTION, STOPPED_INGESTION and PENDING_DELETION.
- 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.
- createdTimestamp String
- The timestamp of the event data store's creation.
- eventData StringStore Arn 
- The ARN of the event data store.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- The status of an event data store. Values are STARTING_INGESTION, ENABLED, STOPPING_INGESTION, STOPPED_INGESTION and PENDING_DELETION.
- 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.
- createdTimestamp string
- The timestamp of the event data store's creation.
- eventData stringStore Arn 
- The ARN of the event data store.
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- The status of an event data store. Values are STARTING_INGESTION, ENABLED, STOPPING_INGESTION, STOPPED_INGESTION and PENDING_DELETION.
- 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.
- created_timestamp str
- The timestamp of the event data store's creation.
- event_data_ strstore_ arn 
- The ARN of the event data store.
- id str
- The provider-assigned unique ID for this managed resource.
- status str
- The status of an event data store. Values are STARTING_INGESTION, ENABLED, STOPPING_INGESTION, STOPPED_INGESTION and PENDING_DELETION.
- 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.
- createdTimestamp String
- The timestamp of the event data store's creation.
- eventData StringStore Arn 
- The ARN of the event data store.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- The status of an event data store. Values are STARTING_INGESTION, ENABLED, STOPPING_INGESTION, STOPPED_INGESTION and PENDING_DELETION.
- 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, EventDataStoreAdvancedEventSelectorArgs            
- 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, EventDataStoreAdvancedFieldSelectorArgs            
- 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, EventDataStoreInsightSelectorArgs          
- 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, TagArgs  
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.