PublishingDestinationState constructor
Creates a new PublishingDestinationState.
arn Resource ARN.
destinationArn The bucket arn and prefix under which the findings get exported. Bucket-ARN is required, the prefix is optional and will be AWSLogs/[Account-ID]/GuardDuty/[Region]/ if not provided
destinationId Destination ID.
destinationType Currently there is only "S3" available as destination type which is also the default value
detectorId The detector ID of the GuardDuty.
kmsKeyArn The ARN of the KMS key used to encrypt GuardDuty findings. GuardDuty enforces this to be encrypted.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
tags Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tagsAll A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
Implementation
const PublishingDestinationState({
this.arn,
this.destinationArn,
this.destinationId,
this.destinationType,
this.detectorId,
this.kmsKeyArn,
this.region,
this.tags,
this.tagsAll,
});