Show / Hide Table of Contents

Class CfnDistribution.GrpcConfigProperty

Amazon CloudFront supports gRPC, an open-source remote procedure call (RPC) framework built on HTTP/2.

Inheritance
object
CfnDistribution.GrpcConfigProperty
Implements
CfnDistribution.IGrpcConfigProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDistribution.GrpcConfigProperty : CfnDistribution.IGrpcConfigProperty
Syntax (vb)
Public Class CfnDistribution.GrpcConfigProperty Implements CfnDistribution.IGrpcConfigProperty
Remarks

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-grpcconfig.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.CloudFront;

             var grpcConfigProperty = new GrpcConfigProperty {
                 Enabled = false
             };

Synopsis

Constructors

GrpcConfigProperty()

Amazon CloudFront supports gRPC, an open-source remote procedure call (RPC) framework built on HTTP/2.

Properties

Enabled

Enables your CloudFront distribution to receive gRPC requests and to proxy them directly to your origins.

Constructors

GrpcConfigProperty()

Amazon CloudFront supports gRPC, an open-source remote procedure call (RPC) framework built on HTTP/2.

public GrpcConfigProperty()
Remarks

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-grpcconfig.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.CloudFront;

             var grpcConfigProperty = new GrpcConfigProperty {
                 Enabled = false
             };

Properties

Enabled

Enables your CloudFront distribution to receive gRPC requests and to proxy them directly to your origins.

public object Enabled { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-grpcconfig.html#cfn-cloudfront-distribution-grpcconfig-enabled

Implements

CfnDistribution.IGrpcConfigProperty
Back to top Generated by DocFX