f5 BIG-IP v3.17.4 published on Wednesday, Sep 11, 2024 by Pulumi
f5bigip.fast.getAwsServiceDiscovery
Explore with Pulumi AI
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
import * as pulumi from "@pulumi/pulumi";
import * as f5bigip from "@pulumi/f5bigip";
const TC2 = f5bigip.fast.getAwsServiceDiscovery({
    tagKey: "testawstagkey",
    tagValue: "testawstagvalue",
});
import pulumi
import pulumi_f5bigip as f5bigip
tc2 = f5bigip.fast.get_aws_service_discovery(tag_key="testawstagkey",
    tag_value="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
	})
}
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 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());
    }
}
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 dictionaryThe following arguments are supported:
- Tag
Key string - The tag key associated with the node to add to this pool.
 - Tag
Value string - The tag value associated with the node to add to this pool.
 - Address
Realm string - Specifies whether to look for public or private IP addresses,default 
private. - Aws
Access stringKey  - Information for discovering AWS nodes that are not in the same region as your BIG-IP (also requires the 
aws_secret_access_keyfield) - Aws
Region string - AWS region in which ADC is running,default Empty string.
 - Aws
Secret stringAccess Key  - Information for discovering AWS nodes that are not in the same region as your BIG-IP (also requires the 
aws_secret_access_keyfield) - Credential
Update bool - Specifies whether you are updating your credentials,default 
false. - External
Id string - AWS externalID field.
 - Minimum
Monitors string - 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 string - Assume a role (also requires the 
external_idfield) - Type string
 - Undetectable
Action string - Action to take when node cannot be detected,default 
remove. - Update
Interval string - Update interval for service discovery.
 
- Tag
Key string - The tag key associated with the node to add to this pool.
 - Tag
Value string - The tag value associated with the node to add to this pool.
 - Address
Realm string - Specifies whether to look for public or private IP addresses,default 
private. - Aws
Access stringKey  - Information for discovering AWS nodes that are not in the same region as your BIG-IP (also requires the 
aws_secret_access_keyfield) - Aws
Region string - AWS region in which ADC is running,default Empty string.
 - Aws
Secret stringAccess Key  - Information for discovering AWS nodes that are not in the same region as your BIG-IP (also requires the 
aws_secret_access_keyfield) - Credential
Update bool - Specifies whether you are updating your credentials,default 
false. - External
Id string - AWS externalID field.
 - Minimum
Monitors string - 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 string - Assume a role (also requires the 
external_idfield) - Type string
 - Undetectable
Action string - Action to take when node cannot be detected,default 
remove. - Update
Interval string - Update interval for service discovery.
 
- tag
Key String - The tag key associated with the node to add to this pool.
 - tag
Value String - The tag value associated with the node to add to this pool.
 - address
Realm String - Specifies whether to look for public or private IP addresses,default 
private. - aws
Access StringKey  - Information for discovering AWS nodes that are not in the same region as your BIG-IP (also requires the 
aws_secret_access_keyfield) - aws
Region String - AWS region in which ADC is running,default Empty string.
 - aws
Secret StringAccess Key  - Information for discovering AWS nodes that are not in the same region as your BIG-IP (also requires the 
aws_secret_access_keyfield) - credential
Update Boolean - Specifies whether you are updating your credentials,default 
false. - external
Id String - AWS externalID field.
 - minimum
Monitors String - Member is down when fewer than minimum monitors report it healthy.
 - port Integer
 - Port to be used for AWS service discovery,default 
80. - role
Arn String - Assume a role (also requires the 
external_idfield) - type String
 - undetectable
Action String - Action to take when node cannot be detected,default 
remove. - update
Interval String - Update interval for service discovery.
 
- tag
Key string - The tag key associated with the node to add to this pool.
 - tag
Value string - The tag value associated with the node to add to this pool.
 - address
Realm string - Specifies whether to look for public or private IP addresses,default 
private. - aws
Access stringKey  - Information for discovering AWS nodes that are not in the same region as your BIG-IP (also requires the 
aws_secret_access_keyfield) - aws
Region string - AWS region in which ADC is running,default Empty string.
 - aws
Secret stringAccess Key  - Information for discovering AWS nodes that are not in the same region as your BIG-IP (also requires the 
aws_secret_access_keyfield) - credential
Update boolean - Specifies whether you are updating your credentials,default 
false. - external
Id string - AWS externalID field.
 - minimum
Monitors string - Member is down when fewer than minimum monitors report it healthy.
 - port number
 - Port to be used for AWS service discovery,default 
80. - role
Arn string - Assume a role (also requires the 
external_idfield) - type string
 - undetectable
Action string - Action to take when node cannot be detected,default 
remove. - update
Interval 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_ strkey  - Information for discovering AWS nodes that are not in the same region as your BIG-IP (also requires the 
aws_secret_access_keyfield) - aws_
region str - AWS region in which ADC is running,default Empty string.
 - aws_
secret_ straccess_ key  - Information for discovering AWS nodes that are not in the same region as your BIG-IP (also requires the 
aws_secret_access_keyfield) - 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_idfield) - type str
 - undetectable_
action str - Action to take when node cannot be detected,default 
remove. - update_
interval str - Update interval for service discovery.
 
- tag
Key String - The tag key associated with the node to add to this pool.
 - tag
Value String - The tag value associated with the node to add to this pool.
 - address
Realm String - Specifies whether to look for public or private IP addresses,default 
private. - aws
Access StringKey  - Information for discovering AWS nodes that are not in the same region as your BIG-IP (also requires the 
aws_secret_access_keyfield) - aws
Region String - AWS region in which ADC is running,default Empty string.
 - aws
Secret StringAccess Key  - Information for discovering AWS nodes that are not in the same region as your BIG-IP (also requires the 
aws_secret_access_keyfield) - credential
Update Boolean - Specifies whether you are updating your credentials,default 
false. - external
Id String - AWS externalID field.
 - minimum
Monitors String - Member is down when fewer than minimum monitors report it healthy.
 - port Number
 - Port to be used for AWS service discovery,default 
80. - role
Arn String - Assume a role (also requires the 
external_idfield) - type String
 - undetectable
Action String - Action to take when node cannot be detected,default 
remove. - update
Interval String - Update interval for service discovery.
 
getAwsServiceDiscovery Result
The following output properties are available:
- Aws
Region string - Aws
Sd stringJson  - The JSON for AWS service discovery block.
 - External
Id string - Id string
 - The provider-assigned unique ID for this managed resource.
 - Role
Arn string - Tag
Key string - Tag
Value string - Address
Realm string - Aws
Access stringKey  - Aws
Secret stringAccess Key  - Credential
Update bool - Minimum
Monitors string - Port int
 - Type string
 - Undetectable
Action string - Update
Interval string 
- Aws
Region string - Aws
Sd stringJson  - The JSON for AWS service discovery block.
 - External
Id string - Id string
 - The provider-assigned unique ID for this managed resource.
 - Role
Arn string - Tag
Key string - Tag
Value string - Address
Realm string - Aws
Access stringKey  - Aws
Secret stringAccess Key  - Credential
Update bool - Minimum
Monitors string - Port int
 - Type string
 - Undetectable
Action string - Update
Interval string 
- aws
Region String - aws
Sd StringJson  - The JSON for AWS service discovery block.
 - external
Id String - id String
 - The provider-assigned unique ID for this managed resource.
 - role
Arn String - tag
Key String - tag
Value String - address
Realm String - aws
Access StringKey  - aws
Secret StringAccess Key  - credential
Update Boolean - minimum
Monitors String - port Integer
 - type String
 - undetectable
Action String - update
Interval String 
- aws
Region string - aws
Sd stringJson  - The JSON for AWS service discovery block.
 - external
Id string - id string
 - The provider-assigned unique ID for this managed resource.
 - role
Arn string - tag
Key string - tag
Value string - address
Realm string - aws
Access stringKey  - aws
Secret stringAccess Key  - credential
Update boolean - minimum
Monitors string - port number
 - type string
 - undetectable
Action string - update
Interval string 
- aws_
region str - aws_
sd_ strjson  - 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_ strkey  - aws_
secret_ straccess_ key  - credential_
update bool - minimum_
monitors str - port int
 - type str
 - undetectable_
action str - update_
interval str 
- aws
Region String - aws
Sd StringJson  - The JSON for AWS service discovery block.
 - external
Id String - id String
 - The provider-assigned unique ID for this managed resource.
 - role
Arn String - tag
Key String - tag
Value String - address
Realm String - aws
Access StringKey  - aws
Secret StringAccess Key  - credential
Update Boolean - minimum
Monitors String - port Number
 - type String
 - undetectable
Action String - update
Interval String 
Package Details
- Repository
 - f5 BIG-IP pulumi/pulumi-f5bigip
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
bigipTerraform Provider.