We recommend new projects start with resources from the AWS provider.
aws-native.resourceexplorer2.getView
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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)
public static Output<GetViewResult> getView(GetViewArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:resourceexplorer2:getView
  arguments:
    # arguments dictionaryThe 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.Aws Native. Resource Explorer2. Outputs. View Search Filter 
- 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 - QueryStringparameter using a logical- ANDoperator.- 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=prodincludes all Amazon EC2 resources in any AWS Region that begin with the letters- usand are not tagged with a key- Stagethat has the value- prod.
- IncludedProperties List<Pulumi.Aws Native. Resource Explorer2. Outputs. View Included Property> 
- A list of fields that provide additional information about the view.
- 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
ViewSearch Filter 
- 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 - QueryStringparameter using a logical- ANDoperator.- 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=prodincludes all Amazon EC2 resources in any AWS Region that begin with the letters- usand are not tagged with a key- Stagethat has the value- prod.
- IncludedProperties []ViewIncluded Property 
- A list of fields that provide additional information about the view.
- 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
ViewSearch Filter 
- 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 - QueryStringparameter using a logical- ANDoperator.- 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=prodincludes all Amazon EC2 resources in any AWS Region that begin with the letters- usand are not tagged with a key- Stagethat has the value- prod.
- includedProperties List<ViewIncluded Property> 
- A list of fields that provide additional information about the view.
- 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
ViewSearch Filter 
- 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 - QueryStringparameter using a logical- ANDoperator.- 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=prodincludes all Amazon EC2 resources in any AWS Region that begin with the letters- usand are not tagged with a key- Stagethat has the value- prod.
- includedProperties ViewIncluded Property[] 
- A list of fields that provide additional information about the view.
- {[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
ViewSearch Filter 
- 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 - QueryStringparameter using a logical- ANDoperator.- 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=prodincludes all Amazon EC2 resources in any AWS Region that begin with the letters- usand are not tagged with a key- Stagethat has the value- prod.
- included_properties Sequence[ViewIncluded Property] 
- A list of fields that provide additional information about the view.
- 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 - QueryStringparameter using a logical- ANDoperator.- 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=prodincludes all Amazon EC2 resources in any AWS Region that begin with the letters- usand are not tagged with a key- Stagethat has the value- prod.
- includedProperties List<Property Map>
- A list of fields that provide additional information about the view.
- 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=prodincludes all Amazon EC2 resources in any AWS Region that begin with the letters- usand are not tagged with a key- Stagethat 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=prodincludes all Amazon EC2 resources in any AWS Region that begin with the letters- usand are not tagged with a key- Stagethat 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=prodincludes all Amazon EC2 resources in any AWS Region that begin with the letters- usand are not tagged with a key- Stagethat 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=prodincludes all Amazon EC2 resources in any AWS Region that begin with the letters- usand are not tagged with a key- Stagethat 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=prodincludes all Amazon EC2 resources in any AWS Region that begin with the letters- usand are not tagged with a key- Stagethat 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=prodincludes all Amazon EC2 resources in any AWS Region that begin with the letters- usand are not tagged with a key- Stagethat 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.