RouteSettingsProperty Struct
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sam as sam } from 'aws-cdk-lib';
const routeSettingsProperty: sam.CfnFunction.RouteSettingsProperty = {
dataTraceEnabled: false,
detailedMetricsEnabled: false,
loggingLevel: 'loggingLevel',
throttlingBurstLimit: 123,
throttlingRateLimit: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_sam as sam
route_settings_property = sam.CfnFunction.RouteSettingsProperty(
data_trace_enabled=False,
detailed_metrics_enabled=False,
logging_level="loggingLevel",
throttling_burst_limit=123,
throttling_rate_limit=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.sam.*;
RouteSettingsProperty routeSettingsProperty = RouteSettingsProperty.builder()
.dataTraceEnabled(false)
.detailedMetricsEnabled(false)
.loggingLevel("loggingLevel")
.throttlingBurstLimit(123)
.throttlingRateLimit(123)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SAM;
var routeSettingsProperty = new RouteSettingsProperty {
DataTraceEnabled = false,
DetailedMetricsEnabled = false,
LoggingLevel = "loggingLevel",
ThrottlingBurstLimit = 123,
ThrottlingRateLimit = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
routeSettingsProperty := &RouteSettingsProperty{
DataTraceEnabled: jsii.Boolean(false),
DetailedMetricsEnabled: jsii.Boolean(false),
LoggingLevel: jsii.String("loggingLevel"),
ThrottlingBurstLimit: jsii.Number(123),
ThrottlingRateLimit: jsii.Number(123),
}
Properties
dataTraceEnabledoptionalboolean | IResolvabledata_trace_enabledoptionaltyping.Union[bool, IResolvable]dataTraceEnabledoptionalBooleanDataTraceEnabledoptionalboolDataTraceEnabledoptionalinterface{} #detailedMetricsEnabledoptionalboolean | IResolvabledetailed_metrics_enabledoptionaltyping.Union[bool, IResolvable]detailedMetricsEnabledoptionalBooleanDetailedMetricsEnabledoptionalboolDetailedMetricsEnabledoptionalinterface{} #loggingLeveloptionalstringlogging_leveloptionalstrloggingLeveloptionalStringLoggingLeveloptionalstringLoggingLeveloptional*string #throttlingBurstLimitoptionalnumberthrottling_burst_limitoptionalint | floatthrottlingBurstLimitoptionalNumberThrottlingBurstLimitoptionaldoubleThrottlingBurstLimitoptional*float64 #throttlingRateLimitoptionalnumberthrottling_rate_limitoptionalint | floatthrottlingRateLimitoptionalNumberThrottlingRateLimitoptionaldoubleThrottlingRateLimitoptional*float64 #