@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
42 lines (41 loc) • 1.22 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
/**
* Resource schema for AWS::DataSync::Agent.
*/
export declare function getAgent(args: GetAgentArgs, opts?: pulumi.InvokeOptions): Promise<GetAgentResult>;
export interface GetAgentArgs {
/**
* The DataSync Agent ARN.
*/
agentArn: string;
}
export interface GetAgentResult {
/**
* The DataSync Agent ARN.
*/
readonly agentArn?: string;
/**
* The name configured for the agent. Text reference used to identify the agent in the console.
*/
readonly agentName?: string;
/**
* The service endpoints that the agent will connect to.
*/
readonly endpointType?: enums.datasync.AgentEndpointType;
/**
* An array of key-value pairs to apply to this resource.
*/
readonly tags?: outputs.Tag[];
}
/**
* Resource schema for AWS::DataSync::Agent.
*/
export declare function getAgentOutput(args: GetAgentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAgentResult>;
export interface GetAgentOutputArgs {
/**
* The DataSync Agent ARN.
*/
agentArn: pulumi.Input<string>;
}