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
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.109.0 (build c221850)",
date="2025-03-14T03:24:54.908Z")
@Stability(Stable)
public class CfnEventDataStore
extends CfnResource
implements IInspectable, 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") .federationEnabled(false) .federationRoleArn("federationRoleArn") .ingestionEnabled(false) .insightsDestination("insightsDestination") .insightSelectors(List.of(InsightSelectorProperty.builder() .insightType("insightType") .build())) .kmsKeyId("kmsKeyId") .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 interface
Advanced event selectors let you create fine-grained selectors for AWS CloudTrail management, data, and network activity events.static interface
A single selector statement in an advanced event selector.static final class
A fluent builder forCfnEventDataStore
.static interface
A 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.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CfnEventDataStore
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnEventDataStore
(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.Ref
returns the time stamp of the creation of the event data store, such as1248496624
.Ref
returns the ARN of the CloudTrail event data store, such asarn:aws:cloudtrail:us-east-1:12345678910:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE
.Ref
returns the status of the event data store, such asENABLED
.Ref
returns 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.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.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.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setAdvancedEventSelectors
(List<Object> value) The advanced event selectors to use to select the events for the data store.void
The advanced event selectors to use to select the events for the data store.void
setBillingMode
(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.void
setFederationEnabled
(Boolean value) Indicates if Lake query federation is enabled.void
setFederationEnabled
(IResolvable value) Indicates if Lake query federation is enabled.void
setFederationRoleArn
(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.void
setIngestionEnabled
(Boolean value) Specifies whether the event data store should start ingesting live events.void
setIngestionEnabled
(IResolvable value) Specifies whether the event data store should start ingesting live events.void
setInsightsDestination
(String value) The ARN (or ID suffix of the ARN) of the destination event data store that logs Insights events.void
setInsightSelectors
(List<Object> value) A JSON string that contains the Insights types you want to log on an event data store.void
setInsightSelectors
(IResolvable value) A JSON string that contains the Insights types you want to log on an event data store.void
setKmsKeyId
(String value) Specifies the AWS KMS key ID to use to encrypt the events delivered by CloudTrail.void
setMultiRegionEnabled
(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.void
setMultiRegionEnabled
(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.void
The name of the event data store.void
setOrganizationEnabled
(Boolean value) Specifies whether an event data store collects events logged for an organization in AWS Organizations .void
Specifies whether an event data store collects events logged for an organization in AWS Organizations .void
setRetentionPeriod
(Number value) The retention period of the event data store, in days.void
setTagsRaw
(List<CfnTag> value) A list of tags.void
Specifies whether termination protection is enabled for the event data store.void
Specifies 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, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
inspect
in 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:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrCreatedTimestamp
Ref
returns the time stamp of the creation of the event data store, such as1248496624
. -
getAttrEventDataStoreArn
Ref
returns the ARN of the CloudTrail event data store, such asarn:aws:cloudtrail:us-east-1:12345678910:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE
. -
getAttrStatus
Ref
returns the status of the event data store, such asENABLED
. -
getAttrUpdatedTimestamp
Ref
returns the time stamp that updates were made to an event data store, such as1598296624
. -
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
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. -
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. -
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. -
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. -
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. -
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. -
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. -
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 . -
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. -
setTerminationProtectionEnabled
Specifies whether termination protection is enabled for the event data store. -
setTerminationProtectionEnabled
Specifies whether termination protection is enabled for the event data store.
-