LogConfig
- class aws_cdk.aws_appsync.LogConfig(*, exclude_verbose_content=None, field_log_level=None, role=None)
Bases:
object
(experimental) Logging configuration for AppSync.
- Parameters:
exclude_verbose_content (
Union
[bool
,IResolvable
,None
]) – (experimental) exclude verbose content. Default: falsefield_log_level (
Optional
[FieldLogLevel
]) – (experimental) log level for fields. Default: - Use AppSync defaultrole (
Optional
[IRole
]) – (experimental) The role for CloudWatch Logs. Default: - None
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_appsync as appsync import aws_cdk.aws_iam as iam # role: iam.Role log_config = appsync.LogConfig( exclude_verbose_content=False, field_log_level=appsync.FieldLogLevel.NONE, role=role )
Attributes
- exclude_verbose_content
(experimental) exclude verbose content.
- Default:
false
- Stability:
experimental
- field_log_level
(experimental) log level for fields.
- Default:
Use AppSync default
- Stability:
experimental
- role
(experimental) The role for CloudWatch Logs.
- Default:
None
- Stability:
experimental