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.109.0 published on Wednesday, Jun 26, 2024 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.109.0 published on Wednesday, Jun 26, 2024 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.Outputs.Tag>
    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 Tag
    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<Tag>
    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 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 AgentEndpointType
    The service endpoints that the agent will connect to.
    tags Sequence[root_Tag]
    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

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the 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.109.0 published on Wednesday, Jun 26, 2024 by Pulumi