Class CfnGraphQLApi.EnhancedMetricsConfigProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.appsync.CfnGraphQLApi.EnhancedMetricsConfigProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnGraphQLApi.EnhancedMetricsConfigProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnGraphQLApi.EnhancedMetricsConfigProperty
@Stability(Stable)
@Internal
public static final class CfnGraphQLApi.EnhancedMetricsConfigProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnGraphQLApi.EnhancedMetricsConfigProperty
An implementation for
CfnGraphQLApi.EnhancedMetricsConfigProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.appsync.CfnGraphQLApi.EnhancedMetricsConfigProperty
CfnGraphQLApi.EnhancedMetricsConfigProperty.Builder, CfnGraphQLApi.EnhancedMetricsConfigProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnGraphQLApi.EnhancedMetricsConfigProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal StringControls how data source metrics will be emitted to CloudWatch.final StringControls how operation metrics will be emitted to CloudWatch.final StringControls how resolver metrics will be emitted to CloudWatch.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnGraphQLApi.EnhancedMetricsConfigProperty.Builder.
-
-
Method Details
-
getDataSourceLevelMetricsBehavior
Description copied from interface:CfnGraphQLApi.EnhancedMetricsConfigPropertyControls how data source metrics will be emitted to CloudWatch. Data source metrics include:.- Requests : The number of invocations that occured during a request.
- Latency : The time to complete a data source invocation.
- Errors : The number of errors that occurred during a data source invocation.
These metrics can be emitted to CloudWatch per data source or for all data sources in the request. Metrics will be recorded by API ID and data source name.
dataSourceLevelMetricsBehavioraccepts one of these values at a time:FULL_REQUEST_DATA_SOURCE_METRICS: Records and emits metric data for all data sources in the request.PER_DATA_SOURCE_METRICS: Records and emits metric data for data sources that have theMetricsConfigvalue set toENABLED.
- Specified by:
getDataSourceLevelMetricsBehaviorin interfaceCfnGraphQLApi.EnhancedMetricsConfigProperty- See Also:
-
getOperationLevelMetricsConfig
Description copied from interface:CfnGraphQLApi.EnhancedMetricsConfigPropertyControls how operation metrics will be emitted to CloudWatch. Operation metrics include:.- Requests : The number of times a specified GraphQL operation was called.
- GraphQL errors : The number of GraphQL errors that occurred during a specified GraphQL operation.
Metrics will be recorded by API ID and operation name. You can set the value to
ENABLEDorDISABLED.- Specified by:
getOperationLevelMetricsConfigin interfaceCfnGraphQLApi.EnhancedMetricsConfigProperty- See Also:
-
getResolverLevelMetricsBehavior
Description copied from interface:CfnGraphQLApi.EnhancedMetricsConfigPropertyControls how resolver metrics will be emitted to CloudWatch. Resolver metrics include:.- GraphQL errors : The number of GraphQL errors that occurred.
- Requests : The number of invocations that occurred during a request.
- Latency : The time to complete a resolver invocation.
- Cache hits : The number of cache hits during a request.
- Cache misses : The number of cache misses during a request.
These metrics can be emitted to CloudWatch per resolver or for all resolvers in the request. Metrics will be recorded by API ID and resolver name.
resolverLevelMetricsBehavioraccepts one of these values at a time:FULL_REQUEST_RESOLVER_METRICS: Records and emits metric data for all resolvers in the request.PER_RESOLVER_METRICS: Records and emits metric data for resolvers that have theMetricsConfigvalue set toENABLED.
- Specified by:
getResolverLevelMetricsBehaviorin interfaceCfnGraphQLApi.EnhancedMetricsConfigProperty- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-