1. Packages
  2. AWS Native
  3. API Docs
  4. datasync
  5. getAgent

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.79.0 published on Monday, Oct 2, 2023 by Pulumi

aws-native.datasync.getAgent

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.79.0 published on Monday, Oct 2, 2023 by Pulumi

    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
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.79.0 published on Monday, Oct 2, 2023 by Pulumi