CfnCapabilityLogsMixin
- class aws_cdk.mixins_preview.aws_eks.mixins.CfnCapabilityLogsMixin(log_type, log_delivery)
Bases:
MixinAn object representing a managed capability in an Amazon EKS cluster.
This includes all configuration, status, and health information for the capability.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-capability.html
- CloudformationResource:
AWS::EKS::Capability
- Mixin:
true
- 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 import aws_logs as logs from aws_cdk.mixins_preview.aws_eks import mixins as eks_mixins # logs_delivery: logs.ILogsDelivery cfn_capability_logs_mixin = eks_mixins.CfnCapabilityLogsMixin("logType", logs_delivery)
Create a mixin to enable vended logs for
AWS::EKS::Capability.- Parameters:
log_type (
str) – Type of logs that are getting vended.log_delivery (
ILogsDelivery) – Object in charge of setting up the delivery source, delivery destination, and delivery connection.
Methods
- apply_to(resource)
Apply vended logs configuration to the construct.
- Parameters:
resource (
IConstruct)- Return type:
None
- supports(construct)
Check if this mixin supports the given construct (has vendedLogs property).
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- EKS_CAPABILITY_ACK_S3_LOGS = <aws_cdk.mixins_preview.aws_eks.mixins.CfnCapabilityEksCapabilityAckS3Logs object>
- EKS_CAPABILITY_ARGOCD_APPLICATION_LOGS = <aws_cdk.mixins_preview.aws_eks.mixins.CfnCapabilityEksCapabilityArgocdApplicationLogs object>
- EKS_CAPABILITY_KRO_LOGS = <aws_cdk.mixins_preview.aws_eks.mixins.CfnCapabilityEksCapabilityKroLogs object>
Static Methods
- classmethod is_mixin(x)
Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.