CfnGatewayLogsMixin

class aws_cdk.mixins_preview.aws_bedrockagentcore.mixins.CfnGatewayLogsMixin(log_type, log_delivery)

Bases: Mixin

Amazon Bedrock AgentCore Gateway provides a unified connectivity layer between agents and the tools and resources they need to interact with.

For more information about creating a gateway, see Set up an Amazon Bedrock AgentCore gateway .

See the Properties section below for descriptions of both the required and optional properties.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html

CloudformationResource:

AWS::BedrockAgentCore::Gateway

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview import aws_logs as logs
from aws_cdk.mixins_preview.aws_bedrockagentcore import mixins as bedrockagentcore_mixins

# logs_delivery: logs.ILogsDelivery

cfn_gateway_logs_mixin = bedrockagentcore_mixins.CfnGatewayLogsMixin("logType", logs_delivery)

Create a mixin to enable vended logs for AWS::BedrockAgentCore::Gateway.

Parameters:
  • log_type (str) – Type of logs that are getting vended.

  • log_delivery (ILogsDelivery) – Object in charge of setting up the delivery destination and delivery connection.

Methods

apply_to(resource)

Apply vended logs configuration to the construct.

Parameters:

resource (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct (has vendedLogs property).

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

APPLICATION_LOGS = <aws_cdk.mixins_preview.aws_bedrockagentcore.mixins.CfnGatewayApplicationLogs object>
TRACES = <aws_cdk.mixins_preview.aws_bedrockagentcore.mixins.CfnGatewayTraces object>

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental