EventDataStoreArgs constructor
- Input<
List< ? advancedEventSelectors,EventDataStoreAdvancedEventSelector> ?> - Input<
String?> ? billingMode, - Input<
String?> ? kmsKeyId, - Input<
bool?> ? multiRegionEnabled, - Input<
String?> ? name, - Input<
bool?> ? organizationEnabled, - Input<
String?> ? region, - Input<
int?> ? retentionPeriod, - Input<
String?> ? suspend, - Input<
Map< ? tags,String, String> ?> - Input<
bool?> ? terminationProtectionEnabled,
Creates a new EventDataStoreArgs.
advancedEventSelectors The advanced event selectors to use to select the events for the data store. For more information about how to use advanced event selectors, see Log events by using advanced event selectors in the CloudTrail User Guide.
billingMode The billing mode for the event data store. The valid values are EXTENDABLE_RETENTION_PRICING and FIXED_RETENTION_PRICING. Defaults to EXTENDABLE_RETENTION_PRICING.
kmsKeyId Specifies the AWS 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.
multiRegionEnabled Specifies whether the event data store includes events from all regions, or only from the region in which the event data store is created. Default: true.
name The name of the event data store.
organizationEnabled Specifies whether an event data store collects events logged for an organization in AWS Organizations. Default: false.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
retentionPeriod The retention period of the event data store, in days. You can set a retention period of up to 2555 days, the equivalent of seven years. Default: 2555.
suspend Specifies whether to stop ingesting new events into the event data store. If set to true, ingestion is suspended while maintaining the ability to query existing events. If set to false, ingestion is active.
tags A map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
terminationProtectionEnabled Specifies whether termination protection is enabled for the event data store. If termination protection is enabled, you cannot delete the event data store until termination protection is disabled. Default: true.
Implementation
const EventDataStoreArgs({
this.advancedEventSelectors,
this.billingMode,
this.kmsKeyId,
this.multiRegionEnabled,
this.name,
this.organizationEnabled,
this.region,
this.retentionPeriod,
this.suspend,
this.tags,
this.terminationProtectionEnabled,
});