ServiceConnectTestTrafficRulesHeaderProperty 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 serviceConnectTestTrafficRulesHeaderProperty: ecs.CfnService.ServiceConnectTestTrafficRulesHeaderProperty = {
name: 'name',
// the properties below are optional
value: {
exact: 'exact',
},
};
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
service_connect_test_traffic_rules_header_property = ecs.CfnService.ServiceConnectTestTrafficRulesHeaderProperty(
name="name",
# the properties below are optional
value=ecs.CfnService.ServiceConnectTestTrafficRulesHeaderValueProperty(
exact="exact"
)
)
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.*;
ServiceConnectTestTrafficRulesHeaderProperty serviceConnectTestTrafficRulesHeaderProperty = ServiceConnectTestTrafficRulesHeaderProperty.builder()
.name("name")
// the properties below are optional
.value(ServiceConnectTestTrafficRulesHeaderValueProperty.builder()
.exact("exact")
.build())
.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 serviceConnectTestTrafficRulesHeaderProperty = new ServiceConnectTestTrafficRulesHeaderProperty {
Name = "name",
// the properties below are optional
Value = new ServiceConnectTestTrafficRulesHeaderValueProperty {
Exact = "exact"
}
};
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"
serviceConnectTestTrafficRulesHeaderProperty := &ServiceConnectTestTrafficRulesHeaderProperty{
Name: jsii.String("name"),
// the properties below are optional
Value: &ServiceConnectTestTrafficRulesHeaderValueProperty{
Exact: jsii.String("exact"),
},
}
Properties
valueoptionalIResolvable | CfnService.valueoptionaltyping.Union[IResolvable, ServiceConnectTestTrafficRulesHeaderValueProperty]valueoptionalIResolvableValueoptionalIResolvableValueoptionalinterface{} #