| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.PinpointSmsVoiceV2.Types.CloudWatchLogsDestination
Description
Synopsis
- data CloudWatchLogsDestination = CloudWatchLogsDestination' {
- iamRoleArn :: Text
- logGroupArn :: Text
- newCloudWatchLogsDestination :: Text -> Text -> CloudWatchLogsDestination
- cloudWatchLogsDestination_iamRoleArn :: Lens' CloudWatchLogsDestination Text
- cloudWatchLogsDestination_logGroupArn :: Lens' CloudWatchLogsDestination Text
Documentation
data CloudWatchLogsDestination Source #
Contains the destination configuration to use when publishing message sending events.
See: newCloudWatchLogsDestination smart constructor.
Constructors
| CloudWatchLogsDestination' | |
Fields
| |
Instances
newCloudWatchLogsDestination Source #
Arguments
| :: Text | |
| -> Text | |
| -> CloudWatchLogsDestination |
Create a value of CloudWatchLogsDestination 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:iamRoleArn:CloudWatchLogsDestination', cloudWatchLogsDestination_iamRoleArn - The Amazon Resource Name (ARN) of an Amazon Identity and Access
Management (IAM) role that is able to write event data to an Amazon
CloudWatch destination.
$sel:logGroupArn:CloudWatchLogsDestination', cloudWatchLogsDestination_logGroupArn - The name of the Amazon CloudWatch log group that you want to record
events in.
cloudWatchLogsDestination_iamRoleArn :: Lens' CloudWatchLogsDestination Text Source #
The Amazon Resource Name (ARN) of an Amazon Identity and Access Management (IAM) role that is able to write event data to an Amazon CloudWatch destination.
cloudWatchLogsDestination_logGroupArn :: Lens' CloudWatchLogsDestination Text Source #
The name of the Amazon CloudWatch log group that you want to record events in.