@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.181Z") @Stability(value=Stable) public class CfnEventDataStore extends CfnResource implements IInspectable
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()))
.multiRegionEnabled(false)
.name("name")
.organizationEnabled(false)
.retentionPeriod(123)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.terminationProtectionEnabled(false)
.build();
| Modifier and Type | Class and Description |
|---|---|
static interface |
CfnEventDataStore.AdvancedEventSelectorProperty
Example:
|
static interface |
CfnEventDataStore.AdvancedFieldSelectorProperty
Example:
|
static class |
CfnEventDataStore.Builder
A fluent builder for
CfnEventDataStore. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnEventDataStore(software.constructs.Construct scope,
String id)
Create a new `AWS::CloudTrail::EventDataStore`.
|
|
CfnEventDataStore(software.constructs.Construct scope,
String id,
CfnEventDataStoreProps props)
Create a new `AWS::CloudTrail::EventDataStore`.
|
protected |
CfnEventDataStore(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnEventDataStore(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAdvancedEventSelectors()
`AWS::CloudTrail::EventDataStore.AdvancedEventSelectors`.
|
String |
getAttrCreatedTimestamp() |
String |
getAttrEventDataStoreArn() |
String |
getAttrStatus() |
String |
getAttrUpdatedTimestamp() |
protected Map<String,Object> |
getCfnProperties() |
Object |
getMultiRegionEnabled()
`AWS::CloudTrail::EventDataStore.MultiRegionEnabled`.
|
String |
getName()
`AWS::CloudTrail::EventDataStore.Name`.
|
Object |
getOrganizationEnabled()
`AWS::CloudTrail::EventDataStore.OrganizationEnabled`.
|
Number |
getRetentionPeriod()
`AWS::CloudTrail::EventDataStore.RetentionPeriod`.
|
TagManager |
getTags()
`AWS::CloudTrail::EventDataStore.Tags`.
|
Object |
getTerminationProtectionEnabled()
`AWS::CloudTrail::EventDataStore.TerminationProtectionEnabled`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAdvancedEventSelectors(IResolvable value)
`AWS::CloudTrail::EventDataStore.AdvancedEventSelectors`.
|
void |
setAdvancedEventSelectors(List<Object> value)
`AWS::CloudTrail::EventDataStore.AdvancedEventSelectors`.
|
void |
setMultiRegionEnabled(Boolean value)
`AWS::CloudTrail::EventDataStore.MultiRegionEnabled`.
|
void |
setMultiRegionEnabled(IResolvable value)
`AWS::CloudTrail::EventDataStore.MultiRegionEnabled`.
|
void |
setName(String value)
`AWS::CloudTrail::EventDataStore.Name`.
|
void |
setOrganizationEnabled(Boolean value)
`AWS::CloudTrail::EventDataStore.OrganizationEnabled`.
|
void |
setOrganizationEnabled(IResolvable value)
`AWS::CloudTrail::EventDataStore.OrganizationEnabled`.
|
void |
setRetentionPeriod(Number value)
`AWS::CloudTrail::EventDataStore.RetentionPeriod`.
|
void |
setTerminationProtectionEnabled(Boolean value)
`AWS::CloudTrail::EventDataStore.TerminationProtectionEnabled`.
|
void |
setTerminationProtectionEnabled(IResolvable value)
`AWS::CloudTrail::EventDataStore.TerminationProtectionEnabled`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnEventDataStore(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnEventDataStore(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnEventDataStore(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
CfnEventDataStoreProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties.@Stability(value=Stable)
public CfnEventDataStore(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrCreatedTimestamp()
@Stability(value=Stable) @NotNull public String getAttrEventDataStoreArn()
@Stability(value=Stable) @NotNull public String getAttrStatus()
@Stability(value=Stable) @NotNull public String getAttrUpdatedTimestamp()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @Nullable public Object getAdvancedEventSelectors()
@Stability(value=Stable)
public void setAdvancedEventSelectors(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setAdvancedEventSelectors(@Nullable
List<Object> value)
@Stability(value=Stable) @Nullable public Object getMultiRegionEnabled()
@Stability(value=Stable)
public void setMultiRegionEnabled(@Nullable
Boolean value)
@Stability(value=Stable)
public void setMultiRegionEnabled(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getName()
@Stability(value=Stable)
public void setName(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getOrganizationEnabled()
@Stability(value=Stable)
public void setOrganizationEnabled(@Nullable
Boolean value)
@Stability(value=Stable)
public void setOrganizationEnabled(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public Number getRetentionPeriod()
@Stability(value=Stable)
public void setRetentionPeriod(@Nullable
Number value)
@Stability(value=Stable) @Nullable public Object getTerminationProtectionEnabled()
@Stability(value=Stable)
public void setTerminationProtectionEnabled(@Nullable
Boolean value)
@Stability(value=Stable)
public void setTerminationProtectionEnabled(@Nullable
IResolvable value)
Copyright © 2022. All rights reserved.