We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.79.0
published on Monday, Sep 14, 2026 by Pulumi
published on Monday, Sep 14, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.79.0
published on Monday, Sep 14, 2026 by Pulumi
published on Monday, Sep 14, 2026 by Pulumi
Creates a data source for an Amazon OpenSearch Service domain.
Using getDataSource
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 getDataSource(args: GetDataSourceArgs, opts?: InvokeOptions): Promise<GetDataSourceResult>
function getDataSourceOutput(args: GetDataSourceOutputArgs, opts?: InvokeOutputOptions): Output<GetDataSourceResult>def get_data_source(arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDataSourceResult
def get_data_source_output(arn: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetDataSourceResult]func LookupDataSource(ctx *Context, args *LookupDataSourceArgs, opts ...InvokeOption) (*LookupDataSourceResult, error)
func LookupDataSourceOutput(ctx *Context, args *LookupDataSourceOutputArgs, opts ...InvokeOption) LookupDataSourceResultOutput> Note: This function is named LookupDataSource in the Go SDK.
public static class GetDataSource
{
public static Task<GetDataSourceResult> InvokeAsync(GetDataSourceArgs args, InvokeOptions? opts = null)
public static Output<GetDataSourceResult> Invoke(GetDataSourceInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetDataSourceResult> Invoke(GetDataSourceInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetDataSourceResult> getDataSource(GetDataSourceArgs args, InvokeOptions options)
public static Output<GetDataSourceResult> getDataSource(GetDataSourceArgs args, InvokeOptions options)
public static Output<GetDataSourceResult> getDataSource(GetDataSourceArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:opensearch:getDataSource
arguments:
# arguments dictionarydata "aws-native_opensearch_get_data_source" "name" {
# arguments
}The following arguments are supported:
- Arn string
- The Amazon Resource Name (ARN) of the data source.
- Arn string
- The Amazon Resource Name (ARN) of the data source.
- arn string
- The Amazon Resource Name (ARN) of the data source.
- arn String
- The Amazon Resource Name (ARN) of the data source.
- arn string
- The Amazon Resource Name (ARN) of the data source.
- arn str
- The Amazon Resource Name (ARN) of the data source.
- arn String
- The Amazon Resource Name (ARN) of the data source.
getDataSource Result
The following output properties are available:
- Arn string
- The Amazon Resource Name (ARN) of the data source.
- Data
Source Pulumi.Type Aws Native. Open Search. Outputs. Data Source Type - Description string
- A description of the data source.
- Status
Pulumi.
Aws Native. Open Search. Data Source Status - The status of the data source.
- Arn string
- The Amazon Resource Name (ARN) of the data source.
- Data
Source DataType Source Type - Description string
- A description of the data source.
- Status
Data
Source Status - The status of the data source.
- arn string
- The Amazon Resource Name (ARN) of the data source.
- data_
source_ objecttype - description string
- A description of the data source.
- status "ACTIVE" | "DISABLED"
- The status of the data source.
- arn String
- The Amazon Resource Name (ARN) of the data source.
- data
Source DataType Source Type - description String
- A description of the data source.
- status
Data
Source Status - The status of the data source.
- arn string
- The Amazon Resource Name (ARN) of the data source.
- data
Source DataType Source Type - description string
- A description of the data source.
- status
Data
Source Status - The status of the data source.
- arn str
- The Amazon Resource Name (ARN) of the data source.
- data_
source_ Datatype Source Type - description str
- A description of the data source.
- status
Data
Source Status - The status of the data source.
- arn String
- The Amazon Resource Name (ARN) of the data source.
- data
Source Property MapType - description String
- A description of the data source.
- status "ACTIVE" | "DISABLED"
- The status of the data source.
Supporting Types
DataSourceS3GlueDataCatalog
- Role
Arn string - The ARN of the IAM role that grants OpenSearch Service permission to access the Glue Data Catalog.
- Role
Arn string - The ARN of the IAM role that grants OpenSearch Service permission to access the Glue Data Catalog.
- role_
arn string - The ARN of the IAM role that grants OpenSearch Service permission to access the Glue Data Catalog.
- role
Arn String - The ARN of the IAM role that grants OpenSearch Service permission to access the Glue Data Catalog.
- role
Arn string - The ARN of the IAM role that grants OpenSearch Service permission to access the Glue Data Catalog.
- role_
arn str - The ARN of the IAM role that grants OpenSearch Service permission to access the Glue Data Catalog.
- role
Arn String - The ARN of the IAM role that grants OpenSearch Service permission to access the Glue Data Catalog.
DataSourceStatus
DataSourceType
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.79.0
published on Monday, Sep 14, 2026 by Pulumi
published on Monday, Sep 14, 2026 by Pulumi