Class CfnEventDataStore
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.cloudtrail.CfnEventDataStore
- All Implemented Interfaces:
IInspectable,ITaggable,IEventDataStoreRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:34.468Z")
@Stability(Stable)
public class CfnEventDataStore
extends CfnResource
implements IInspectable, IEventDataStoreRef, ITaggable
Creates a new event data store.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cloudtrail.*;
CfnEventDataStore cfnEventDataStore = CfnEventDataStore.Builder.create(this, "MyCfnEventDataStore")
.advancedEventSelectors(List.of(AdvancedEventSelectorProperty.builder()
.fieldSelectors(List.of(AdvancedFieldSelectorProperty.builder()
.field("field")
// the properties below are optional
.endsWith(List.of("endsWith"))
.equalTo(List.of("equalTo"))
.notEndsWith(List.of("notEndsWith"))
.notEquals(List.of("notEquals"))
.notStartsWith(List.of("notStartsWith"))
.startsWith(List.of("startsWith"))
.build()))
// the properties below are optional
.name("name")
.build()))
.billingMode("billingMode")
.contextKeySelectors(List.of(ContextKeySelectorProperty.builder()
.equalTo(List.of("equalTo"))
.type("type")
.build()))
.federationEnabled(false)
.federationRoleArn("federationRoleArn")
.ingestionEnabled(false)
.insightsDestination("insightsDestination")
.insightSelectors(List.of(InsightSelectorProperty.builder()
.insightType("insightType")
.build()))
.kmsKeyId("kmsKeyId")
.maxEventSize("maxEventSize")
.multiRegionEnabled(false)
.name("name")
.organizationEnabled(false)
.retentionPeriod(123)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.terminationProtectionEnabled(false)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceAdvanced event selectors let you create fine-grained selectors for AWS CloudTrail management, data, and network activity events.static interfaceA single selector statement in an advanced event selector.static final classA fluent builder forCfnEventDataStore.static interfaceAn object that contains information types to be included in CloudTrail enriched events.static interfaceA JSON string that contains a list of Insights types that are logged on an event data store.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudtrail.IEventDataStoreRef
IEventDataStoreRef.Jsii$Default, IEventDataStoreRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnEventDataStore(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnEventDataStore(software.amazon.jsii.JsiiObjectRef objRef) CfnEventDataStore(software.constructs.Construct scope, String id) CfnEventDataStore(software.constructs.Construct scope, String id, CfnEventDataStoreProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe advanced event selectors to use to select the events for the data store.Refreturns the time stamp of the creation of the event data store, such as1248496624.Refreturns the ARN of the CloudTrail event data store, such asarn:aws:cloudtrail:us-east-1:12345678910:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE.Refreturns the status of the event data store, such asENABLED.Refreturns the time stamp that updates were made to an event data store, such as1598296624.The billing mode for the event data store determines the cost for ingesting events and the default and maximum retention period for the event data store.The list of context key selectors that are configured for the event data store.A reference to a EventDataStore resource.Indicates if Lake query federation is enabled.If Lake query federation is enabled, provides the ARN of the federation role used to access the resources for the federated event data store.Specifies whether the event data store should start ingesting live events.The ARN (or ID suffix of the ARN) of the destination event data store that logs Insights events.A JSON string that contains the Insights types you want to log on an event data store.Specifies the AWS KMS key ID to use to encrypt the events delivered by CloudTrail.The maximum allowed size for events to be stored in the specified event data store.Specifies whether the event data store includes events from all Regions, or only from the Region in which the event data store is created.getName()The name of the event data store.Specifies whether an event data store collects events logged for an organization in AWS Organizations .The retention period of the event data store, in days.getTags()Tag Manager which manages the tags for this resource.A list of tags.Specifies whether termination protection is enabled for the event data store.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetAdvancedEventSelectors(List<Object> value) The advanced event selectors to use to select the events for the data store.voidThe advanced event selectors to use to select the events for the data store.voidsetBillingMode(String value) The billing mode for the event data store determines the cost for ingesting events and the default and maximum retention period for the event data store.voidsetContextKeySelectors(List<Object> value) The list of context key selectors that are configured for the event data store.voidThe list of context key selectors that are configured for the event data store.voidsetFederationEnabled(Boolean value) Indicates if Lake query federation is enabled.voidsetFederationEnabled(IResolvable value) Indicates if Lake query federation is enabled.voidsetFederationRoleArn(String value) If Lake query federation is enabled, provides the ARN of the federation role used to access the resources for the federated event data store.voidsetIngestionEnabled(Boolean value) Specifies whether the event data store should start ingesting live events.voidsetIngestionEnabled(IResolvable value) Specifies whether the event data store should start ingesting live events.voidsetInsightsDestination(String value) The ARN (or ID suffix of the ARN) of the destination event data store that logs Insights events.voidsetInsightSelectors(List<Object> value) A JSON string that contains the Insights types you want to log on an event data store.voidsetInsightSelectors(IResolvable value) A JSON string that contains the Insights types you want to log on an event data store.voidsetKmsKeyId(String value) Specifies the AWS KMS key ID to use to encrypt the events delivered by CloudTrail.voidsetMaxEventSize(String value) The maximum allowed size for events to be stored in the specified event data store.voidsetMultiRegionEnabled(Boolean value) Specifies whether the event data store includes events from all Regions, or only from the Region in which the event data store is created.voidsetMultiRegionEnabled(IResolvable value) Specifies whether the event data store includes events from all Regions, or only from the Region in which the event data store is created.voidThe name of the event data store.voidsetOrganizationEnabled(Boolean value) Specifies whether an event data store collects events logged for an organization in AWS Organizations .voidSpecifies whether an event data store collects events logged for an organization in AWS Organizations .voidsetRetentionPeriod(Number value) The retention period of the event data store, in days.voidsetTagsRaw(List<CfnTag> value) A list of tags.voidSpecifies whether termination protection is enabled for the event data store.voidSpecifies whether termination protection is enabled for the event data store.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnEventDataStore
protected CfnEventDataStore(software.amazon.jsii.JsiiObjectRef objRef) -
CfnEventDataStore
protected CfnEventDataStore(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnEventDataStore
@Stability(Stable) public CfnEventDataStore(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnEventDataStoreProps props) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties.
-
CfnEventDataStore
@Stability(Stable) public CfnEventDataStore(@NotNull software.constructs.Construct scope, @NotNull String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrCreatedTimestamp
Refreturns the time stamp of the creation of the event data store, such as1248496624. -
getAttrEventDataStoreArn
Refreturns the ARN of the CloudTrail event data store, such asarn:aws:cloudtrail:us-east-1:12345678910:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE. -
getAttrStatus
Refreturns the status of the event data store, such asENABLED. -
getAttrUpdatedTimestamp
Refreturns the time stamp that updates were made to an event data store, such as1598296624. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getEventDataStoreRef
A reference to a EventDataStore resource.- Specified by:
getEventDataStoreRefin interfaceIEventDataStoreRef
-
getTags
Tag Manager which manages the tags for this resource. -
getAdvancedEventSelectors
The advanced event selectors to use to select the events for the data store.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnEventDataStore.AdvancedEventSelectorProperty> -
setAdvancedEventSelectors
The advanced event selectors to use to select the events for the data store. -
setAdvancedEventSelectors
The advanced event selectors to use to select the events for the data store. -
getBillingMode
The billing mode for the event data store determines the cost for ingesting events and the default and maximum retention period for the event data store. -
setBillingMode
The billing mode for the event data store determines the cost for ingesting events and the default and maximum retention period for the event data store. -
getContextKeySelectors
The list of context key selectors that are configured for the event data store.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnEventDataStore.ContextKeySelectorProperty> -
setContextKeySelectors
The list of context key selectors that are configured for the event data store. -
setContextKeySelectors
The list of context key selectors that are configured for the event data store. -
getFederationEnabled
Indicates if Lake query federation is enabled. By default, Lake query federation is disabled. You cannot delete an event data store if Lake query federation is enabled.Returns union: either
BooleanorIResolvable -
setFederationEnabled
Indicates if Lake query federation is enabled. By default, Lake query federation is disabled. You cannot delete an event data store if Lake query federation is enabled. -
setFederationEnabled
Indicates if Lake query federation is enabled. By default, Lake query federation is disabled. You cannot delete an event data store if Lake query federation is enabled. -
getFederationRoleArn
If Lake query federation is enabled, provides the ARN of the federation role used to access the resources for the federated event data store. -
setFederationRoleArn
If Lake query federation is enabled, provides the ARN of the federation role used to access the resources for the federated event data store. -
getIngestionEnabled
Specifies whether the event data store should start ingesting live events.Returns union: either
BooleanorIResolvable -
setIngestionEnabled
Specifies whether the event data store should start ingesting live events. -
setIngestionEnabled
Specifies whether the event data store should start ingesting live events. -
getInsightsDestination
The ARN (or ID suffix of the ARN) of the destination event data store that logs Insights events. -
setInsightsDestination
The ARN (or ID suffix of the ARN) of the destination event data store that logs Insights events. -
getInsightSelectors
A JSON string that contains the Insights types you want to log on an event data store.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnEventDataStore.InsightSelectorProperty> -
setInsightSelectors
A JSON string that contains the Insights types you want to log on an event data store. -
setInsightSelectors
A JSON string that contains the Insights types you want to log on an event data store. -
getKmsKeyId
Specifies the AWS KMS key ID to use to encrypt the events delivered by CloudTrail. -
setKmsKeyId
Specifies the AWS KMS key ID to use to encrypt the events delivered by CloudTrail. -
getMaxEventSize
The maximum allowed size for events to be stored in the specified event data store. -
setMaxEventSize
The maximum allowed size for events to be stored in the specified event data store. -
getMultiRegionEnabled
Specifies whether the event data store includes events from all Regions, or only from the Region in which the event data store is created.Returns union: either
BooleanorIResolvable -
setMultiRegionEnabled
Specifies whether the event data store includes events from all Regions, or only from the Region in which the event data store is created. -
setMultiRegionEnabled
Specifies whether the event data store includes events from all Regions, or only from the Region in which the event data store is created. -
getName
The name of the event data store. -
setName
The name of the event data store. -
getOrganizationEnabled
Specifies whether an event data store collects events logged for an organization in AWS Organizations .Returns union: either
BooleanorIResolvable -
setOrganizationEnabled
Specifies whether an event data store collects events logged for an organization in AWS Organizations . -
setOrganizationEnabled
Specifies whether an event data store collects events logged for an organization in AWS Organizations . -
getRetentionPeriod
The retention period of the event data store, in days. -
setRetentionPeriod
The retention period of the event data store, in days. -
getTagsRaw
A list of tags. -
setTagsRaw
A list of tags. -
getTerminationProtectionEnabled
Specifies whether termination protection is enabled for the event data store.Returns union: either
BooleanorIResolvable -
setTerminationProtectionEnabled
Specifies whether termination protection is enabled for the event data store. -
setTerminationProtectionEnabled
Specifies whether termination protection is enabled for the event data store.
-