Class CfnCodeInterpreterCustomUsageLogs
Builder for CfnCodeInterpreterCustomLogsMixin to generate USAGE_LOGS for CfnCodeInterpreterCustom.
Namespace: Amazon.CDK.Mixins.Preview.AWS.BedrockAgentCore.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnCodeInterpreterCustomUsageLogs : DeputyBase
Syntax (vb)
Public Class CfnCodeInterpreterCustomUsageLogs Inherits DeputyBase
Remarks
CloudformationResource: AWS::BedrockAgentCore::CodeInterpreterCustom
LogType: USAGE_LOGS
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.BedrockAgentCore.Mixins;
var cfnCodeInterpreterCustomUsageLogs = new CfnCodeInterpreterCustomUsageLogs();
Synopsis
Constructors
| CfnCodeInterpreterCustomUsageLogs() | Builder for CfnCodeInterpreterCustomLogsMixin to generate USAGE_LOGS for CfnCodeInterpreterCustom. |
Methods
| ToFirehose(IDeliveryStreamRef) | Send logs to a Firehose Delivery Stream. |
| ToLogGroup(ILogGroupRef) | Send logs to a CloudWatch Log Group. |
| ToS3(IBucketRef) | Send logs to an S3 Bucket. |
Constructors
CfnCodeInterpreterCustomUsageLogs()
Builder for CfnCodeInterpreterCustomLogsMixin to generate USAGE_LOGS for CfnCodeInterpreterCustom.
public CfnCodeInterpreterCustomUsageLogs()
Remarks
Stability: Experimental
Methods
ToFirehose(IDeliveryStreamRef)
Send logs to a Firehose Delivery Stream.
public virtual CfnCodeInterpreterCustomLogsMixin ToFirehose(IDeliveryStreamRef deliveryStream)
Parameters
- deliveryStream IDeliveryStreamRef
Returns
CfnCodeInterpreterCustomLogsMixin
Remarks
CloudformationResource: AWS::BedrockAgentCore::CodeInterpreterCustom
LogType: USAGE_LOGS
ExampleMetadata: fixture=_generated
ToLogGroup(ILogGroupRef)
Send logs to a CloudWatch Log Group.
public virtual CfnCodeInterpreterCustomLogsMixin ToLogGroup(ILogGroupRef logGroup)
Parameters
- logGroup ILogGroupRef
Returns
CfnCodeInterpreterCustomLogsMixin
Remarks
CloudformationResource: AWS::BedrockAgentCore::CodeInterpreterCustom
LogType: USAGE_LOGS
ExampleMetadata: fixture=_generated
ToS3(IBucketRef)
Send logs to an S3 Bucket.
public virtual CfnCodeInterpreterCustomLogsMixin ToS3(IBucketRef bucket)
Parameters
- bucket IBucketRef
Returns
CfnCodeInterpreterCustomLogsMixin
Remarks
CloudformationResource: AWS::BedrockAgentCore::CodeInterpreterCustom
LogType: USAGE_LOGS
ExampleMetadata: fixture=_generated