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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:resourceexplorer2:getView
arguments:
# arguments dictionary
The following arguments are supported:
- View
Arn 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 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 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 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
- view
Arn 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
QueryString
parameter using a logicalAND
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 lettersus
and are not tagged with a keyStage
that has the valueprod
.- Included
Properties 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.
- View
Arn 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
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
QueryString
parameter using a logicalAND
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 lettersus
and are not tagged with a keyStage
that has the valueprod
.- Included
Properties []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.
- View
Arn 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
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
QueryString
parameter using a logicalAND
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 lettersus
and are not tagged with a keyStage
that has the valueprod
.- included
Properties 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.
- view
Arn 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
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
QueryString
parameter using a logicalAND
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 lettersus
and are not tagged with a keyStage
that has the valueprod
.- included
Properties 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.
- view
Arn 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
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
QueryString
parameter using a logicalAND
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 lettersus
and are not tagged with a keyStage
that has the valueprod
.- 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
QueryString
parameter using a logicalAND
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 lettersus
and are not tagged with a keyStage
that has the valueprod
.- included
Properties 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.
- view
Arn 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
- Filter
String 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 lettersus
and are not tagged with a keyStage
that has the valueprod
.
- Filter
String 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 lettersus
and are not tagged with a keyStage
that has the valueprod
.
- filter
String 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 lettersus
and are not tagged with a keyStage
that has the valueprod
.
- filter
String 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 lettersus
and are not tagged with a keyStage
that has the valueprod
.
- 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 lettersus
and are not tagged with a keyStage
that has the valueprod
.
- filter
String 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 lettersus
and are not tagged with a keyStage
that has the valueprod
.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.