AWS Native

Pulumi Official
Package maintained by Pulumi
v0.19.0 published on Wednesday, Jun 8, 2022 by Pulumi

getAgent

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:

AgentArn string

The DataSync Agent ARN.

AgentArn string

The DataSync Agent ARN.

agentArn String

The DataSync Agent ARN.

agentArn string

The DataSync Agent ARN.

agent_arn str

The DataSync Agent ARN.

agentArn String

The DataSync Agent ARN.

getAgent Result

The following output properties are available:

AgentArn string

The DataSync Agent ARN.

AgentName string

The name configured for the agent. Text reference used to identify the agent in the console.

EndpointType Pulumi.AwsNative.DataSync.AgentEndpointType

The service endpoints that the agent will connect to.

Tags List<Pulumi.AwsNative.DataSync.Outputs.AgentTag>

An array of key-value pairs to apply to this resource.

AgentArn string

The DataSync Agent ARN.

AgentName string

The name configured for the agent. Text reference used to identify the agent in the console.

EndpointType AgentEndpointType

The service endpoints that the agent will connect to.

Tags []AgentTag

An array of key-value pairs to apply to this resource.

agentArn String

The DataSync Agent ARN.

agentName String

The name configured for the agent. Text reference used to identify the agent in the console.

endpointType AgentEndpointType

The service endpoints that the agent will connect to.

tags List<AgentTag>

An array of key-value pairs to apply to this resource.

agentArn string

The DataSync Agent ARN.

agentName string

The name configured for the agent. Text reference used to identify the agent in the console.

endpointType AgentEndpointType

The service endpoints that the agent will connect to.

tags AgentTag[]

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 AgentEndpointType

The service endpoints that the agent will connect to.

tags Sequence[AgentTag]

An array of key-value pairs to apply to this resource.

agentArn String

The DataSync Agent ARN.

agentName String

The name configured for the agent. Text reference used to identify the agent in the console.

endpointType "FIPS" | "PUBLIC" | "PRIVATE_LINK"

The service endpoints that the agent will connect to.

tags List<Property Map>

An array of key-value pairs to apply to this resource.

Supporting Types

AgentEndpointType

AgentTag

Key string

The key for an AWS resource tag.

Value string

The value for an AWS resource tag.

Key string

The key for an AWS resource tag.

Value string

The value for an AWS resource tag.

key String

The key for an AWS resource tag.

value String

The value for an AWS resource tag.

key string

The key for an AWS resource tag.

value string

The value for an AWS resource tag.

key str

The key for an AWS resource tag.

value str

The value for an AWS resource tag.

key String

The key for an AWS resource tag.

value String

The value for an AWS resource tag.

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0