aws-cdk-lib.aws_ecs.AppProtocol

class AppProtocol

LanguageType name
.NETAmazon.CDK.AWS.ECS.AppProtocol
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsecs#AppProtocol
Javasoftware.amazon.awscdk.services.ecs.AppProtocol
Pythonaws_cdk.aws_ecs.AppProtocol
TypeScript (source)aws-cdk-lib » aws_ecs » AppProtocol

Service connect app protocol.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ecs as ecs } from 'aws-cdk-lib';
const appProtocol = ecs.AppProtocol.grpc;

Initializer (protected)

super(value: string)

Parameters

  • value string

Properties

NameTypeDescription
valuestringCustom value.
static grpcAppProtocolGRPC app protocol.
static httpAppProtocolHTTP app protocol.
static http2AppProtocolHTTP2 app protocol.

value

Type: string

Custom value.


static grpc

Type: AppProtocol

GRPC app protocol.


static http

Type: AppProtocol

HTTP app protocol.


static http2

Type: AppProtocol

HTTP2 app protocol.