« blib/lib/Paws/MWAA/MetricDatum.pm
↑ Summary
blib/lib/Paws/MWAA/ModuleLoggingConfigurationInput.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::MWAA::ModuleLoggingConfiguration; | ||
| 3 | use Moose; | ||
| 4 | has CloudWatchLogGroupArn => (is => 'ro', isa => 'Str'); | ||
| 5 | has Enabled => (is => 'ro', isa => 'Bool'); | ||
| 6 | has LogLevel => (is => 'ro', isa => 'Str'); | ||
| 7 | |||
| 8 | 1; | ||
| 9 | |||
| 10 | ### main pod documentation begin ### | ||
| 11 | |||
| 12 | =head1 NAME | ||
| 13 | |||
| 14 | Paws::MWAA::ModuleLoggingConfiguration | ||
| 15 | |||
| 16 | =head1 USAGE | ||
| 17 | |||
| 18 | This class represents one of two things: | ||
| 19 | |||
| 20 | =head3 Arguments in a call to a service | ||
| 21 | |||
| 22 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 23 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 24 | |||
| 25 | As an example, if Att1 is expected to be a Paws::MWAA::ModuleLoggingConfiguration object: | ||
| 26 | |||
| 27 | $service_obj->Method(Att1 => { CloudWatchLogGroupArn => $value, ..., LogLevel => $value }); | ||
| 28 | |||
| 29 | =head3 Results returned from an API call | ||
| 30 | |||
| 31 | Use accessors for each attribute. If Att1 is expected to be an Paws::MWAA::ModuleLoggingConfiguration object: | ||
| 32 | |||
| 33 | $result = $service_obj->Method(...); | ||
| 34 | $result->Att1->CloudWatchLogGroupArn | ||
| 35 | |||
| 36 | =head1 DESCRIPTION | ||
| 37 | |||
| 38 | Defines the type of logs to send for the Apache Airflow log type (e.g. | ||
| 39 | C<DagProcessingLogs>). Valid values: C<CloudWatchLogGroupArn>, | ||
| 40 | C<Enabled>, C<LogLevel>. | ||
| 41 | |||
| 42 | =head1 ATTRIBUTES | ||
| 43 | |||
| 44 | |||
| 45 | =head2 CloudWatchLogGroupArn => Str | ||
| 46 | |||
| 47 | The Amazon Resource Name (ARN) for the CloudWatch Logs group where the | ||
| 48 | Apache Airflow log type (e.g. C<DagProcessingLogs>) is published. For | ||
| 49 | example, | ||
| 50 | C<arn:aws:logs:us-east-1:123456789012:log-group:airflow-MyMWAAEnvironment-MwaaEnvironment-DAGProcessing:*>. | ||
| 51 | |||
| 52 | |||
| 53 | =head2 Enabled => Bool | ||
| 54 | |||
| 55 | Indicates whether to enable the Apache Airflow log type (e.g. | ||
| 56 | C<DagProcessingLogs>) in CloudWatch Logs. | ||
| 57 | |||
| 58 | |||
| 59 | =head2 LogLevel => Str | ||
| 60 | |||
| 61 | Defines the Apache Airflow logs to send for the log type (e.g. | ||
| 62 | C<DagProcessingLogs>) to CloudWatch Logs. Valid values: C<CRITICAL>, | ||
| 63 | C<ERROR>, C<WARNING>, C<INFO>. | ||
| 64 | |||
| 65 | |||
| 66 | |||
| 67 | =head1 SEE ALSO | ||
| 68 | |||
| 69 | This class forms part of L<Paws>, describing an object used in L<Paws::MWAA> | ||
| 70 | |||
| 71 | =head1 BUGS and CONTRIBUTIONS | ||
| 72 | |||
| 73 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 74 | |||
| 75 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 76 | |||
| 77 | =cut | ||
| 78 |