cloudtrail

package
v0.51.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudTrail

type CloudTrail struct {
	Trails []Trail
}

func (CloudTrail) MultiRegionTrails

func (c CloudTrail) MultiRegionTrails() (multiRegionTrails []Trail)

type DataResource

type DataResource struct {
	Metadata iacTypes.Metadata
	Type     iacTypes.StringValue   //  You can specify only the following value: "AWS::S3::Object", "AWS::Lambda::Function" and "AWS::DynamoDB::Table".
	Values   []iacTypes.StringValue // List of ARNs/partial ARNs - e.g. arn:aws:s3:::<bucket name>/ for all objects in a bucket, arn:aws:s3:::<bucket name>/key for specific objects
}

type EventSelector

type EventSelector struct {
	Metadata      iacTypes.Metadata
	DataResources []DataResource
	ReadWriteType iacTypes.StringValue // ReadOnly, WriteOnly, All. Default value is All for TF.
}

type Trail

type Trail struct {
	Metadata                  iacTypes.Metadata
	Name                      iacTypes.StringValue
	EnableLogFileValidation   iacTypes.BoolValue
	IsMultiRegion             iacTypes.BoolValue
	KMSKeyID                  iacTypes.StringValue
	CloudWatchLogsLogGroupArn iacTypes.StringValue
	IsLogging                 iacTypes.BoolValue
	BucketName                iacTypes.StringValue
	EventSelectors            []EventSelector
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL