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

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

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

aws-native.resourceexplorer2.getView

Explore with Pulumi AI

aws-native logo

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

AWS Native v0.126.0 published on Monday, Sep 30, 2024 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>
    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]
    func LookupView(ctx *Context, args *LookupViewArgs, opts ...InvokeOption) (*LookupViewResult, error)
    func LookupViewOutput(ctx *Context, args *LookupViewOutputArgs, opts ...InvokeOption) LookupViewResultOutput

    > 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)
    }
    public static CompletableFuture<GetViewResult> getView(GetViewArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:resourceexplorer2:getView
      arguments:
        # arguments dictionary

    The following arguments are supported:

    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

    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

    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

    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

    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

    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

    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 string
    The name of the property that is included in this view.
    Name string
    The name of the property that is included in this view.
    name String
    The name of the property that is included in this view.
    name string
    The name of the property that is included in this view.
    name str
    The name of the property that is included in this view.
    name String
    The name of the property that is included in this view.

    ViewSearchFilter

    FilterString 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 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 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 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 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 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
    aws-native logo

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

    AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi