1. Packages
  2. F5 BIG-IP
  3. API Docs
  4. fast
  5. getAwsServiceDiscovery
f5 BIG-IP v3.13.0 published on Wednesday, Sep 6, 2023 by Pulumi

f5bigip.fast.getAwsServiceDiscovery

Explore with Pulumi AI

f5bigip logo
f5 BIG-IP v3.13.0 published on Wednesday, Sep 6, 2023 by Pulumi

    Use this data source (f5bigip.fast.getAwsServiceDiscovery) to get the AWS Service discovery config to be used for http/https app deployment in FAST.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using F5BigIP = Pulumi.F5BigIP;
    
    return await Deployment.RunAsync(() => 
    {
        var tC2 = F5BigIP.Fast.GetAwsServiceDiscovery.Invoke(new()
        {
            TagKey = "testawstagkey",
            TagValue = "testawstagvalue",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-f5bigip/sdk/v3/go/f5bigip/fast"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := fast.GetAwsServiceDiscovery(ctx, &fast.GetAwsServiceDiscoveryArgs{
    			TagKey:   "testawstagkey",
    			TagValue: "testawstagvalue",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.f5bigip.fast.FastFunctions;
    import com.pulumi.f5bigip.fast.inputs.GetAwsServiceDiscoveryArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var tC2 = FastFunctions.getAwsServiceDiscovery(GetAwsServiceDiscoveryArgs.builder()
                .tagKey("testawstagkey")
                .tagValue("testawstagvalue")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_f5bigip as f5bigip
    
    t_c2 = f5bigip.fast.get_aws_service_discovery(tag_key="testawstagkey",
        tag_value="testawstagvalue")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as f5bigip from "@pulumi/f5bigip";
    
    const tC2 = f5bigip.fast.getAwsServiceDiscovery({
        tagKey: "testawstagkey",
        tagValue: "testawstagvalue",
    });
    
    variables:
      tC2:
        fn::invoke:
          Function: f5bigip:fast:getAwsServiceDiscovery
          Arguments:
            tagKey: testawstagkey
            tagValue: testawstagvalue
    

    Using getAwsServiceDiscovery

    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 getAwsServiceDiscovery(args: GetAwsServiceDiscoveryArgs, opts?: InvokeOptions): Promise<GetAwsServiceDiscoveryResult>
    function getAwsServiceDiscoveryOutput(args: GetAwsServiceDiscoveryOutputArgs, opts?: InvokeOptions): Output<GetAwsServiceDiscoveryResult>
    def get_aws_service_discovery(address_realm: Optional[str] = None,
                                  aws_access_key: Optional[str] = None,
                                  aws_region: Optional[str] = None,
                                  aws_secret_access_key: Optional[str] = None,
                                  credential_update: Optional[bool] = None,
                                  external_id: Optional[str] = None,
                                  minimum_monitors: Optional[str] = None,
                                  port: Optional[int] = None,
                                  role_arn: Optional[str] = None,
                                  tag_key: Optional[str] = None,
                                  tag_value: Optional[str] = None,
                                  type: Optional[str] = None,
                                  undetectable_action: Optional[str] = None,
                                  update_interval: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetAwsServiceDiscoveryResult
    def get_aws_service_discovery_output(address_realm: Optional[pulumi.Input[str]] = None,
                                  aws_access_key: Optional[pulumi.Input[str]] = None,
                                  aws_region: Optional[pulumi.Input[str]] = None,
                                  aws_secret_access_key: Optional[pulumi.Input[str]] = None,
                                  credential_update: Optional[pulumi.Input[bool]] = None,
                                  external_id: Optional[pulumi.Input[str]] = None,
                                  minimum_monitors: Optional[pulumi.Input[str]] = None,
                                  port: Optional[pulumi.Input[int]] = None,
                                  role_arn: Optional[pulumi.Input[str]] = None,
                                  tag_key: Optional[pulumi.Input[str]] = None,
                                  tag_value: Optional[pulumi.Input[str]] = None,
                                  type: Optional[pulumi.Input[str]] = None,
                                  undetectable_action: Optional[pulumi.Input[str]] = None,
                                  update_interval: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetAwsServiceDiscoveryResult]
    func GetAwsServiceDiscovery(ctx *Context, args *GetAwsServiceDiscoveryArgs, opts ...InvokeOption) (*GetAwsServiceDiscoveryResult, error)
    func GetAwsServiceDiscoveryOutput(ctx *Context, args *GetAwsServiceDiscoveryOutputArgs, opts ...InvokeOption) GetAwsServiceDiscoveryResultOutput

    > Note: This function is named GetAwsServiceDiscovery in the Go SDK.

    public static class GetAwsServiceDiscovery 
    {
        public static Task<GetAwsServiceDiscoveryResult> InvokeAsync(GetAwsServiceDiscoveryArgs args, InvokeOptions? opts = null)
        public static Output<GetAwsServiceDiscoveryResult> Invoke(GetAwsServiceDiscoveryInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAwsServiceDiscoveryResult> getAwsServiceDiscovery(GetAwsServiceDiscoveryArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: f5bigip:fast/getAwsServiceDiscovery:getAwsServiceDiscovery
      arguments:
        # arguments dictionary

    The following arguments are supported:

    TagKey string

    The tag key associated with the node to add to this pool.

    TagValue string

    The tag value associated with the node to add to this pool.

    AddressRealm string

    Specifies whether to look for public or private IP addresses,default private.

    AwsAccessKey string

    Information for discovering AWS nodes that are not in the same region as your BIG-IP (also requires the aws_secret_access_key field)

    AwsRegion string

    AWS region in which ADC is running,default Empty string.

    AwsSecretAccessKey string

    Information for discovering AWS nodes that are not in the same region as your BIG-IP (also requires the aws_secret_access_key field)

    CredentialUpdate bool

    Specifies whether you are updating your credentials,default false.

    ExternalId string

    AWS externalID field.

    MinimumMonitors string

    Member is down when fewer than minimum monitors report it healthy.

    Port int

    Port to be used for AWS service discovery,default 80.

    RoleArn string

    Assume a role (also requires the external_id field)

    Type string
    UndetectableAction string

    Action to take when node cannot be detected,default remove.

    UpdateInterval string

    Update interval for service discovery.

    TagKey string

    The tag key associated with the node to add to this pool.

    TagValue string

    The tag value associated with the node to add to this pool.

    AddressRealm string

    Specifies whether to look for public or private IP addresses,default private.

    AwsAccessKey string

    Information for discovering AWS nodes that are not in the same region as your BIG-IP (also requires the aws_secret_access_key field)

    AwsRegion string

    AWS region in which ADC is running,default Empty string.

    AwsSecretAccessKey string

    Information for discovering AWS nodes that are not in the same region as your BIG-IP (also requires the aws_secret_access_key field)

    CredentialUpdate bool

    Specifies whether you are updating your credentials,default false.

    ExternalId string

    AWS externalID field.

    MinimumMonitors string

    Member is down when fewer than minimum monitors report it healthy.

    Port int

    Port to be used for AWS service discovery,default 80.

    RoleArn string

    Assume a role (also requires the external_id field)

    Type string
    UndetectableAction string

    Action to take when node cannot be detected,default remove.

    UpdateInterval string

    Update interval for service discovery.

    tagKey String

    The tag key associated with the node to add to this pool.

    tagValue String

    The tag value associated with the node to add to this pool.

    addressRealm String

    Specifies whether to look for public or private IP addresses,default private.

    awsAccessKey String

    Information for discovering AWS nodes that are not in the same region as your BIG-IP (also requires the aws_secret_access_key field)

    awsRegion String

    AWS region in which ADC is running,default Empty string.

    awsSecretAccessKey String

    Information for discovering AWS nodes that are not in the same region as your BIG-IP (also requires the aws_secret_access_key field)

    credentialUpdate Boolean

    Specifies whether you are updating your credentials,default false.

    externalId String

    AWS externalID field.

    minimumMonitors String

    Member is down when fewer than minimum monitors report it healthy.

    port Integer

    Port to be used for AWS service discovery,default 80.

    roleArn String

    Assume a role (also requires the external_id field)

    type String
    undetectableAction String

    Action to take when node cannot be detected,default remove.

    updateInterval String

    Update interval for service discovery.

    tagKey string

    The tag key associated with the node to add to this pool.

    tagValue string

    The tag value associated with the node to add to this pool.

    addressRealm string

    Specifies whether to look for public or private IP addresses,default private.

    awsAccessKey string

    Information for discovering AWS nodes that are not in the same region as your BIG-IP (also requires the aws_secret_access_key field)

    awsRegion string

    AWS region in which ADC is running,default Empty string.

    awsSecretAccessKey string

    Information for discovering AWS nodes that are not in the same region as your BIG-IP (also requires the aws_secret_access_key field)

    credentialUpdate boolean

    Specifies whether you are updating your credentials,default false.

    externalId string

    AWS externalID field.

    minimumMonitors string

    Member is down when fewer than minimum monitors report it healthy.

    port number

    Port to be used for AWS service discovery,default 80.

    roleArn string

    Assume a role (also requires the external_id field)

    type string
    undetectableAction string

    Action to take when node cannot be detected,default remove.

    updateInterval string

    Update interval for service discovery.

    tag_key str

    The tag key associated with the node to add to this pool.

    tag_value str

    The tag value associated with the node to add to this pool.

    address_realm str

    Specifies whether to look for public or private IP addresses,default private.

    aws_access_key str

    Information for discovering AWS nodes that are not in the same region as your BIG-IP (also requires the aws_secret_access_key field)

    aws_region str

    AWS region in which ADC is running,default Empty string.

    aws_secret_access_key str

    Information for discovering AWS nodes that are not in the same region as your BIG-IP (also requires the aws_secret_access_key field)

    credential_update bool

    Specifies whether you are updating your credentials,default false.

    external_id str

    AWS externalID field.

    minimum_monitors str

    Member is down when fewer than minimum monitors report it healthy.

    port int

    Port to be used for AWS service discovery,default 80.

    role_arn str

    Assume a role (also requires the external_id field)

    type str
    undetectable_action str

    Action to take when node cannot be detected,default remove.

    update_interval str

    Update interval for service discovery.

    tagKey String

    The tag key associated with the node to add to this pool.

    tagValue String

    The tag value associated with the node to add to this pool.

    addressRealm String

    Specifies whether to look for public or private IP addresses,default private.

    awsAccessKey String

    Information for discovering AWS nodes that are not in the same region as your BIG-IP (also requires the aws_secret_access_key field)

    awsRegion String

    AWS region in which ADC is running,default Empty string.

    awsSecretAccessKey String

    Information for discovering AWS nodes that are not in the same region as your BIG-IP (also requires the aws_secret_access_key field)

    credentialUpdate Boolean

    Specifies whether you are updating your credentials,default false.

    externalId String

    AWS externalID field.

    minimumMonitors String

    Member is down when fewer than minimum monitors report it healthy.

    port Number

    Port to be used for AWS service discovery,default 80.

    roleArn String

    Assume a role (also requires the external_id field)

    type String
    undetectableAction String

    Action to take when node cannot be detected,default remove.

    updateInterval String

    Update interval for service discovery.

    getAwsServiceDiscovery Result

    The following output properties are available:

    AwsRegion string
    AwsSdJson string

    The JSON for AWS service discovery block.

    ExternalId string
    Id string

    The provider-assigned unique ID for this managed resource.

    RoleArn string
    TagKey string
    TagValue string
    AddressRealm string
    AwsAccessKey string
    AwsSecretAccessKey string
    CredentialUpdate bool
    MinimumMonitors string
    Port int
    Type string
    UndetectableAction string
    UpdateInterval string
    AwsRegion string
    AwsSdJson string

    The JSON for AWS service discovery block.

    ExternalId string
    Id string

    The provider-assigned unique ID for this managed resource.

    RoleArn string
    TagKey string
    TagValue string
    AddressRealm string
    AwsAccessKey string
    AwsSecretAccessKey string
    CredentialUpdate bool
    MinimumMonitors string
    Port int
    Type string
    UndetectableAction string
    UpdateInterval string
    awsRegion String
    awsSdJson String

    The JSON for AWS service discovery block.

    externalId String
    id String

    The provider-assigned unique ID for this managed resource.

    roleArn String
    tagKey String
    tagValue String
    addressRealm String
    awsAccessKey String
    awsSecretAccessKey String
    credentialUpdate Boolean
    minimumMonitors String
    port Integer
    type String
    undetectableAction String
    updateInterval String
    awsRegion string
    awsSdJson string

    The JSON for AWS service discovery block.

    externalId string
    id string

    The provider-assigned unique ID for this managed resource.

    roleArn string
    tagKey string
    tagValue string
    addressRealm string
    awsAccessKey string
    awsSecretAccessKey string
    credentialUpdate boolean
    minimumMonitors string
    port number
    type string
    undetectableAction string
    updateInterval string
    aws_region str
    aws_sd_json str

    The JSON for AWS service discovery block.

    external_id str
    id str

    The provider-assigned unique ID for this managed resource.

    role_arn str
    tag_key str
    tag_value str
    address_realm str
    aws_access_key str
    aws_secret_access_key str
    credential_update bool
    minimum_monitors str
    port int
    type str
    undetectable_action str
    update_interval str
    awsRegion String
    awsSdJson String

    The JSON for AWS service discovery block.

    externalId String
    id String

    The provider-assigned unique ID for this managed resource.

    roleArn String
    tagKey String
    tagValue String
    addressRealm String
    awsAccessKey String
    awsSecretAccessKey String
    credentialUpdate Boolean
    minimumMonitors String
    port Number
    type String
    undetectableAction String
    updateInterval String

    Package Details

    Repository
    f5 BIG-IP pulumi/pulumi-f5bigip
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the bigip Terraform Provider.

    f5bigip logo
    f5 BIG-IP v3.13.0 published on Wednesday, Sep 6, 2023 by Pulumi