Show / Hide Table of Contents

Class TrailArgs

Inheritance
System.Object
InputArgs
ResourceArgs
TrailArgs
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.CloudTrail
Assembly: Pulumi.Aws.dll
Syntax
public sealed class TrailArgs : ResourceArgs

Constructors

View Source

TrailArgs()

Declaration
public TrailArgs()

Properties

View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

EventSelectors

Specifies an event selector for enabling data event logging. Fields documented below. Please note the CloudTrail limits when configuring these.

Declaration
public InputList<TrailEventSelectorArgs> EventSelectors { get; set; }
Property Value
Type Description
InputList<TrailEventSelectorArgs>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

Name

Specifies the name of the trail.

Declaration
public Input<string> Name { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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>
View Source

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>
View Source

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>
View Source

Tags

A map of tags to assign to the trail

Declaration
public InputMap<object> Tags { get; set; }
Property Value
Type Description
InputMap<System.Object>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.