Class TrailState
Inherited Members
Namespace: Pulumi.Aws.CloudTrail
Assembly: Pulumi.Aws.dll
Syntax
public sealed class TrailState : ResourceArgs
Constructors
View SourceTrailState()
Declaration
public TrailState()
Properties
View SourceArn
The Amazon Resource Name of the trail.
Declaration
public Input<string> Arn { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
CloudWatchLogsGroupArn
Specifies a log group name using an Amazon Resource Name (ARN), that represents the log group to which CloudTrail logs will be delivered.
Declaration
public Input<string> CloudWatchLogsGroupArn { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
CloudWatchLogsRoleArn
Specifies the role for the CloudWatch Logs endpoint to assume to write to a user’s log group.
Declaration
public Input<string> CloudWatchLogsRoleArn { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
EnableLogFileValidation
Specifies whether log file integrity validation is enabled.
Defaults to false.
Declaration
public Input<bool> EnableLogFileValidation { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
EnableLogging
Enables logging for the trail. Defaults to true.
Setting this to false will pause logging.
Declaration
public Input<bool> EnableLogging { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
EventSelectors
Specifies an event selector for enabling data event logging. Fields documented below. Please note the CloudTrail limits when configuring these.
Declaration
public InputList<TrailEventSelectorGetArgs> EventSelectors { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<TrailEventSelectorGetArgs> |
HomeRegion
The region in which the trail was created.
Declaration
public Input<string> HomeRegion { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
IncludeGlobalServiceEvents
Specifies whether the trail is publishing events
from global services such as IAM to the log files. Defaults to true.
Declaration
public Input<bool> IncludeGlobalServiceEvents { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
IsMultiRegionTrail
Specifies whether the trail is created in the current
region or in all regions. Defaults to false.
Declaration
public Input<bool> IsMultiRegionTrail { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
IsOrganizationTrail
Specifies whether the trail is an AWS Organizations trail. Organization trails log events for the master account and all member accounts. Can only be created in the organization master account. Defaults to false.
Declaration
public Input<bool> IsOrganizationTrail { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
KmsKeyId
Specifies the KMS key ARN to use to encrypt the logs delivered by CloudTrail.
Declaration
public Input<string> KmsKeyId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Name
Specifies the name of the trail.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
S3BucketName
Specifies the name of the S3 bucket designated for publishing log files.
Declaration
public Input<string> S3BucketName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
S3KeyPrefix
Specifies the S3 key prefix that follows the name of the bucket you have designated for log file delivery.
Declaration
public Input<string> S3KeyPrefix { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SnsTopicName
Specifies the name of the Amazon SNS topic defined for notification of log file delivery.
Declaration
public Input<string> SnsTopicName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Tags
A map of tags to assign to the trail
Declaration
public InputMap<object> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |