Interface IGateway
- All Superinterfaces:
software.constructs.IConstruct,software.constructs.IDependable,IEnvironmentAware,IGatewayRef,IResource,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IGateway.Jsii$Default
- All Known Implementing Classes:
Gateway,GatewayBase,IGateway.Jsii$Proxy
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceDeprecated.Internal default implementation forIGateway.static final classDeprecated.A proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.default StringDeprecated.default StringDeprecated.default GatewayExceptionLevelDeprecated.Deprecated.Deprecated.default StringDeprecated.default IKeyDeprecated.getName()Deprecated.Deprecated.getRole()Deprecated.default StringDeprecated.Deprecated.default StringDeprecated.grant(IGrantable grantee, String... actions) Deprecated.grantInvoke(IGrantable grantee) Deprecated.grantManage(IGrantable grantee) Deprecated.grantRead(IGrantable grantee) Deprecated.Deprecated.Deprecated.Deprecated.metricDuration(MetricOptions props) Deprecated.Deprecated.metricInvocations(MetricOptions props) Deprecated.Deprecated.metricLatency(MetricOptions props) Deprecated.Deprecated.metricSystemErrors(MetricOptions props) Deprecated.Deprecated.Deprecated.metricTargetType(String targetType) Deprecated.metricTargetType(String targetType, MetricOptions props) Deprecated.Deprecated.metricThrottles(MetricOptions props) Deprecated.Deprecated.metricUserErrors(MetricOptions props) Deprecated.Methods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.awscdk.interfaces.bedrockagentcore.IGatewayRef
getGatewayRefMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAuthorizerConfiguration
Deprecated.(deprecated) The authorizer configuration for the gateway. -
getGatewayArn
Deprecated.(deprecated) The ARN of the gateway resource. -
getGatewayId
Deprecated.(deprecated) The id of the gateway. -
getName
Deprecated.(deprecated) The name of the gateway. -
getProtocolConfiguration
Deprecated.(deprecated) The protocol configuration for the gateway. -
getRole
Deprecated.(deprecated) The IAM role that provides permissions for the gateway to access AWS services. -
getCreatedAt
Deprecated.(deprecated) Timestamp when the gateway was created. -
getDescription
Deprecated.(deprecated) The description of the gateway. -
getExceptionLevel
Deprecated.(deprecated) The exception level for the gateway. -
getGatewayUrl
Deprecated.(deprecated) The URL endpoint for the gateway. -
getKmsKey
Deprecated.(deprecated) The KMS key used for encryption. -
getStatus
Deprecated.(deprecated) The status of the gateway. -
getStatusReason
Deprecated.(deprecated) The status reasons for the gateway. -
getUpdatedAt
Deprecated.(deprecated) Timestamp when the gateway was last updated. -
grant
@Stability(Deprecated) @Deprecated @NotNull Grant grant(@NotNull IGrantable grantee, @NotNull String... actions) Deprecated.(deprecated) Grants IAM actions to the IAM Principal.- Parameters:
grantee- This parameter is required.actions- This parameter is required.
-
grantInvoke
Deprecated.(deprecated) Grants permission to invoke this Gateway.- Parameters:
grantee- This parameter is required.
-
grantManage
Deprecated.(deprecated) GrantsCreate,Update, andDeleteactions on the Gateway.- Parameters:
grantee- This parameter is required.
-
grantRead
Deprecated.(deprecated) GrantsGetandListactions on the Gateway.- Parameters:
grantee- This parameter is required.
-
metric
@Stability(Deprecated) @Deprecated @NotNull Metric metric(@NotNull String metricName, @NotNull Map<String, String> dimensions, @Nullable MetricOptions props) Deprecated.(deprecated) Return the given named metric for this gateway.- Parameters:
metricName- The name of the metric. This parameter is required.dimensions- Additional dimensions for the metric. This parameter is required.props- Optional metric configuration.
-
metric
@Stability(Deprecated) @Deprecated @NotNull Metric metric(@NotNull String metricName, @NotNull Map<String, String> dimensions) Deprecated.(deprecated) Return the given named metric for this gateway.- Parameters:
metricName- The name of the metric. This parameter is required.dimensions- Additional dimensions for the metric. This parameter is required.
-
metricDuration
Deprecated.(deprecated) Return a metric measuring the duration of requests for this gateway.The duration metric represents the total time elapsed between receiving the request and sending the final response token, representing complete end-to-end processing time.
Default: - Average statistic over 5 minutes
- Parameters:
props- Optional metric configuration.
-
metricDuration
Deprecated.(deprecated) Return a metric measuring the duration of requests for this gateway.The duration metric represents the total time elapsed between receiving the request and sending the final response token, representing complete end-to-end processing time.
Default: - Average statistic over 5 minutes
-
metricInvocations
Deprecated.(deprecated) Return a metric containing the total number of invocations for this gateway.This metric tracks all successful invocations of the gateway.
Default: - Sum statistic over 5 minutes
- Parameters:
props- Optional metric configuration.
-
metricInvocations
Deprecated.(deprecated) Return a metric containing the total number of invocations for this gateway.This metric tracks all successful invocations of the gateway.
Default: - Sum statistic over 5 minutes
-
metricLatency
Deprecated.(deprecated) Return a metric measuring the latency of requests for this gateway.The latency metric represents the time elapsed between when the service receives the request and when it begins sending the first response token.
Default: - Average statistic over 5 minutes
- Parameters:
props- Optional metric configuration.
-
metricLatency
Deprecated.(deprecated) Return a metric measuring the latency of requests for this gateway.The latency metric represents the time elapsed between when the service receives the request and when it begins sending the first response token.
Default: - Average statistic over 5 minutes
-
metricSystemErrors
@Stability(Deprecated) @Deprecated @NotNull Metric metricSystemErrors(@Nullable MetricOptions props) Deprecated.(deprecated) Return a metric containing the number of system errors (5xx status code) for this gateway.This metric tracks internal server errors and system failures.
Default: - Sum statistic over 5 minutes
- Parameters:
props- Optional metric configuration.
-
metricSystemErrors
Deprecated.(deprecated) Return a metric containing the number of system errors (5xx status code) for this gateway.This metric tracks internal server errors and system failures.
Default: - Sum statistic over 5 minutes
-
metricTargetExecutionTime
@Stability(Deprecated) @Deprecated @NotNull Metric metricTargetExecutionTime(@Nullable MetricOptions props) Deprecated.(deprecated) Return a metric measuring the target execution time for this gateway.This metric helps determine the contribution of the target (Lambda, OpenAPI, etc.) to the total latency.
Default: - Average statistic over 5 minutes
- Parameters:
props- Optional metric configuration.
-
metricTargetExecutionTime
Deprecated.(deprecated) Return a metric measuring the target execution time for this gateway.This metric helps determine the contribution of the target (Lambda, OpenAPI, etc.) to the total latency.
Default: - Average statistic over 5 minutes
-
metricTargetType
@Stability(Deprecated) @Deprecated @NotNull Metric metricTargetType(@NotNull String targetType, @Nullable MetricOptions props) Deprecated.(deprecated) Return a metric containing the number of requests served by each target type for this gateway.Default: - Sum statistic over 5 minutes
- Parameters:
targetType- The type of target (e.g., 'Lambda', 'OpenAPI', 'Smithy'). This parameter is required.props- Optional metric configuration.
-
metricTargetType
Deprecated.(deprecated) Return a metric containing the number of requests served by each target type for this gateway.Default: - Sum statistic over 5 minutes
- Parameters:
targetType- The type of target (e.g., 'Lambda', 'OpenAPI', 'Smithy'). This parameter is required.
-
metricThrottles
Deprecated.(deprecated) Return a metric containing the number of throttled requests (429 status code) for this gateway.This metric helps identify when the gateway is rate limiting requests.
Default: - Sum statistic over 5 minutes
- Parameters:
props- Optional metric configuration.
-
metricThrottles
Deprecated.(deprecated) Return a metric containing the number of throttled requests (429 status code) for this gateway.This metric helps identify when the gateway is rate limiting requests.
Default: - Sum statistic over 5 minutes
-
metricUserErrors
Deprecated.(deprecated) Return a metric containing the number of user errors (4xx status code, excluding 429) for this gateway.This metric tracks client errors like bad requests, unauthorized access, etc.
Default: - Sum statistic over 5 minutes
- Parameters:
props- Optional metric configuration.
-
metricUserErrors
Deprecated.(deprecated) Return a metric containing the number of user errors (4xx status code, excluding 429) for this gateway.This metric tracks client errors like bad requests, unauthorized access, etc.
Default: - Sum statistic over 5 minutes
-
aws-cdk-lib/aws-bedrockagentcoreinstead.