interface CfnTargetGroupMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.VpcLattice.Mixins.CfnTargetGroupMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsvpclattice/mixins#CfnTargetGroupMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.vpclattice.mixins.CfnTargetGroupMixinProps |
Python | aws_cdk.mixins_preview.aws_vpclattice.mixins.CfnTargetGroupMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_vpclattice » mixins » CfnTargetGroupMixinProps |
Properties for CfnTargetGroupPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as vpclattice_mixins } from '@aws-cdk/mixins-preview/aws-vpclattice';
const cfnTargetGroupMixinProps: vpclattice_mixins.CfnTargetGroupMixinProps = {
config: {
healthCheck: {
enabled: false,
healthCheckIntervalSeconds: 123,
healthCheckTimeoutSeconds: 123,
healthyThresholdCount: 123,
matcher: {
httpCode: 'httpCode',
},
path: 'path',
port: 123,
protocol: 'protocol',
protocolVersion: 'protocolVersion',
unhealthyThresholdCount: 123,
},
ipAddressType: 'ipAddressType',
lambdaEventStructureVersion: 'lambdaEventStructureVersion',
port: 123,
protocol: 'protocol',
protocolVersion: 'protocolVersion',
vpcIdentifier: 'vpcIdentifier',
},
name: 'name',
tags: [{
key: 'key',
value: 'value',
}],
targets: [{
id: 'id',
port: 123,
}],
type: 'type',
};
Properties
| Name | Type | Description |
|---|---|---|
| config? | IResolvable | Target | The target group configuration. |
| name? | string | The name of the target group. |
| tags? | Cfn[] | The tags for the target group. |
| targets? | IResolvable | (IResolvable | Target)[] | Describes a target. |
| type? | string | The type of target group. |
config?
Type:
IResolvable | Target
(optional)
The target group configuration.
name?
Type:
string
(optional)
The name of the target group.
The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
If you don't specify a name, CloudFormation generates one. However, if you specify a name, and later want to replace the resource, you must specify a new name.
tags?
Type:
Cfn[]
(optional)
The tags for the target group.
targets?
Type:
IResolvable | (IResolvable | Target)[]
(optional)
Describes a target.
type?
Type:
string
(optional)
The type of target group.

.NET
Go
Java
Python
TypeScript