Package-level declarations

Types

Link copied to clipboard
class Channel : KotlinCustomResource

A channel receives events from a specific source (such as an on-premises storage solution or application, or a partner event data source), and delivers the events to one or more event data stores. You use channels to ingest events into CloudTrail from sources outside AWS.

Link copied to clipboard
data class ChannelArgs(val destinations: Output<List<ChannelDestinationArgs>>? = null, val name: Output<String>? = null, val source: Output<String>? = null, val tags: Output<List<TagArgs>>? = null) : ConvertibleToJava<ChannelArgs>

A channel receives events from a specific source (such as an on-premises storage solution or application, or a partner event data source), and delivers the events to one or more event data stores. You use channels to ingest events into CloudTrail from sources outside AWS.

Link copied to clipboard
Link copied to clipboard
object ChannelMapper : ResourceMapper<Channel>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class Dashboard : KotlinCustomResource

The Amazon CloudTrail dashboard resource allows customers to manage managed dashboards and create custom dashboards. You can manually refresh custom and managed dashboards. For custom dashboards, you can also set up an automatic refresh schedule and modify dashboard widgets.

Link copied to clipboard
data class DashboardArgs(val name: Output<String>? = null, val refreshSchedule: Output<DashboardRefreshScheduleArgs>? = null, val tags: Output<List<TagArgs>>? = null, val terminationProtectionEnabled: Output<Boolean>? = null, val widgets: Output<List<DashboardWidgetArgs>>? = null) : ConvertibleToJava<DashboardArgs>

The Amazon CloudTrail dashboard resource allows customers to manage managed dashboards and create custom dashboards. You can manually refresh custom and managed dashboards. For custom dashboards, you can also set up an automatic refresh schedule and modify dashboard widgets.

Link copied to clipboard
Link copied to clipboard
object DashboardMapper : ResourceMapper<Dashboard>
Link copied to clipboard
Link copied to clipboard
class EventDataStore : KotlinCustomResource

A storage lake of event data against which you can run complex SQL-based queries. An event data store can include events that you have logged on your account from the last 7 to 2557 or 3653 days (about seven or ten years) depending on the selected BillingMode.

Link copied to clipboard
data class EventDataStoreArgs(val advancedEventSelectors: Output<List<EventDataStoreAdvancedEventSelectorArgs>>? = null, val billingMode: Output<String>? = null, val federationEnabled: Output<Boolean>? = null, val federationRoleArn: Output<String>? = null, val ingestionEnabled: Output<Boolean>? = null, val insightSelectors: Output<List<EventDataStoreInsightSelectorArgs>>? = null, val insightsDestination: Output<String>? = null, val kmsKeyId: Output<String>? = null, val multiRegionEnabled: Output<Boolean>? = null, val name: Output<String>? = null, val organizationEnabled: Output<Boolean>? = null, val retentionPeriod: Output<Int>? = null, val tags: Output<List<TagArgs>>? = null, val terminationProtectionEnabled: Output<Boolean>? = null) : ConvertibleToJava<EventDataStoreArgs>

A storage lake of event data against which you can run complex SQL-based queries. An event data store can include events that you have logged on your account from the last 7 to 2557 or 3653 days (about seven or ten years) depending on the selected BillingMode.

Link copied to clipboard
Link copied to clipboard
object EventDataStoreMapper : ResourceMapper<EventDataStore>
Link copied to clipboard
class ResourcePolicy : KotlinCustomResource

Resource Type definition for AWS::CloudTrail::ResourcePolicy

Link copied to clipboard
data class ResourcePolicyArgs(val resourceArn: Output<String>? = null, val resourcePolicy: Output<Any>? = null) : ConvertibleToJava<ResourcePolicyArgs>

Resource Type definition for AWS::CloudTrail::ResourcePolicy

Link copied to clipboard
Link copied to clipboard
object ResourcePolicyMapper : ResourceMapper<ResourcePolicy>
Link copied to clipboard
class Trail : KotlinCustomResource

Creates a trail that specifies the settings for delivery of log data to an Amazon S3 bucket. A maximum of five trails can exist in a region, irrespective of the region in which they were created.

Link copied to clipboard
data class TrailArgs(val advancedEventSelectors: Output<List<TrailAdvancedEventSelectorArgs>>? = null, val cloudWatchLogsLogGroupArn: Output<String>? = null, val cloudWatchLogsRoleArn: Output<String>? = null, val enableLogFileValidation: Output<Boolean>? = null, val eventSelectors: Output<List<TrailEventSelectorArgs>>? = null, val includeGlobalServiceEvents: Output<Boolean>? = null, val insightSelectors: Output<List<TrailInsightSelectorArgs>>? = null, val isLogging: Output<Boolean>? = null, val isMultiRegionTrail: Output<Boolean>? = null, val isOrganizationTrail: Output<Boolean>? = null, val kmsKeyId: Output<String>? = null, val s3BucketName: Output<String>? = null, val s3KeyPrefix: Output<String>? = null, val snsTopicName: Output<String>? = null, val tags: Output<List<TagArgs>>? = null, val trailName: Output<String>? = null) : ConvertibleToJava<TrailArgs>

Creates a trail that specifies the settings for delivery of log data to an Amazon S3 bucket. A maximum of five trails can exist in a region, irrespective of the region in which they were created.

Link copied to clipboard

Builder for TrailArgs.

Link copied to clipboard
object TrailMapper : ResourceMapper<Trail>
Link copied to clipboard

Builder for Trail.

Functions

Link copied to clipboard
fun channel(name: String): Channel
suspend fun channel(name: String, block: suspend ChannelResourceBuilder.() -> Unit): Channel
Link copied to clipboard
suspend fun dashboard(name: String, block: suspend DashboardResourceBuilder.() -> Unit): Dashboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun trail(name: String): Trail
suspend fun trail(name: String, block: suspend TrailResourceBuilder.() -> Unit): Trail