1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. resourceexplorer2
  5. getView

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.resourceexplorer2.getView

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

Definition of AWS::ResourceExplorer2::View Resource Type

Using getView

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 getView(args: GetViewArgs, opts?: InvokeOptions): Promise<GetViewResult>
function getViewOutput(args: GetViewOutputArgs, opts?: InvokeOptions): Output<GetViewResult>
Copy
def get_view(view_arn: Optional[str] = None,
             opts: Optional[InvokeOptions] = None) -> GetViewResult
def get_view_output(view_arn: Optional[pulumi.Input[str]] = None,
             opts: Optional[InvokeOptions] = None) -> Output[GetViewResult]
Copy
func LookupView(ctx *Context, args *LookupViewArgs, opts ...InvokeOption) (*LookupViewResult, error)
func LookupViewOutput(ctx *Context, args *LookupViewOutputArgs, opts ...InvokeOption) LookupViewResultOutput
Copy

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

public static class GetView 
{
    public static Task<GetViewResult> InvokeAsync(GetViewArgs args, InvokeOptions? opts = null)
    public static Output<GetViewResult> Invoke(GetViewInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetViewResult> getView(GetViewArgs args, InvokeOptions options)
public static Output<GetViewResult> getView(GetViewArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:resourceexplorer2:getView
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ViewArn This property is required. string

The ARN of the new view. For example:

arn:aws:resource-explorer-2:us-east-1:123456789012:view/MyView/EXAMPLE8-90ab-cdef-fedc-EXAMPLE22222

ViewArn This property is required. string

The ARN of the new view. For example:

arn:aws:resource-explorer-2:us-east-1:123456789012:view/MyView/EXAMPLE8-90ab-cdef-fedc-EXAMPLE22222

viewArn This property is required. String

The ARN of the new view. For example:

arn:aws:resource-explorer-2:us-east-1:123456789012:view/MyView/EXAMPLE8-90ab-cdef-fedc-EXAMPLE22222

viewArn This property is required. string

The ARN of the new view. For example:

arn:aws:resource-explorer-2:us-east-1:123456789012:view/MyView/EXAMPLE8-90ab-cdef-fedc-EXAMPLE22222

view_arn This property is required. str

The ARN of the new view. For example:

arn:aws:resource-explorer-2:us-east-1:123456789012:view/MyView/EXAMPLE8-90ab-cdef-fedc-EXAMPLE22222

viewArn This property is required. String

The ARN of the new view. For example:

arn:aws:resource-explorer-2:us-east-1:123456789012:view/MyView/EXAMPLE8-90ab-cdef-fedc-EXAMPLE22222

getView Result

The following output properties are available:

Filters Pulumi.AwsNative.ResourceExplorer2.Outputs.ViewSearchFilter

An array of strings that include search keywords, prefixes, and operators that filter the results that are returned for queries made using this view. When you use this view in a Search operation, the filter string is combined with the search's QueryString parameter using a logical AND operator.

For information about the supported syntax, see Search query reference for Resource Explorer in the AWS Resource Explorer User Guide .

This query string in the context of this operation supports only filter prefixes with optional operators . It doesn't support free-form text. For example, the string region:us* service:ec2 -tag:stage=prod includes all Amazon EC2 resources in any AWS Region that begin with the letters us and are not tagged with a key Stage that has the value prod .

IncludedProperties List<Pulumi.AwsNative.ResourceExplorer2.Outputs.ViewIncludedProperty>
A list of fields that provide additional information about the view.
Tags Dictionary<string, string>
Tag key and value pairs that are attached to the view.
ViewArn string

The ARN of the new view. For example:

arn:aws:resource-explorer-2:us-east-1:123456789012:view/MyView/EXAMPLE8-90ab-cdef-fedc-EXAMPLE22222

Filters ViewSearchFilter

An array of strings that include search keywords, prefixes, and operators that filter the results that are returned for queries made using this view. When you use this view in a Search operation, the filter string is combined with the search's QueryString parameter using a logical AND operator.

For information about the supported syntax, see Search query reference for Resource Explorer in the AWS Resource Explorer User Guide .

This query string in the context of this operation supports only filter prefixes with optional operators . It doesn't support free-form text. For example, the string region:us* service:ec2 -tag:stage=prod includes all Amazon EC2 resources in any AWS Region that begin with the letters us and are not tagged with a key Stage that has the value prod .

IncludedProperties []ViewIncludedProperty
A list of fields that provide additional information about the view.
Tags map[string]string
Tag key and value pairs that are attached to the view.
ViewArn string

The ARN of the new view. For example:

arn:aws:resource-explorer-2:us-east-1:123456789012:view/MyView/EXAMPLE8-90ab-cdef-fedc-EXAMPLE22222

filters ViewSearchFilter

An array of strings that include search keywords, prefixes, and operators that filter the results that are returned for queries made using this view. When you use this view in a Search operation, the filter string is combined with the search's QueryString parameter using a logical AND operator.

For information about the supported syntax, see Search query reference for Resource Explorer in the AWS Resource Explorer User Guide .

This query string in the context of this operation supports only filter prefixes with optional operators . It doesn't support free-form text. For example, the string region:us* service:ec2 -tag:stage=prod includes all Amazon EC2 resources in any AWS Region that begin with the letters us and are not tagged with a key Stage that has the value prod .

includedProperties List<ViewIncludedProperty>
A list of fields that provide additional information about the view.
tags Map<String,String>
Tag key and value pairs that are attached to the view.
viewArn String

The ARN of the new view. For example:

arn:aws:resource-explorer-2:us-east-1:123456789012:view/MyView/EXAMPLE8-90ab-cdef-fedc-EXAMPLE22222

filters ViewSearchFilter

An array of strings that include search keywords, prefixes, and operators that filter the results that are returned for queries made using this view. When you use this view in a Search operation, the filter string is combined with the search's QueryString parameter using a logical AND operator.

For information about the supported syntax, see Search query reference for Resource Explorer in the AWS Resource Explorer User Guide .

This query string in the context of this operation supports only filter prefixes with optional operators . It doesn't support free-form text. For example, the string region:us* service:ec2 -tag:stage=prod includes all Amazon EC2 resources in any AWS Region that begin with the letters us and are not tagged with a key Stage that has the value prod .

includedProperties ViewIncludedProperty[]
A list of fields that provide additional information about the view.
tags {[key: string]: string}
Tag key and value pairs that are attached to the view.
viewArn string

The ARN of the new view. For example:

arn:aws:resource-explorer-2:us-east-1:123456789012:view/MyView/EXAMPLE8-90ab-cdef-fedc-EXAMPLE22222

filters ViewSearchFilter

An array of strings that include search keywords, prefixes, and operators that filter the results that are returned for queries made using this view. When you use this view in a Search operation, the filter string is combined with the search's QueryString parameter using a logical AND operator.

For information about the supported syntax, see Search query reference for Resource Explorer in the AWS Resource Explorer User Guide .

This query string in the context of this operation supports only filter prefixes with optional operators . It doesn't support free-form text. For example, the string region:us* service:ec2 -tag:stage=prod includes all Amazon EC2 resources in any AWS Region that begin with the letters us and are not tagged with a key Stage that has the value prod .

included_properties Sequence[ViewIncludedProperty]
A list of fields that provide additional information about the view.
tags Mapping[str, str]
Tag key and value pairs that are attached to the view.
view_arn str

The ARN of the new view. For example:

arn:aws:resource-explorer-2:us-east-1:123456789012:view/MyView/EXAMPLE8-90ab-cdef-fedc-EXAMPLE22222

filters Property Map

An array of strings that include search keywords, prefixes, and operators that filter the results that are returned for queries made using this view. When you use this view in a Search operation, the filter string is combined with the search's QueryString parameter using a logical AND operator.

For information about the supported syntax, see Search query reference for Resource Explorer in the AWS Resource Explorer User Guide .

This query string in the context of this operation supports only filter prefixes with optional operators . It doesn't support free-form text. For example, the string region:us* service:ec2 -tag:stage=prod includes all Amazon EC2 resources in any AWS Region that begin with the letters us and are not tagged with a key Stage that has the value prod .

includedProperties List<Property Map>
A list of fields that provide additional information about the view.
tags Map<String>
Tag key and value pairs that are attached to the view.
viewArn String

The ARN of the new view. For example:

arn:aws:resource-explorer-2:us-east-1:123456789012:view/MyView/EXAMPLE8-90ab-cdef-fedc-EXAMPLE22222

Supporting Types

ViewIncludedProperty

Name This property is required. string
The name of the property that is included in this view.
Name This property is required. string
The name of the property that is included in this view.
name This property is required. String
The name of the property that is included in this view.
name This property is required. string
The name of the property that is included in this view.
name This property is required. str
The name of the property that is included in this view.
name This property is required. String
The name of the property that is included in this view.

ViewSearchFilter

FilterString This property is required. string

The string that contains the search keywords, prefixes, and operators to control the results that can be returned by a Search operation.

For information about the supported syntax, see Search query reference in the AWS Resource Explorer User Guide .

This query string in the context of this operation supports only filter prefixes with optional operators . It doesn't support free-form text. For example, the string region:us* service:ec2 -tag:stage=prod includes all Amazon EC2 resources in any AWS Region that begin with the letters us and are not tagged with a key Stage that has the value prod .

FilterString This property is required. string

The string that contains the search keywords, prefixes, and operators to control the results that can be returned by a Search operation.

For information about the supported syntax, see Search query reference in the AWS Resource Explorer User Guide .

This query string in the context of this operation supports only filter prefixes with optional operators . It doesn't support free-form text. For example, the string region:us* service:ec2 -tag:stage=prod includes all Amazon EC2 resources in any AWS Region that begin with the letters us and are not tagged with a key Stage that has the value prod .

filterString This property is required. String

The string that contains the search keywords, prefixes, and operators to control the results that can be returned by a Search operation.

For information about the supported syntax, see Search query reference in the AWS Resource Explorer User Guide .

This query string in the context of this operation supports only filter prefixes with optional operators . It doesn't support free-form text. For example, the string region:us* service:ec2 -tag:stage=prod includes all Amazon EC2 resources in any AWS Region that begin with the letters us and are not tagged with a key Stage that has the value prod .

filterString This property is required. string

The string that contains the search keywords, prefixes, and operators to control the results that can be returned by a Search operation.

For information about the supported syntax, see Search query reference in the AWS Resource Explorer User Guide .

This query string in the context of this operation supports only filter prefixes with optional operators . It doesn't support free-form text. For example, the string region:us* service:ec2 -tag:stage=prod includes all Amazon EC2 resources in any AWS Region that begin with the letters us and are not tagged with a key Stage that has the value prod .

filter_string This property is required. str

The string that contains the search keywords, prefixes, and operators to control the results that can be returned by a Search operation.

For information about the supported syntax, see Search query reference in the AWS Resource Explorer User Guide .

This query string in the context of this operation supports only filter prefixes with optional operators . It doesn't support free-form text. For example, the string region:us* service:ec2 -tag:stage=prod includes all Amazon EC2 resources in any AWS Region that begin with the letters us and are not tagged with a key Stage that has the value prod .

filterString This property is required. String

The string that contains the search keywords, prefixes, and operators to control the results that can be returned by a Search operation.

For information about the supported syntax, see Search query reference in the AWS Resource Explorer User Guide .

This query string in the context of this operation supports only filter prefixes with optional operators . It doesn't support free-form text. For example, the string region:us* service:ec2 -tag:stage=prod includes all Amazon EC2 resources in any AWS Region that begin with the letters us and are not tagged with a key Stage that has the value prod .

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi