GatewayConnectorHealthCheckMatcherProperty Struct
| Source | |
|---|---|
| Type last changed |
Example
ts
// 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 gatewayConnectorHealthCheckMatcherProperty: ecs.CfnService.GatewayConnectorHealthCheckMatcherProperty = {
grpcCode: 'grpcCode',
httpCode: 'httpCode',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ecs as ecs
gateway_connector_health_check_matcher_property = ecs.CfnService.GatewayConnectorHealthCheckMatcherProperty(
grpc_code="grpcCode",
http_code="httpCode"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ecs.*;
GatewayConnectorHealthCheckMatcherProperty gatewayConnectorHealthCheckMatcherProperty = GatewayConnectorHealthCheckMatcherProperty.builder()
.grpcCode("grpcCode")
.httpCode("httpCode")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ECS;
var gatewayConnectorHealthCheckMatcherProperty = new GatewayConnectorHealthCheckMatcherProperty {
GrpcCode = "grpcCode",
HttpCode = "httpCode"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
gatewayConnectorHealthCheckMatcherProperty := &GatewayConnectorHealthCheckMatcherProperty{
GrpcCode: jsii.String("grpcCode"),
HttpCode: jsii.String("httpCode"),
}