TargetGroupAttachment constructor
TargetGroupAttachment(
- String name, {
- TargetGroupAttachmentArgs? args,
- CustomResourceOptions? options,
Creates a new TargetGroupAttachment.
name The Pulumi resource name.
args Arguments used to configure this TargetGroupAttachment. The set of arguments for TargetGroupAttachment.
options Resource options controlling this resource's behavior.
Implementation
TargetGroupAttachment(
String name, {
TargetGroupAttachmentArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:vpclattice/targetGroupAttachment:TargetGroupAttachment',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
) {
region = registerOutput<String>('region');
target = registerOutput<TargetGroupAttachmentTarget>('target', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return TargetGroupAttachmentTarget.fromMap((guardedValue as Map).cast<String, dynamic>()); });
targetGroupIdentifier = registerOutput<String>('targetGroupIdentifier');
}