| Package | Description |
|---|---|
| software.amazon.awscdk.services.cloudtrail |
AWS CloudTrail Construct Library
|
| Modifier and Type | Method and Description |
|---|---|
CfnTrail.Builder |
CfnTrail.Builder.cloudWatchLogsLogGroupArn(String cloudWatchLogsLogGroupArn)
Specifies a log group name using an Amazon Resource Name (ARN), a unique identifier that represents the log group to which CloudTrail logs are delivered.
|
CfnTrail.Builder |
CfnTrail.Builder.cloudWatchLogsRoleArn(String cloudWatchLogsRoleArn)
Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group.
|
static CfnTrail.Builder |
CfnTrail.Builder.create(software.constructs.Construct scope,
String id) |
CfnTrail.Builder |
CfnTrail.Builder.enableLogFileValidation(Boolean enableLogFileValidation)
Specifies whether log file validation is enabled.
|
CfnTrail.Builder |
CfnTrail.Builder.enableLogFileValidation(IResolvable enableLogFileValidation)
Specifies whether log file validation is enabled.
|
CfnTrail.Builder |
CfnTrail.Builder.eventSelectors(IResolvable eventSelectors)
Use event selectors to further specify the management and data event settings for your trail.
|
CfnTrail.Builder |
CfnTrail.Builder.eventSelectors(List<? extends Object> eventSelectors)
Use event selectors to further specify the management and data event settings for your trail.
|
CfnTrail.Builder |
CfnTrail.Builder.includeGlobalServiceEvents(Boolean includeGlobalServiceEvents)
Specifies whether the trail is publishing events from global services such as IAM to the log files.
|
CfnTrail.Builder |
CfnTrail.Builder.includeGlobalServiceEvents(IResolvable includeGlobalServiceEvents)
Specifies whether the trail is publishing events from global services such as IAM to the log files.
|
CfnTrail.Builder |
CfnTrail.Builder.insightSelectors(IResolvable insightSelectors)
`AWS::CloudTrail::Trail.InsightSelectors`.
|
CfnTrail.Builder |
CfnTrail.Builder.insightSelectors(List<? extends Object> insightSelectors)
`AWS::CloudTrail::Trail.InsightSelectors`.
|
CfnTrail.Builder |
CfnTrail.Builder.isLogging(Boolean isLogging)
Whether the CloudTrail trail is currently logging AWS API calls.
|
CfnTrail.Builder |
CfnTrail.Builder.isLogging(IResolvable isLogging)
Whether the CloudTrail trail is currently logging AWS API calls.
|
CfnTrail.Builder |
CfnTrail.Builder.isMultiRegionTrail(Boolean isMultiRegionTrail)
Specifies whether the trail applies only to the current region or to all regions.
|
CfnTrail.Builder |
CfnTrail.Builder.isMultiRegionTrail(IResolvable isMultiRegionTrail)
Specifies whether the trail applies only to the current region or to all regions.
|
CfnTrail.Builder |
CfnTrail.Builder.isOrganizationTrail(Boolean isOrganizationTrail)
Specifies whether the trail is applied to all accounts in an organization in AWS Organizations , or only for the current AWS account .
|
CfnTrail.Builder |
CfnTrail.Builder.isOrganizationTrail(IResolvable isOrganizationTrail)
Specifies whether the trail is applied to all accounts in an organization in AWS Organizations , or only for the current AWS account .
|
CfnTrail.Builder |
CfnTrail.Builder.kmsKeyId(String kmsKeyId)
Specifies the AWS KMS key ID to use to encrypt the logs delivered by CloudTrail.
|
CfnTrail.Builder |
CfnTrail.Builder.s3BucketName(String s3BucketName)
Specifies the name of the Amazon S3 bucket designated for publishing log files.
|
CfnTrail.Builder |
CfnTrail.Builder.s3KeyPrefix(String s3KeyPrefix)
Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated for log file delivery.
|
CfnTrail.Builder |
CfnTrail.Builder.snsTopicName(String snsTopicName)
Specifies the name of the Amazon SNS topic defined for notification of log file delivery.
|
CfnTrail.Builder |
CfnTrail.Builder.tags(List<? extends CfnTag> tags)
A custom set of tags (key-value pairs) for this trail.
|
CfnTrail.Builder |
CfnTrail.Builder.trailName(String trailName)
Specifies the name of the trail.
|
Copyright © 2022. All rights reserved.