Show / Hide Table of Contents

Class CfnCodeInterpreterCustomUsageLogs

Builder for CfnCodeInterpreterCustomLogsMixin to generate USAGE_LOGS for CfnCodeInterpreterCustom.

Inheritance
object
CfnCodeInterpreterCustomUsageLogs
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

ToDestination(IDeliveryDestinationRef)

Delivers logs to a pre-created delivery destination.

ToFirehose(IDeliveryStreamRef)

Send logs to a Firehose Delivery Stream.

ToLogGroup(ILogGroupRef)

Send logs to a CloudWatch Log Group.

ToS3(IBucketRef, IS3LogsDestinationProps?)

Send logs to an S3 Bucket.

Constructors

CfnCodeInterpreterCustomUsageLogs()

Builder for CfnCodeInterpreterCustomLogsMixin to generate USAGE_LOGS for CfnCodeInterpreterCustom.

public CfnCodeInterpreterCustomUsageLogs()
Remarks

Stability: Experimental

Methods

ToDestination(IDeliveryDestinationRef)

Delivers logs to a pre-created delivery destination.

public virtual CfnCodeInterpreterCustomLogsMixin ToDestination(IDeliveryDestinationRef destination)
Parameters
destination IDeliveryDestinationRef
Returns

CfnCodeInterpreterCustomLogsMixin

Remarks

Supported destinations are S3, CWL, FH You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you. Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().

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, IS3LogsDestinationProps?)

Send logs to an S3 Bucket.

public virtual CfnCodeInterpreterCustomLogsMixin ToS3(IBucketRef bucket, IS3LogsDestinationProps? props = null)
Parameters
bucket IBucketRef
props IS3LogsDestinationProps
Returns

CfnCodeInterpreterCustomLogsMixin

Remarks

CloudformationResource: AWS::BedrockAgentCore::CodeInterpreterCustom

LogType: USAGE_LOGS

ExampleMetadata: fixture=_generated

Back to top Generated by DocFX