get static method
TargetGroupAttachment
get(
- String name,
- Input<
String> id, { - TargetGroupAttachmentState? state,
- CustomResourceOptions? options,
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,
pulumi.CustomResourceOptions? options,
}) {
return TargetGroupAttachment._get(
name,
state: state?.toMap(),
options: pulumi.CustomResourceOptions(id: id).merge(options),
);
}