libZSservicesZSamazonka-securityhubZSamazonka-securityhub
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SecurityHub.Types.AwsCloudTrailTrailDetails

Description

 
Synopsis

Documentation

data AwsCloudTrailTrailDetails Source #

Provides details about a CloudTrail trail.

See: newAwsCloudTrailTrailDetails smart constructor.

Constructors

AwsCloudTrailTrailDetails' 

Fields

Instances

Instances details
Eq AwsCloudTrailTrailDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsCloudTrailTrailDetails

Read AwsCloudTrailTrailDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsCloudTrailTrailDetails

Show AwsCloudTrailTrailDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsCloudTrailTrailDetails

Generic AwsCloudTrailTrailDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsCloudTrailTrailDetails

Associated Types

type Rep AwsCloudTrailTrailDetails :: Type -> Type #

NFData AwsCloudTrailTrailDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsCloudTrailTrailDetails

Hashable AwsCloudTrailTrailDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsCloudTrailTrailDetails

ToJSON AwsCloudTrailTrailDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsCloudTrailTrailDetails

FromJSON AwsCloudTrailTrailDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsCloudTrailTrailDetails

type Rep AwsCloudTrailTrailDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsCloudTrailTrailDetails

type Rep AwsCloudTrailTrailDetails = D1 ('MetaData "AwsCloudTrailTrailDetails" "Amazonka.SecurityHub.Types.AwsCloudTrailTrailDetails" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "AwsCloudTrailTrailDetails'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "logFileValidationEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "trailArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "s3KeyPrefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "snsTopicArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "snsTopicName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "cloudWatchLogsLogGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 ('MetaSel ('Just "homeRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "includeGlobalServiceEvents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "hasCustomEventSelectors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "isOrganizationTrail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "cloudWatchLogsRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "s3BucketName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "isMultiRegionTrail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))))

newAwsCloudTrailTrailDetails :: AwsCloudTrailTrailDetails Source #

Create a value of AwsCloudTrailTrailDetails with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:logFileValidationEnabled:AwsCloudTrailTrailDetails', awsCloudTrailTrailDetails_logFileValidationEnabled - Indicates whether CloudTrail log file validation is enabled.

$sel:trailArn:AwsCloudTrailTrailDetails', awsCloudTrailTrailDetails_trailArn - The ARN of the trail.

$sel:s3KeyPrefix:AwsCloudTrailTrailDetails', awsCloudTrailTrailDetails_s3KeyPrefix - The S3 key prefix. The key prefix is added after the name of the S3 bucket where the log files are published.

$sel:snsTopicArn:AwsCloudTrailTrailDetails', awsCloudTrailTrailDetails_snsTopicArn - The ARN of the SNS topic that is used for notifications of log file delivery.

$sel:snsTopicName:AwsCloudTrailTrailDetails', awsCloudTrailTrailDetails_snsTopicName - The name of the SNS topic that is used for notifications of log file delivery.

$sel:cloudWatchLogsLogGroupArn:AwsCloudTrailTrailDetails', awsCloudTrailTrailDetails_cloudWatchLogsLogGroupArn - The ARN of the log group that CloudTrail logs are delivered to.

$sel:kmsKeyId:AwsCloudTrailTrailDetails', awsCloudTrailTrailDetails_kmsKeyId - The KMS key ID to use to encrypt the logs.

$sel:homeRegion:AwsCloudTrailTrailDetails', awsCloudTrailTrailDetails_homeRegion - The Region where the trail was created.

$sel:name:AwsCloudTrailTrailDetails', awsCloudTrailTrailDetails_name - The name of the trail.

$sel:includeGlobalServiceEvents:AwsCloudTrailTrailDetails', awsCloudTrailTrailDetails_includeGlobalServiceEvents - Indicates whether the trail publishes events from global services such as IAM to the log files.

$sel:hasCustomEventSelectors:AwsCloudTrailTrailDetails', awsCloudTrailTrailDetails_hasCustomEventSelectors - Indicates whether the trail has custom event selectors.

$sel:isOrganizationTrail:AwsCloudTrailTrailDetails', awsCloudTrailTrailDetails_isOrganizationTrail - Whether the trail is created for all accounts in an organization in Organizations, or only for the current Amazon Web Services account.

$sel:cloudWatchLogsRoleArn:AwsCloudTrailTrailDetails', awsCloudTrailTrailDetails_cloudWatchLogsRoleArn - The ARN of the role that the CloudWatch Events endpoint assumes when it writes to the log group.

$sel:s3BucketName:AwsCloudTrailTrailDetails', awsCloudTrailTrailDetails_s3BucketName - The name of the S3 bucket where the log files are published.

$sel:isMultiRegionTrail:AwsCloudTrailTrailDetails', awsCloudTrailTrailDetails_isMultiRegionTrail - Indicates whether the trail applies only to the current Region or to all Regions.

awsCloudTrailTrailDetails_logFileValidationEnabled :: Lens' AwsCloudTrailTrailDetails (Maybe Bool) Source #

Indicates whether CloudTrail log file validation is enabled.

awsCloudTrailTrailDetails_s3KeyPrefix :: Lens' AwsCloudTrailTrailDetails (Maybe Text) Source #

The S3 key prefix. The key prefix is added after the name of the S3 bucket where the log files are published.

awsCloudTrailTrailDetails_snsTopicArn :: Lens' AwsCloudTrailTrailDetails (Maybe Text) Source #

The ARN of the SNS topic that is used for notifications of log file delivery.

awsCloudTrailTrailDetails_snsTopicName :: Lens' AwsCloudTrailTrailDetails (Maybe Text) Source #

The name of the SNS topic that is used for notifications of log file delivery.

awsCloudTrailTrailDetails_cloudWatchLogsLogGroupArn :: Lens' AwsCloudTrailTrailDetails (Maybe Text) Source #

The ARN of the log group that CloudTrail logs are delivered to.

awsCloudTrailTrailDetails_includeGlobalServiceEvents :: Lens' AwsCloudTrailTrailDetails (Maybe Bool) Source #

Indicates whether the trail publishes events from global services such as IAM to the log files.

awsCloudTrailTrailDetails_hasCustomEventSelectors :: Lens' AwsCloudTrailTrailDetails (Maybe Bool) Source #

Indicates whether the trail has custom event selectors.

awsCloudTrailTrailDetails_isOrganizationTrail :: Lens' AwsCloudTrailTrailDetails (Maybe Bool) Source #

Whether the trail is created for all accounts in an organization in Organizations, or only for the current Amazon Web Services account.

awsCloudTrailTrailDetails_cloudWatchLogsRoleArn :: Lens' AwsCloudTrailTrailDetails (Maybe Text) Source #

The ARN of the role that the CloudWatch Events endpoint assumes when it writes to the log group.

awsCloudTrailTrailDetails_s3BucketName :: Lens' AwsCloudTrailTrailDetails (Maybe Text) Source #

The name of the S3 bucket where the log files are published.

awsCloudTrailTrailDetails_isMultiRegionTrail :: Lens' AwsCloudTrailTrailDetails (Maybe Bool) Source #

Indicates whether the trail applies only to the current Region or to all Regions.