Uses of Enum
software.amazon.awscdk.services.logs.RetentionDays
Packages that use RetentionDays
Package
Description
AWS CDK Custom Resources
integ-tests
AWS AppSync Construct Library
AWS::Chatbot Construct Library
AWS CloudTrail Construct Library
Amazon DocumentDB Construct Library
Amazon ECS Construct Library
AWS Lambda Construct Library
Amazon Lambda Golang Library
Amazon Lambda Node.js Library
Amazon Lambda Python Library
Amazon CloudWatch Logs Construct Library
Amazon Neptune Construct Library
Amazon Relational Database Service Construct Library
AWS S3 Deployment Construct Library
Triggers
-
Uses of RetentionDays in software.amazon.awscdk.customresources
Methods in software.amazon.awscdk.customresources that return RetentionDaysModifier and TypeMethodDescriptiondefault RetentionDaysAwsCustomResourceProps.getLogRetention()The number of days log events of the singleton Lambda function implementing this custom resource are kept in CloudWatch Logs.final RetentionDaysAwsCustomResourceProps.Jsii$Proxy.getLogRetention()default RetentionDaysProviderProps.getLogRetention()The number of days framework log events are kept in CloudWatch Logs.final RetentionDaysProviderProps.Jsii$Proxy.getLogRetention()Methods in software.amazon.awscdk.customresources with parameters of type RetentionDaysModifier and TypeMethodDescriptionvoidCustomResourceConfig.addLogRetentionLifetime(RetentionDays retention) Set the log retention of AWS-vended custom resource lambdas.AwsCustomResource.Builder.logRetention(RetentionDays logRetention) The number of days log events of the singleton Lambda function implementing this custom resource are kept in CloudWatch Logs.AwsCustomResourceProps.Builder.logRetention(RetentionDays logRetention) Sets the value ofAwsCustomResourceProps.getLogRetention()Provider.Builder.logRetention(RetentionDays logRetention) The number of days framework log events are kept in CloudWatch Logs.ProviderProps.Builder.logRetention(RetentionDays logRetention) Sets the value ofProviderProps.getLogRetention()Constructors in software.amazon.awscdk.customresources with parameters of type RetentionDays -
Uses of RetentionDays in software.amazon.awscdk.integtests.alpha
Methods in software.amazon.awscdk.integtests.alpha that return RetentionDaysModifier and TypeMethodDescriptionfinal RetentionDaysAssertionsProviderProps.Jsii$Proxy.getLogRetention()default RetentionDaysLambdaFunctionProviderProps.getLogRetention()(experimental) How long, in days, the log contents will be retained.final RetentionDaysLambdaFunctionProviderProps.Jsii$Proxy.getLogRetention()default RetentionDaysLambdaInvokeFunctionProps.getLogRetention()(experimental) How long, in days, the log contents will be retained.final RetentionDaysLambdaInvokeFunctionProps.Jsii$Proxy.getLogRetention()Methods in software.amazon.awscdk.integtests.alpha with parameters of type RetentionDaysModifier and TypeMethodDescriptionAssertionsProvider.Builder.logRetention(RetentionDays logRetention) (experimental) How long, in days, the log contents will be retained.AssertionsProviderProps.Builder.logRetention(RetentionDays logRetention) Sets the value ofLambdaFunctionProviderProps.getLogRetention()LambdaFunctionProviderProps.Builder.logRetention(RetentionDays logRetention) Sets the value ofLambdaFunctionProviderProps.getLogRetention()LambdaInvokeFunction.Builder.logRetention(RetentionDays logRetention) (experimental) How long, in days, the log contents will be retained.LambdaInvokeFunctionProps.Builder.logRetention(RetentionDays logRetention) Sets the value ofLambdaInvokeFunctionProps.getLogRetention() -
Uses of RetentionDays in software.amazon.awscdk.services.appsync
Methods in software.amazon.awscdk.services.appsync that return RetentionDaysModifier and TypeMethodDescriptiondefault RetentionDaysAppSyncLogConfig.getRetention()The number of days log events are kept in CloudWatch Logs.final RetentionDaysAppSyncLogConfig.Jsii$Proxy.getRetention()default RetentionDaysLogConfig.getRetention()The number of days log events are kept in CloudWatch Logs.final RetentionDaysLogConfig.Jsii$Proxy.getRetention()Methods in software.amazon.awscdk.services.appsync with parameters of type RetentionDaysModifier and TypeMethodDescriptionAppSyncLogConfig.Builder.retention(RetentionDays retention) Sets the value ofAppSyncLogConfig.getRetention()LogConfig.Builder.retention(RetentionDays retention) Sets the value ofLogConfig.getRetention() -
Uses of RetentionDays in software.amazon.awscdk.services.chatbot
Methods in software.amazon.awscdk.services.chatbot that return RetentionDaysModifier and TypeMethodDescriptiondefault RetentionDaysSlackChannelConfigurationProps.getLogRetention()The number of days log events are kept in CloudWatch Logs.final RetentionDaysSlackChannelConfigurationProps.Jsii$Proxy.getLogRetention()Methods in software.amazon.awscdk.services.chatbot with parameters of type RetentionDaysModifier and TypeMethodDescriptionSlackChannelConfiguration.Builder.logRetention(RetentionDays logRetention) The number of days log events are kept in CloudWatch Logs.SlackChannelConfigurationProps.Builder.logRetention(RetentionDays logRetention) Sets the value ofSlackChannelConfigurationProps.getLogRetention() -
Uses of RetentionDays in software.amazon.awscdk.services.cloudfront.experimental
Methods in software.amazon.awscdk.services.cloudfront.experimental that return RetentionDaysModifier and TypeMethodDescriptionfinal RetentionDaysEdgeFunctionProps.Jsii$Proxy.getLogRetention()Methods in software.amazon.awscdk.services.cloudfront.experimental with parameters of type RetentionDaysModifier and TypeMethodDescriptionEdgeFunction.Builder.logRetention(RetentionDays logRetention) Deprecated.EdgeFunctionProps.Builder.logRetention(RetentionDays logRetention) Deprecated.use `logGroup` instead -
Uses of RetentionDays in software.amazon.awscdk.services.cloudtrail
Methods in software.amazon.awscdk.services.cloudtrail that return RetentionDaysModifier and TypeMethodDescriptiondefault RetentionDaysTrailProps.getCloudWatchLogsRetention()How long to retain logs in CloudWatchLogs.final RetentionDaysTrailProps.Jsii$Proxy.getCloudWatchLogsRetention()Methods in software.amazon.awscdk.services.cloudtrail with parameters of type RetentionDaysModifier and TypeMethodDescriptionTrail.Builder.cloudWatchLogsRetention(RetentionDays cloudWatchLogsRetention) How long to retain logs in CloudWatchLogs.TrailProps.Builder.cloudWatchLogsRetention(RetentionDays cloudWatchLogsRetention) Sets the value ofTrailProps.getCloudWatchLogsRetention() -
Uses of RetentionDays in software.amazon.awscdk.services.docdb
Methods in software.amazon.awscdk.services.docdb that return RetentionDaysModifier and TypeMethodDescriptiondefault RetentionDaysDatabaseClusterProps.getCloudWatchLogsRetention()The number of days log events are kept in CloudWatch Logs.final RetentionDaysDatabaseClusterProps.Jsii$Proxy.getCloudWatchLogsRetention()Methods in software.amazon.awscdk.services.docdb with parameters of type RetentionDaysModifier and TypeMethodDescriptionDatabaseCluster.Builder.cloudWatchLogsRetention(RetentionDays cloudWatchLogsRetention) The number of days log events are kept in CloudWatch Logs.DatabaseClusterProps.Builder.cloudWatchLogsRetention(RetentionDays cloudWatchLogsRetention) Sets the value ofDatabaseClusterProps.getCloudWatchLogsRetention() -
Uses of RetentionDays in software.amazon.awscdk.services.ecs
Methods in software.amazon.awscdk.services.ecs that return RetentionDaysModifier and TypeMethodDescriptiondefault RetentionDaysAwsLogDriverProps.getLogRetention()The number of days log events are kept in CloudWatch Logs when the log group is automatically created by this construct.final RetentionDaysAwsLogDriverProps.Jsii$Proxy.getLogRetention()Methods in software.amazon.awscdk.services.ecs with parameters of type RetentionDaysModifier and TypeMethodDescriptionAwsLogDriver.Builder.logRetention(RetentionDays logRetention) The number of days log events are kept in CloudWatch Logs when the log group is automatically created by this construct.AwsLogDriverProps.Builder.logRetention(RetentionDays logRetention) Sets the value ofAwsLogDriverProps.getLogRetention() -
Uses of RetentionDays in software.amazon.awscdk.services.lambda
Methods in software.amazon.awscdk.services.lambda that return RetentionDaysModifier and TypeMethodDescriptionfinal RetentionDaysDockerImageFunctionProps.Jsii$Proxy.getLogRetention()default RetentionDaysFunctionOptions.getLogRetention()Deprecated.uselogGroupinsteadfinal RetentionDaysFunctionOptions.Jsii$Proxy.getLogRetention()final RetentionDaysFunctionProps.Jsii$Proxy.getLogRetention()final RetentionDaysSingletonFunctionProps.Jsii$Proxy.getLogRetention()Methods in software.amazon.awscdk.services.lambda with parameters of type RetentionDaysModifier and TypeMethodDescriptionDockerImageFunction.Builder.logRetention(RetentionDays logRetention) Deprecated.uselogGroupinsteadDockerImageFunctionProps.Builder.logRetention(RetentionDays logRetention) Deprecated.use `logGroup` insteadFunction.Builder.logRetention(RetentionDays logRetention) Deprecated.uselogGroupinsteadFunctionOptions.Builder.logRetention(RetentionDays logRetention) Deprecated.use `logGroup` insteadFunctionProps.Builder.logRetention(RetentionDays logRetention) Deprecated.use `logGroup` insteadSingletonFunction.Builder.logRetention(RetentionDays logRetention) Deprecated.uselogGroupinsteadSingletonFunctionProps.Builder.logRetention(RetentionDays logRetention) Deprecated.use `logGroup` instead -
Uses of RetentionDays in software.amazon.awscdk.services.lambda.go.alpha
Methods in software.amazon.awscdk.services.lambda.go.alpha that return RetentionDaysModifier and TypeMethodDescriptionfinal RetentionDaysGoFunctionProps.Jsii$Proxy.getLogRetention()Methods in software.amazon.awscdk.services.lambda.go.alpha with parameters of type RetentionDaysModifier and TypeMethodDescriptionGoFunction.Builder.logRetention(RetentionDays logRetention) Deprecated.uselogGroupinsteadGoFunctionProps.Builder.logRetention(RetentionDays logRetention) Deprecated.use `logGroup` instead -
Uses of RetentionDays in software.amazon.awscdk.services.lambda.nodejs
Methods in software.amazon.awscdk.services.lambda.nodejs that return RetentionDaysModifier and TypeMethodDescriptionfinal RetentionDaysNodejsFunctionProps.Jsii$Proxy.getLogRetention()Methods in software.amazon.awscdk.services.lambda.nodejs with parameters of type RetentionDaysModifier and TypeMethodDescriptionNodejsFunction.Builder.logRetention(RetentionDays logRetention) Deprecated.uselogGroupinsteadNodejsFunctionProps.Builder.logRetention(RetentionDays logRetention) Deprecated.use `logGroup` instead -
Uses of RetentionDays in software.amazon.awscdk.services.lambda.python.alpha
Methods in software.amazon.awscdk.services.lambda.python.alpha that return RetentionDaysModifier and TypeMethodDescriptionfinal RetentionDaysPythonFunctionProps.Jsii$Proxy.getLogRetention()Methods in software.amazon.awscdk.services.lambda.python.alpha with parameters of type RetentionDaysModifier and TypeMethodDescriptionPythonFunction.Builder.logRetention(RetentionDays logRetention) Deprecated.uselogGroupinsteadPythonFunctionProps.Builder.logRetention(RetentionDays logRetention) Deprecated.use `logGroup` instead -
Uses of RetentionDays in software.amazon.awscdk.services.logs
Methods in software.amazon.awscdk.services.logs that return RetentionDaysModifier and TypeMethodDescriptiondefault RetentionDaysLogGroupProps.getRetention()How long, in days, the log contents will be retained.final RetentionDaysLogGroupProps.Jsii$Proxy.getRetention()LogRetentionProps.getRetention()The number of days log events are kept in CloudWatch Logs.final RetentionDaysLogRetentionProps.Jsii$Proxy.getRetention()static RetentionDaysReturns the enum constant of this type with the specified name.static RetentionDays[]RetentionDays.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in software.amazon.awscdk.services.logs with parameters of type RetentionDaysModifier and TypeMethodDescriptionLogGroup.Builder.retention(RetentionDays retention) How long, in days, the log contents will be retained.LogGroupProps.Builder.retention(RetentionDays retention) Sets the value ofLogGroupProps.getRetention()LogRetention.Builder.retention(RetentionDays retention) The number of days log events are kept in CloudWatch Logs.LogRetentionProps.Builder.retention(RetentionDays retention) Sets the value ofLogRetentionProps.getRetention() -
Uses of RetentionDays in software.amazon.awscdk.services.neptune.alpha
Methods in software.amazon.awscdk.services.neptune.alpha that return RetentionDaysModifier and TypeMethodDescriptiondefault RetentionDaysDatabaseClusterProps.getCloudwatchLogsRetention()(experimental) The number of days log events are kept in CloudWatch Logs.final RetentionDaysDatabaseClusterProps.Jsii$Proxy.getCloudwatchLogsRetention()Methods in software.amazon.awscdk.services.neptune.alpha with parameters of type RetentionDaysModifier and TypeMethodDescriptionDatabaseCluster.Builder.cloudwatchLogsRetention(RetentionDays cloudwatchLogsRetention) (experimental) The number of days log events are kept in CloudWatch Logs.DatabaseClusterProps.Builder.cloudwatchLogsRetention(RetentionDays cloudwatchLogsRetention) Sets the value ofDatabaseClusterProps.getCloudwatchLogsRetention() -
Uses of RetentionDays in software.amazon.awscdk.services.rds
Methods in software.amazon.awscdk.services.rds that return RetentionDaysModifier and TypeMethodDescriptiondefault RetentionDaysDatabaseClusterFromSnapshotProps.getCloudwatchLogsRetention()The number of days log events are kept in CloudWatch Logs.final RetentionDaysDatabaseClusterFromSnapshotProps.Jsii$Proxy.getCloudwatchLogsRetention()default RetentionDaysDatabaseClusterProps.getCloudwatchLogsRetention()The number of days log events are kept in CloudWatch Logs.final RetentionDaysDatabaseClusterProps.Jsii$Proxy.getCloudwatchLogsRetention()final RetentionDaysDatabaseInstanceFromSnapshotProps.Jsii$Proxy.getCloudwatchLogsRetention()default RetentionDaysDatabaseInstanceNewProps.getCloudwatchLogsRetention()The number of days log events are kept in CloudWatch Logs.final RetentionDaysDatabaseInstanceNewProps.Jsii$Proxy.getCloudwatchLogsRetention()final RetentionDaysDatabaseInstanceProps.Jsii$Proxy.getCloudwatchLogsRetention()final RetentionDaysDatabaseInstanceReadReplicaProps.Jsii$Proxy.getCloudwatchLogsRetention()final RetentionDaysDatabaseInstanceSourceProps.Jsii$Proxy.getCloudwatchLogsRetention()Methods in software.amazon.awscdk.services.rds with parameters of type RetentionDaysModifier and TypeMethodDescriptionDatabaseCluster.Builder.cloudwatchLogsRetention(RetentionDays cloudwatchLogsRetention) The number of days log events are kept in CloudWatch Logs.DatabaseClusterFromSnapshot.Builder.cloudwatchLogsRetention(RetentionDays cloudwatchLogsRetention) The number of days log events are kept in CloudWatch Logs.DatabaseClusterFromSnapshotProps.Builder.cloudwatchLogsRetention(RetentionDays cloudwatchLogsRetention) Sets the value ofDatabaseClusterFromSnapshotProps.getCloudwatchLogsRetention()DatabaseClusterProps.Builder.cloudwatchLogsRetention(RetentionDays cloudwatchLogsRetention) Sets the value ofDatabaseClusterProps.getCloudwatchLogsRetention()DatabaseInstance.Builder.cloudwatchLogsRetention(RetentionDays cloudwatchLogsRetention) The number of days log events are kept in CloudWatch Logs.DatabaseInstanceFromSnapshot.Builder.cloudwatchLogsRetention(RetentionDays cloudwatchLogsRetention) The number of days log events are kept in CloudWatch Logs.DatabaseInstanceFromSnapshotProps.Builder.cloudwatchLogsRetention(RetentionDays cloudwatchLogsRetention) Sets the value ofDatabaseInstanceNewProps.getCloudwatchLogsRetention()DatabaseInstanceNewProps.Builder.cloudwatchLogsRetention(RetentionDays cloudwatchLogsRetention) Sets the value ofDatabaseInstanceNewProps.getCloudwatchLogsRetention()DatabaseInstanceProps.Builder.cloudwatchLogsRetention(RetentionDays cloudwatchLogsRetention) Sets the value ofDatabaseInstanceNewProps.getCloudwatchLogsRetention()DatabaseInstanceReadReplica.Builder.cloudwatchLogsRetention(RetentionDays cloudwatchLogsRetention) The number of days log events are kept in CloudWatch Logs.DatabaseInstanceReadReplicaProps.Builder.cloudwatchLogsRetention(RetentionDays cloudwatchLogsRetention) Sets the value ofDatabaseInstanceNewProps.getCloudwatchLogsRetention()DatabaseInstanceSourceProps.Builder.cloudwatchLogsRetention(RetentionDays cloudwatchLogsRetention) Sets the value ofDatabaseInstanceNewProps.getCloudwatchLogsRetention() -
Uses of RetentionDays in software.amazon.awscdk.services.s3.deployment
Methods in software.amazon.awscdk.services.s3.deployment that return RetentionDaysModifier and TypeMethodDescriptiondefault RetentionDaysBucketDeploymentProps.getLogRetention()The number of days that the lambda function's log events are kept in CloudWatch Logs.final RetentionDaysBucketDeploymentProps.Jsii$Proxy.getLogRetention()Methods in software.amazon.awscdk.services.s3.deployment with parameters of type RetentionDaysModifier and TypeMethodDescriptionBucketDeployment.Builder.logRetention(RetentionDays logRetention) The number of days that the lambda function's log events are kept in CloudWatch Logs.BucketDeploymentProps.Builder.logRetention(RetentionDays logRetention) Sets the value ofBucketDeploymentProps.getLogRetention() -
Uses of RetentionDays in software.amazon.awscdk.triggers
Methods in software.amazon.awscdk.triggers that return RetentionDaysModifier and TypeMethodDescriptionfinal RetentionDaysTriggerFunctionProps.Jsii$Proxy.getLogRetention()Methods in software.amazon.awscdk.triggers with parameters of type RetentionDaysModifier and TypeMethodDescriptionTriggerFunction.Builder.logRetention(RetentionDays logRetention) Deprecated.uselogGroupinsteadTriggerFunctionProps.Builder.logRetention(RetentionDays logRetention) Deprecated.use `logGroup` instead
logGroupinstead