Class CfnGatewayApplicationLogs
Builder for CfnGatewayLogsMixin to generate APPLICATION_LOGS for CfnGateway.
Namespace: Amazon.CDK.Mixins.Preview.AWS.BedrockAgentCore.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnGatewayApplicationLogs : DeputyBase
Syntax (vb)
Public Class CfnGatewayApplicationLogs Inherits DeputyBase
Remarks
CloudformationResource: AWS::BedrockAgentCore::Gateway
LogType: APPLICATION_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 cfnGatewayApplicationLogs = new CfnGatewayApplicationLogs();
Synopsis
Constructors
| CfnGatewayApplicationLogs() | Builder for CfnGatewayLogsMixin to generate APPLICATION_LOGS for CfnGateway. |
Methods
| ToDestination(IDeliveryDestinationRef, ICfnGatewayApplicationLogsDestProps?) | Delivers logs to a pre-created delivery destination. |
| ToFirehose(IDeliveryStreamRef, ICfnGatewayApplicationLogsFirehoseProps?) | Send logs to a Firehose Delivery Stream. |
| ToLogGroup(ILogGroupRef, ICfnGatewayApplicationLogsLogGroupProps?) | Send logs to a CloudWatch Log Group. |
| ToS3(IBucketRef, ICfnGatewayApplicationLogsS3Props?) | Send logs to an S3 Bucket. |
Constructors
CfnGatewayApplicationLogs()
Builder for CfnGatewayLogsMixin to generate APPLICATION_LOGS for CfnGateway.
public CfnGatewayApplicationLogs()
Remarks
Stability: Experimental
Methods
ToDestination(IDeliveryDestinationRef, ICfnGatewayApplicationLogsDestProps?)
Delivers logs to a pre-created delivery destination.
public virtual CfnGatewayLogsMixin ToDestination(IDeliveryDestinationRef destination, ICfnGatewayApplicationLogsDestProps? props = null)
Parameters
- destination IDeliveryDestinationRef
- props ICfnGatewayApplicationLogsDestProps
Additional properties that are optionally used in log delivery for destinations.
Returns
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, ICfnGatewayApplicationLogsFirehoseProps?)
Send logs to a Firehose Delivery Stream.
public virtual CfnGatewayLogsMixin ToFirehose(IDeliveryStreamRef deliveryStream, ICfnGatewayApplicationLogsFirehoseProps? props = null)
Parameters
- deliveryStream IDeliveryStreamRef
- props ICfnGatewayApplicationLogsFirehoseProps
Additional properties that are optionally used in log delivery for Firehose destinations.
Returns
Remarks
CloudformationResource: AWS::BedrockAgentCore::Gateway
LogType: APPLICATION_LOGS
ExampleMetadata: fixture=_generated
ToLogGroup(ILogGroupRef, ICfnGatewayApplicationLogsLogGroupProps?)
Send logs to a CloudWatch Log Group.
public virtual CfnGatewayLogsMixin ToLogGroup(ILogGroupRef logGroup, ICfnGatewayApplicationLogsLogGroupProps? props = null)
Parameters
- logGroup ILogGroupRef
- props ICfnGatewayApplicationLogsLogGroupProps
Additional properties that are optionally used in log delivery for Log Group destinations.
Returns
Remarks
CloudformationResource: AWS::BedrockAgentCore::Gateway
LogType: APPLICATION_LOGS
ExampleMetadata: fixture=_generated
ToS3(IBucketRef, ICfnGatewayApplicationLogsS3Props?)
Send logs to an S3 Bucket.
public virtual CfnGatewayLogsMixin ToS3(IBucketRef bucket, ICfnGatewayApplicationLogsS3Props? props = null)
Parameters
- bucket IBucketRef
- props ICfnGatewayApplicationLogsS3Props
Additional properties that are optionally used in log delivery for S3 destinations.
Returns
Remarks
CloudformationResource: AWS::BedrockAgentCore::Gateway
LogType: APPLICATION_LOGS
ExampleMetadata: fixture=_generated