class AppProtocol
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.ECS.AppProtocol |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsecs#AppProtocol |
Java | software.amazon.awscdk.services.ecs.AppProtocol |
Python | aws_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
Name | Type | Description |
---|---|---|
value | string | Custom value. |
static grpc | App | GRPC app protocol. |
static http | App | HTTP app protocol. |
static http2 | App | HTTP2 app protocol. |
value
Type:
string
Custom value.
static grpc
Type:
App
GRPC app protocol.
static http
Type:
App
HTTP app protocol.
static http2
Type:
App
HTTP2 app protocol.