@Stability(value=Stable) public static final class CfnEventDataStoreProps.Builder extends Object implements software.amazon.jsii.Builder<CfnEventDataStoreProps>
CfnEventDataStoreProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnEventDataStoreProps.Builder advancedEventSelectors(IResolvable advancedEventSelectors)
CfnEventDataStoreProps.getAdvancedEventSelectors()advancedEventSelectors - The advanced event selectors to use to select the events for the data store.
You can configure up to five advanced event selectors for each event data store.
For more information about how to use advanced event selectors to log CloudTrail events, see Log events by using advanced event selectors in the CloudTrail User Guide.
For more information about how to use advanced event selectors to include AWS Config configuration items in your event data store, see Create an event data store for AWS Config configuration items in the CloudTrail User Guide.
this@Stability(value=Stable) public CfnEventDataStoreProps.Builder advancedEventSelectors(List<? extends Object> advancedEventSelectors)
CfnEventDataStoreProps.getAdvancedEventSelectors()advancedEventSelectors - The advanced event selectors to use to select the events for the data store.
You can configure up to five advanced event selectors for each event data store.
For more information about how to use advanced event selectors to log CloudTrail events, see Log events by using advanced event selectors in the CloudTrail User Guide.
For more information about how to use advanced event selectors to include AWS Config configuration items in your event data store, see Create an event data store for AWS Config configuration items in the CloudTrail User Guide.
this@Stability(value=Stable) public CfnEventDataStoreProps.Builder kmsKeyId(String kmsKeyId)
CfnEventDataStoreProps.getKmsKeyId()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.
Disabling or deleting the KMS key, or removing CloudTrail permissions on the key, prevents CloudTrail from logging events to the event data store, and prevents users from querying the data in the event data store that was encrypted with the key. After you associate an event data store with a KMS key, the KMS key cannot be removed or changed. Before you disable or delete a KMS key that you are using with an event data store, delete or back up your event data store.
CloudTrail also supports AWS KMS multi-Region keys. For more information about multi-Region keys, see Using multi-Region keys in the AWS Key Management Service Developer Guide .
Examples:
alias/MyAliasNamearn:aws:kms:us-east-2:123456789012:alias/MyAliasNamearn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-12345678901212345678-1234-1234-1234-123456789012this@Stability(value=Stable) public CfnEventDataStoreProps.Builder multiRegionEnabled(Boolean multiRegionEnabled)
CfnEventDataStoreProps.getMultiRegionEnabled()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.this@Stability(value=Stable) public CfnEventDataStoreProps.Builder multiRegionEnabled(IResolvable multiRegionEnabled)
CfnEventDataStoreProps.getMultiRegionEnabled()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.this@Stability(value=Stable) public CfnEventDataStoreProps.Builder name(String name)
CfnEventDataStoreProps.getName()name - The name of the event data store.this@Stability(value=Stable) public CfnEventDataStoreProps.Builder organizationEnabled(Boolean organizationEnabled)
CfnEventDataStoreProps.getOrganizationEnabled()organizationEnabled - Specifies whether an event data store collects events logged for an organization in AWS Organizations .this@Stability(value=Stable) public CfnEventDataStoreProps.Builder organizationEnabled(IResolvable organizationEnabled)
CfnEventDataStoreProps.getOrganizationEnabled()organizationEnabled - Specifies whether an event data store collects events logged for an organization in AWS Organizations .this@Stability(value=Stable) public CfnEventDataStoreProps.Builder retentionPeriod(Number retentionPeriod)
CfnEventDataStoreProps.getRetentionPeriod()retentionPeriod - The retention period of the event data store, in days.
You can set a retention period of up to 2557 days, the equivalent of seven years.this@Stability(value=Stable) public CfnEventDataStoreProps.Builder tags(List<? extends CfnTag> tags)
CfnEventDataStoreProps.getTags()tags - A list of tags.this@Stability(value=Stable) public CfnEventDataStoreProps.Builder terminationProtectionEnabled(Boolean terminationProtectionEnabled)
CfnEventDataStoreProps.getTerminationProtectionEnabled()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.this@Stability(value=Stable) public CfnEventDataStoreProps.Builder terminationProtectionEnabled(IResolvable terminationProtectionEnabled)
CfnEventDataStoreProps.getTerminationProtectionEnabled()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.this@Stability(value=Stable) public CfnEventDataStoreProps build()
build in interface software.amazon.jsii.Builder<CfnEventDataStoreProps>CfnEventDataStorePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.