AccessLogConfig

class aws_cdk.aws_appmesh.AccessLogConfig(*, virtual_gateway_access_log=None, virtual_node_access_log=None)

Bases: object

All Properties for Envoy Access logs for mesh endpoints.

Parameters
  • virtual_gateway_access_log (Optional[VirtualGatewayAccessLogProperty]) – VirtualGateway CFN configuration for Access Logging. Default: - no access logging

  • virtual_node_access_log (Optional[AccessLogProperty]) – VirtualNode CFN configuration for Access Logging. Default: - no access logging

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_appmesh as appmesh

access_log_config = appmesh.AccessLogConfig(
    virtual_gateway_access_log=appmesh.CfnVirtualGateway.VirtualGatewayAccessLogProperty(
        file=appmesh.CfnVirtualGateway.VirtualGatewayFileAccessLogProperty(
            path="path"
        )
    ),
    virtual_node_access_log=appmesh.CfnVirtualNode.AccessLogProperty(
        file=appmesh.CfnVirtualNode.FileAccessLogProperty(
            path="path"
        )
    )
)

Attributes

virtual_gateway_access_log

VirtualGateway CFN configuration for Access Logging.

Default
  • no access logging

Return type

Optional[VirtualGatewayAccessLogProperty]

virtual_node_access_log

VirtualNode CFN configuration for Access Logging.

Default
  • no access logging

Return type

Optional[AccessLogProperty]