Class: Aws::CloudFront::Types::GrpcConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFront::Types::GrpcConfig
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cloudfront/types.rb
Overview
Amazon CloudFront supports gRPC, an open-source remote procedure call (RPC) framework built on HTTP/2. gRPC offers bi-directional streaming and binary protocol that buffers payloads, making it suitable for applications that require low latency communications.
To enable your distribution to handle gRPC requests, you must include HTTP/2 as one of the supported ‘HTTP` versions and allow `HTTP` methods, including `POST`.
For more information, see [Using gRPC with CloudFront distributions] in the *Amazon CloudFront Developer Guide*.
[1]: docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-using-grpc.html
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean
Enables your CloudFront distribution to receive gRPC requests and to proxy them directly to your origins.
Instance Attribute Details
#enabled ⇒ Boolean
Enables your CloudFront distribution to receive gRPC requests and to proxy them directly to your origins.
6257 6258 6259 6260 6261 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 6257 class GrpcConfig < Struct.new( :enabled) SENSITIVE = [] include Aws::Structure end |