CfnCapabilityEksCapabilityAckS3Logs
- class aws_cdk.mixins_preview.aws_eks.mixins.CfnCapabilityEksCapabilityAckS3Logs
Bases:
objectBuilder for CfnCapabilityLogsMixin to generate EKS_CAPABILITY_ACK_S3_LOGS for CfnCapability.
- CloudformationResource:
AWS::EKS::Capability
- LogType:
EKS_CAPABILITY_ACK_S3_LOGS
- 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.aws_eks import mixins as eks_mixins cfn_capability_eks_capability_ack_s3_logs = eks_mixins.CfnCapabilityEksCapabilityAckS3Logs()
- Stability:
experimental
Methods
- to_destination(destination, *, record_fields=None)
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().
- Parameters:
destination (
IDeliveryDestinationRef)record_fields (
Optional[Sequence[CfnCapabilityEksCapabilityAckS3LogsRecordFields]]) – (experimental) Record fields that can be provided to a log delivery.
- Return type:
- to_firehose(delivery_stream, *, output_format=None, record_fields=None)
Send logs to a Firehose Delivery Stream.
- Parameters:
delivery_stream (
IDeliveryStreamRef)output_format (
Optional[Firehose]) – (experimental) Format for log output, options are json,plain,raw.record_fields (
Optional[Sequence[CfnCapabilityEksCapabilityAckS3LogsRecordFields]]) – (experimental) Record fields that can be provided to a log delivery.
- Return type:
- to_log_group(log_group, *, output_format=None, record_fields=None)
Send logs to a CloudWatch Log Group.
- Parameters:
log_group (
ILogGroupRef)output_format (
Optional[LogGroup]) – (experimental) Format for log output, options are plain,json.record_fields (
Optional[Sequence[CfnCapabilityEksCapabilityAckS3LogsRecordFields]]) – (experimental) Record fields that can be provided to a log delivery.
- Return type:
- to_s3(bucket, *, encryption_key=None, output_format=None, record_fields=None)
Send logs to an S3 Bucket.
- Parameters:
bucket (
IBucketRef)encryption_key (
Optional[IKeyRef]) – (experimental) Encrpytion key for your delivery bucket.output_format (
Optional[S3]) – (experimental) Format for log output, options are json,plain,w3c,parquet.record_fields (
Optional[Sequence[CfnCapabilityEksCapabilityAckS3LogsRecordFields]]) – (experimental) Record fields that can be provided to a log delivery.
- Return type: