Interface IGateway.Jsii$Default
- All Superinterfaces:
software.constructs.IConstruct,software.constructs.IConstruct.Jsii$Default,software.constructs.IDependable,software.constructs.IDependable.Jsii$Default,IEnvironmentAware,IEnvironmentAware.Jsii$Default,IGateway,IGatewayRef,IGatewayRef.Jsii$Default,IResource,IResource.Jsii$Default,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
IGateway.Jsii$Proxy
- Enclosing interface:
IGateway
IGateway.-
Nested Class Summary
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IDependable
software.constructs.IDependable.Jsii$Default, software.constructs.IDependable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
IEnvironmentAware.Jsii$Default, IEnvironmentAware.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.bedrockagentcore.IGateway
IGateway.Jsii$Default, IGateway.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.bedrockagentcore.IGatewayRef
IGatewayRef.Jsii$Default, IGatewayRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default, IResource.Jsii$Proxy -
Method Summary
Modifier and TypeMethodDescriptiondefault IGatewayAuthorizerConfigThe authorizer configuration for the gateway.default StringTimestamp when the gateway was created.default StringThe description of the gateway.default GatewayExceptionLevelThe exception level for the gateway.default StringThe ARN of the gateway resource.default StringThe id of the gateway.default StringThe name of the gateway.default StringThe URL endpoint for the gateway.default IKeyThe KMS key used for encryption.default IGatewayProtocolConfigThe protocol configuration for the gateway.default IRolegetRole()The IAM role that provides permissions for the gateway to access AWS services.default StringThe status of the gateway.The status reasons for the gateway.default StringTimestamp when the gateway was last updated.default Grantgrant(IGrantable grantee, String... actions) Grants IAM actions to the IAM Principal.default GrantgrantInvoke(IGrantable grantee) Grants permission to invoke this Gateway.default GrantgrantManage(IGrantable grantee) GrantsCreate,Update, andDeleteactions on the Gateway.default GrantgrantRead(IGrantable grantee) GrantsGetandListactions on the Gateway.default MetricReturn the given named metric for this gateway.default Metricmetric(String metricName, MetricOptions props) Return the given named metric for this gateway.default MetricReturn a metric measuring the duration of requests for this gateway.default MetricmetricDuration(MetricOptions props) Return a metric measuring the duration of requests for this gateway.default MetricReturn a metric containing the total number of invocations for this gateway.default MetricmetricInvocations(MetricOptions props) Return a metric containing the total number of invocations for this gateway.default MetricReturn a metric measuring the latency of requests for this gateway.default MetricmetricLatency(MetricOptions props) Return a metric measuring the latency of requests for this gateway.default MetricReturn a metric containing the number of system errors (5xx status code) for this gateway.default MetricmetricSystemErrors(MetricOptions props) Return a metric containing the number of system errors (5xx status code) for this gateway.default MetricReturn a metric measuring the target execution time for this gateway.default MetricReturn a metric measuring the target execution time for this gateway.default MetricmetricTargetType(String targetType) Return a metric containing the number of requests served by each target type for this gateway.default MetricmetricTargetType(String targetType, MetricOptions props) Return a metric containing the number of requests served by each target type for this gateway.default MetricReturn a metric containing the number of throttled requests (429 status code) for this gateway.default MetricmetricThrottles(MetricOptions props) Return a metric containing the number of throttled requests (429 status code) for this gateway.default MetricReturn a metric containing the number of user errors (4xx status code, excluding 429) for this gateway.default MetricmetricUserErrors(MetricOptions props) Return a metric containing the number of user errors (4xx status code, excluding 429) for this gateway.Methods inherited from interface software.constructs.IConstruct.Jsii$Default
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware.Jsii$Default
getEnvMethods inherited from interface software.amazon.awscdk.interfaces.bedrockagentcore.IGatewayRef.Jsii$Default
getGatewayRefMethods inherited from interface software.amazon.awscdk.IResource.Jsii$Default
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAuthorizerConfiguration
The authorizer configuration for the gateway.- Specified by:
getAuthorizerConfigurationin interfaceIGateway
-
getGatewayArn
The ARN of the gateway resource.- Specified by:
getGatewayArnin interfaceIGateway
-
getGatewayId
The id of the gateway.- Specified by:
getGatewayIdin interfaceIGateway
-
getGatewayName
The name of the gateway.- Specified by:
getGatewayNamein interfaceIGateway
-
getProtocolConfiguration
The protocol configuration for the gateway.- Specified by:
getProtocolConfigurationin interfaceIGateway
-
getRole
The IAM role that provides permissions for the gateway to access AWS services. -
getCreatedAt
Timestamp when the gateway was created.- Specified by:
getCreatedAtin interfaceIGateway
-
getDescription
The description of the gateway.- Specified by:
getDescriptionin interfaceIGateway
-
getExceptionLevel
The exception level for the gateway.- Specified by:
getExceptionLevelin interfaceIGateway
-
getGatewayUrl
The URL endpoint for the gateway.- Specified by:
getGatewayUrlin interfaceIGateway
-
getKmsKey
The KMS key used for encryption. -
getStatus
The status of the gateway. -
getStatusReason
The status reasons for the gateway.- Specified by:
getStatusReasonin interfaceIGateway
-
getUpdatedAt
Timestamp when the gateway was last updated.- Specified by:
getUpdatedAtin interfaceIGateway
-
grant
@Stability(Stable) @NotNull default Grant grant(@NotNull IGrantable grantee, @NotNull String... actions) Grants IAM actions to the IAM Principal. -
grantInvoke
Grants permission to invoke this Gateway.- Specified by:
grantInvokein interfaceIGateway- Parameters:
grantee- This parameter is required.
-
grantManage
GrantsCreate,Update, andDeleteactions on the Gateway.- Specified by:
grantManagein interfaceIGateway- Parameters:
grantee- This parameter is required.
-
grantRead
GrantsGetandListactions on the Gateway. -
metric
@Stability(Stable) @NotNull default Metric metric(@NotNull String metricName, @Nullable MetricOptions props) Return the given named metric for this gateway. -
metric
Return the given named metric for this gateway. -
metricDuration
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
- Specified by:
metricDurationin interfaceIGateway- Parameters:
props- Optional metric configuration.
-
metricDuration
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
- Specified by:
metricDurationin interfaceIGateway
-
metricInvocations
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
- Specified by:
metricInvocationsin interfaceIGateway- Parameters:
props- Optional metric configuration.
-
metricInvocations
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
- Specified by:
metricInvocationsin interfaceIGateway
-
metricLatency
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
- Specified by:
metricLatencyin interfaceIGateway- Parameters:
props- Optional metric configuration.
-
metricLatency
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
- Specified by:
metricLatencyin interfaceIGateway
-
metricSystemErrors
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
- Specified by:
metricSystemErrorsin interfaceIGateway- Parameters:
props- Optional metric configuration.
-
metricSystemErrors
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
- Specified by:
metricSystemErrorsin interfaceIGateway
-
metricTargetExecutionTime
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
- Specified by:
metricTargetExecutionTimein interfaceIGateway- Parameters:
props- Optional metric configuration.
-
metricTargetExecutionTime
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
- Specified by:
metricTargetExecutionTimein interfaceIGateway
-
metricTargetType
@Stability(Stable) @NotNull default Metric metricTargetType(@NotNull String targetType, @Nullable MetricOptions props) Return a metric containing the number of requests served by each target type for this gateway.Default: - Sum statistic over 5 minutes
- Specified by:
metricTargetTypein interfaceIGateway- Parameters:
targetType- The type of target (e.g., 'Lambda', 'OpenAPI', 'Smithy'). This parameter is required.props- Optional metric configuration.
-
metricTargetType
Return a metric containing the number of requests served by each target type for this gateway.Default: - Sum statistic over 5 minutes
- Specified by:
metricTargetTypein interfaceIGateway- Parameters:
targetType- The type of target (e.g., 'Lambda', 'OpenAPI', 'Smithy'). This parameter is required.
-
metricThrottles
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
- Specified by:
metricThrottlesin interfaceIGateway- Parameters:
props- Optional metric configuration.
-
metricThrottles
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
- Specified by:
metricThrottlesin interfaceIGateway
-
metricUserErrors
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
- Specified by:
metricUserErrorsin interfaceIGateway- Parameters:
props- Optional metric configuration.
-
metricUserErrors
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
- Specified by:
metricUserErrorsin interfaceIGateway
-