get static method
Gets an existing TargetGroupAttachment resource's state with the given name and id.
Implementation
static TargetGroupAttachment get(
String name,
pulumi.Input<String> id, {
TargetGroupAttachmentState? state,
}) {
return TargetGroupAttachment._get(
name,
state: state?.toMap(),
options: pulumi.CustomResourceOptions(id: id),
);
}