class CfnAgentAliasEventLogs
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins.CfnAgentAliasEventLogs |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbedrock/mixins#CfnAgentAliasEventLogs |
Java | software.amazon.awscdk.mixins.preview.services.bedrock.mixins.CfnAgentAliasEventLogs |
Python | aws_cdk.mixins_preview.aws_bedrock.mixins.CfnAgentAliasEventLogs |
TypeScript | @aws-cdk/mixins-preview » aws_bedrock » mixins » CfnAgentAliasEventLogs |
Builder for CfnAgentAliasLogsMixin to generate EVENT_LOGS for CfnAgentAlias.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as bedrock_mixins } from '@aws-cdk/mixins-preview/aws-bedrock';
const cfnAgentAliasEventLogs = new bedrock_mixins.CfnAgentAliasEventLogs();
Initializer
new CfnAgentAliasEventLogs()
Methods
| Name | Description |
|---|---|
| to | Delivers logs to a pre-created delivery destination. |
| to | Send logs to a Firehose Delivery Stream. |
| to | Send logs to a CloudWatch Log Group. |
| to | Send logs to an S3 Bucket. |
toDestination(destination, props?)
public toDestination(destination: IDeliveryDestinationRef, props?: CfnAgentAliasEventLogsDestProps): CfnAgentAliasLogsMixin
Parameters
- destination
IDeliveryDestination Ref - props
Cfn— Additional properties that are optionally used in log delivery for destinations.Agent Alias Event Logs Dest Props
Returns
Delivers logs to a pre-created delivery destination.
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(deliveryStream, props?)
public toFirehose(deliveryStream: IDeliveryStreamRef, props?: CfnAgentAliasEventLogsFirehoseProps): CfnAgentAliasLogsMixin
Parameters
- deliveryStream
IDeliveryStream Ref - props
Cfn— Additional properties that are optionally used in log delivery for Firehose destinations.Agent Alias Event Logs Firehose Props
Returns
Send logs to a Firehose Delivery Stream.
toLogGroup(logGroup, props?)
public toLogGroup(logGroup: ILogGroupRef, props?: CfnAgentAliasEventLogsLogGroupProps): CfnAgentAliasLogsMixin
Parameters
- logGroup
ILogGroup Ref - props
Cfn— Additional properties that are optionally used in log delivery for Log Group destinations.Agent Alias Event Logs Log Group Props
Returns
Send logs to a CloudWatch Log Group.
toS3(bucket, props?)
public toS3(bucket: IBucketRef, props?: CfnAgentAliasEventLogsS3Props): CfnAgentAliasLogsMixin
Parameters
- bucket
IBucketRef - props
Cfn— Additional properties that are optionally used in log delivery for S3 destinations.Agent Alias Event Logs S3 Props
Returns
Send logs to an S3 Bucket.

.NET
Go
Java
Python
TypeScript