@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
106 lines (105 loc) • 4.87 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
/**
* 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.
*/
export declare function getEventDataStore(args: GetEventDataStoreArgs, opts?: pulumi.InvokeOptions): Promise<GetEventDataStoreResult>;
export interface GetEventDataStoreArgs {
/**
* The ARN of the event data store.
*/
eventDataStoreArn: string;
}
export interface GetEventDataStoreResult {
/**
* The advanced event selectors that were used to select events for the data store.
*/
readonly advancedEventSelectors?: outputs.cloudtrail.EventDataStoreAdvancedEventSelector[];
/**
* The mode that the event data store will use to charge for event storage.
*/
readonly billingMode?: string;
/**
* An array that enriches event records in an existing event data store by including additional information specified in individual ContexKeySelector entries. If you add ContextKeySelectors, you must set MaxEventSize to Large.
*/
readonly contextKeySelectors?: outputs.cloudtrail.EventDataStoreContextKeySelector[];
/**
* The timestamp of the event data store's creation.
*/
readonly createdTimestamp?: string;
/**
* The ARN of the event data store.
*/
readonly eventDataStoreArn?: string;
/**
* Indicates whether federation is enabled on an event data store.
*/
readonly federationEnabled?: boolean;
/**
* The ARN of the role used for event data store federation.
*/
readonly federationRoleArn?: string;
/**
* Indicates whether the event data store is ingesting events.
*/
readonly ingestionEnabled?: boolean;
/**
* 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.
*/
readonly insightSelectors?: outputs.cloudtrail.EventDataStoreInsightSelector[];
/**
* 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
*/
readonly insightsDestination?: string;
/**
* 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.
*/
readonly kmsKeyId?: string;
/**
* Specifies the maximum size allowed for the event. Valid values are Standard and Large. If you add ContextKeySelectors, this value must be set to Large.
*/
readonly maxEventSize?: enums.cloudtrail.EventDataStoreMaxEventSize;
/**
* Indicates whether the event data store includes events from all regions, or only from the region in which it was created.
*/
readonly multiRegionEnabled?: boolean;
/**
* The name of the event data store.
*/
readonly name?: string;
/**
* Indicates that an event data store is collecting logged events for an organization.
*/
readonly organizationEnabled?: boolean;
/**
* The retention period, in days.
*/
readonly retentionPeriod?: number;
/**
* The status of an event data store. Values are STARTING_INGESTION, ENABLED, STOPPING_INGESTION, STOPPED_INGESTION and PENDING_DELETION.
*/
readonly status?: string;
/**
* A list of tags.
*/
readonly tags?: outputs.Tag[];
/**
* Indicates whether the event data store is protected from termination.
*/
readonly terminationProtectionEnabled?: boolean;
/**
* 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.
*/
readonly updatedTimestamp?: string;
}
/**
* 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.
*/
export declare function getEventDataStoreOutput(args: GetEventDataStoreOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetEventDataStoreResult>;
export interface GetEventDataStoreOutputArgs {
/**
* The ARN of the event data store.
*/
eventDataStoreArn: pulumi.Input<string>;
}