AWS Native is in preview. AWS Classic is fully supported.
aws-native.datasync.getAgent
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
Resource schema for AWS::DataSync::Agent.
Using getAgent
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAgent(args: GetAgentArgs, opts?: InvokeOptions): Promise<GetAgentResult>
function getAgentOutput(args: GetAgentOutputArgs, opts?: InvokeOptions): Output<GetAgentResult>
def get_agent(agent_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAgentResult
def get_agent_output(agent_arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAgentResult]
func LookupAgent(ctx *Context, args *LookupAgentArgs, opts ...InvokeOption) (*LookupAgentResult, error)
func LookupAgentOutput(ctx *Context, args *LookupAgentOutputArgs, opts ...InvokeOption) LookupAgentResultOutput
> Note: This function is named LookupAgent
in the Go SDK.
public static class GetAgent
{
public static Task<GetAgentResult> InvokeAsync(GetAgentArgs args, InvokeOptions? opts = null)
public static Output<GetAgentResult> Invoke(GetAgentInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAgentResult> getAgent(GetAgentArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:datasync:getAgent
arguments:
# arguments dictionary
The following arguments are supported:
- Agent
Arn string The DataSync Agent ARN.
- Agent
Arn string The DataSync Agent ARN.
- agent
Arn String The DataSync Agent ARN.
- agent
Arn string The DataSync Agent ARN.
- agent_
arn str The DataSync Agent ARN.
- agent
Arn String The DataSync Agent ARN.
getAgent Result
The following output properties are available:
- Agent
Arn string The DataSync Agent ARN.
- Agent
Name string The name configured for the agent. Text reference used to identify the agent in the console.
- Endpoint
Type Pulumi.Aws Native. Data Sync. Agent Endpoint Type The service endpoints that the agent will connect to.
- List<Pulumi.
Aws Native. Data Sync. Outputs. Agent Tag> An array of key-value pairs to apply to this resource.
- Agent
Arn string The DataSync Agent ARN.
- Agent
Name string The name configured for the agent. Text reference used to identify the agent in the console.
- Endpoint
Type AgentEndpoint Type The service endpoints that the agent will connect to.
- []Agent
Tag An array of key-value pairs to apply to this resource.
- agent
Arn String The DataSync Agent ARN.
- agent
Name String The name configured for the agent. Text reference used to identify the agent in the console.
- endpoint
Type AgentEndpoint Type The service endpoints that the agent will connect to.
- List<Agent
Tag> An array of key-value pairs to apply to this resource.
- agent
Arn string The DataSync Agent ARN.
- agent
Name string The name configured for the agent. Text reference used to identify the agent in the console.
- endpoint
Type AgentEndpoint Type The service endpoints that the agent will connect to.
- Agent
Tag[] An array of key-value pairs to apply to this resource.
- agent_
arn str The DataSync Agent ARN.
- agent_
name str The name configured for the agent. Text reference used to identify the agent in the console.
- endpoint_
type AgentEndpoint Type The service endpoints that the agent will connect to.
- Sequence[Agent
Tag] An array of key-value pairs to apply to this resource.
- agent
Arn String The DataSync Agent ARN.
- agent
Name String The name configured for the agent. Text reference used to identify the agent in the console.
- endpoint
Type "FIPS" | "PUBLIC" | "PRIVATE_LINK" The service endpoints that the agent will connect to.
- List<Property Map>
An array of key-value pairs to apply to this resource.
Supporting Types
AgentEndpointType
AgentTag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.