resourceexplorer2

package
v0.106.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IndexStateEnumActive   = IndexStateEnum("ACTIVE")
	IndexStateEnumCreating = IndexStateEnum("CREATING")
	IndexStateEnumDeleting = IndexStateEnum("DELETING")
	IndexStateEnumDeleted  = IndexStateEnum("DELETED")
	IndexStateEnumUpdating = IndexStateEnum("UPDATING")
)
View Source
const (
	IndexTypeLocal      = IndexType("LOCAL")
	IndexTypeAggregator = IndexType("AGGREGATOR")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultViewAssociation

type DefaultViewAssociation struct {
	pulumi.CustomResourceState

	// The AWS principal that the default view is associated with, used as the unique identifier for this resource.
	AssociatedAwsPrincipal pulumi.StringOutput `pulumi:"associatedAwsPrincipal"`
	// The ARN of the view to set as the default for the AWS Region and AWS account in which you call this operation. The specified view must already exist in the specified Region.
	ViewArn pulumi.StringOutput `pulumi:"viewArn"`
}

Definition of AWS::ResourceExplorer2::DefaultViewAssociation Resource Type

func GetDefaultViewAssociation

func GetDefaultViewAssociation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DefaultViewAssociationState, opts ...pulumi.ResourceOption) (*DefaultViewAssociation, error)

GetDefaultViewAssociation gets an existing DefaultViewAssociation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDefaultViewAssociation

func NewDefaultViewAssociation(ctx *pulumi.Context,
	name string, args *DefaultViewAssociationArgs, opts ...pulumi.ResourceOption) (*DefaultViewAssociation, error)

NewDefaultViewAssociation registers a new resource with the given unique name, arguments, and options.

func (*DefaultViewAssociation) ElementType

func (*DefaultViewAssociation) ElementType() reflect.Type

func (*DefaultViewAssociation) ToDefaultViewAssociationOutput

func (i *DefaultViewAssociation) ToDefaultViewAssociationOutput() DefaultViewAssociationOutput

func (*DefaultViewAssociation) ToDefaultViewAssociationOutputWithContext

func (i *DefaultViewAssociation) ToDefaultViewAssociationOutputWithContext(ctx context.Context) DefaultViewAssociationOutput

type DefaultViewAssociationArgs

type DefaultViewAssociationArgs struct {
	// The ARN of the view to set as the default for the AWS Region and AWS account in which you call this operation. The specified view must already exist in the specified Region.
	ViewArn pulumi.StringInput
}

The set of arguments for constructing a DefaultViewAssociation resource.

func (DefaultViewAssociationArgs) ElementType

func (DefaultViewAssociationArgs) ElementType() reflect.Type

type DefaultViewAssociationInput

type DefaultViewAssociationInput interface {
	pulumi.Input

	ToDefaultViewAssociationOutput() DefaultViewAssociationOutput
	ToDefaultViewAssociationOutputWithContext(ctx context.Context) DefaultViewAssociationOutput
}

type DefaultViewAssociationOutput

type DefaultViewAssociationOutput struct{ *pulumi.OutputState }

func (DefaultViewAssociationOutput) AssociatedAwsPrincipal

func (o DefaultViewAssociationOutput) AssociatedAwsPrincipal() pulumi.StringOutput

The AWS principal that the default view is associated with, used as the unique identifier for this resource.

func (DefaultViewAssociationOutput) ElementType

func (DefaultViewAssociationOutput) ToDefaultViewAssociationOutput

func (o DefaultViewAssociationOutput) ToDefaultViewAssociationOutput() DefaultViewAssociationOutput

func (DefaultViewAssociationOutput) ToDefaultViewAssociationOutputWithContext

func (o DefaultViewAssociationOutput) ToDefaultViewAssociationOutputWithContext(ctx context.Context) DefaultViewAssociationOutput

func (DefaultViewAssociationOutput) ViewArn

The ARN of the view to set as the default for the AWS Region and AWS account in which you call this operation. The specified view must already exist in the specified Region.

type DefaultViewAssociationState

type DefaultViewAssociationState struct {
}

func (DefaultViewAssociationState) ElementType

type Index

type Index struct {
	pulumi.CustomResourceState

	// The ARN of the new index for the AWS Region . For example:
	//
	// `arn:aws:resource-explorer-2:us-east-1:123456789012:index/EXAMPLE8-90ab-cdef-fedc-EXAMPLE22222`
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Indicates the current state of the index. For example:
	//
	// `CREATING`
	IndexState IndexStateEnumOutput `pulumi:"indexState"`
	// The specified tags are attached to only the index created in this AWS Region . The tags don't attach to any of the resources listed in the index.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Specifies the type of the index in this Region. For information about the aggregator index and how it differs from a local index, see [Turning on cross-Region search by creating an aggregator index](https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-aggregator-region.html) in the *AWS Resource Explorer User Guide.* .
	Type IndexTypeOutput `pulumi:"type"`
}

Definition of AWS::ResourceExplorer2::Index Resource Type

## Example Usage ### Example

```go package main

import (

"github.com/pulumi/pulumi-aws-native/sdk/go/aws/resourceexplorer2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := resourceexplorer2.NewIndex(ctx, "sampleIndex", &resourceexplorer2.IndexArgs{
			Type: resourceexplorer2.IndexTypeAggregator,
			Tags: pulumi.StringMap{
				"purpose": pulumi.String("ResourceExplorer Sample Stack"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Example

```go package main

import (

"github.com/pulumi/pulumi-aws-native/sdk/go/aws/resourceexplorer2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := resourceexplorer2.NewIndex(ctx, "sampleIndex", &resourceexplorer2.IndexArgs{
			Type: resourceexplorer2.IndexTypeAggregator,
			Tags: pulumi.StringMap{
				"purpose": pulumi.String("ResourceExplorer Sample Stack"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetIndex

func GetIndex(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IndexState, opts ...pulumi.ResourceOption) (*Index, error)

GetIndex gets an existing Index resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewIndex

func NewIndex(ctx *pulumi.Context,
	name string, args *IndexArgs, opts ...pulumi.ResourceOption) (*Index, error)

NewIndex registers a new resource with the given unique name, arguments, and options.

func (*Index) ElementType

func (*Index) ElementType() reflect.Type

func (*Index) ToIndexOutput

func (i *Index) ToIndexOutput() IndexOutput

func (*Index) ToIndexOutputWithContext

func (i *Index) ToIndexOutputWithContext(ctx context.Context) IndexOutput

type IndexArgs

type IndexArgs struct {
	// The specified tags are attached to only the index created in this AWS Region . The tags don't attach to any of the resources listed in the index.
	Tags pulumi.StringMapInput
	// Specifies the type of the index in this Region. For information about the aggregator index and how it differs from a local index, see [Turning on cross-Region search by creating an aggregator index](https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-aggregator-region.html) in the *AWS Resource Explorer User Guide.* .
	Type IndexTypeInput
}

The set of arguments for constructing a Index resource.

func (IndexArgs) ElementType

func (IndexArgs) ElementType() reflect.Type

type IndexInput

type IndexInput interface {
	pulumi.Input

	ToIndexOutput() IndexOutput
	ToIndexOutputWithContext(ctx context.Context) IndexOutput
}

type IndexOutput

type IndexOutput struct{ *pulumi.OutputState }

func (IndexOutput) Arn

The ARN of the new index for the AWS Region . For example:

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

func (IndexOutput) ElementType

func (IndexOutput) ElementType() reflect.Type

func (IndexOutput) IndexState

func (o IndexOutput) IndexState() IndexStateEnumOutput

Indicates the current state of the index. For example:

`CREATING`

func (IndexOutput) Tags

The specified tags are attached to only the index created in this AWS Region . The tags don't attach to any of the resources listed in the index.

func (IndexOutput) ToIndexOutput

func (o IndexOutput) ToIndexOutput() IndexOutput

func (IndexOutput) ToIndexOutputWithContext

func (o IndexOutput) ToIndexOutputWithContext(ctx context.Context) IndexOutput

func (IndexOutput) Type

func (o IndexOutput) Type() IndexTypeOutput

Specifies the type of the index in this Region. For information about the aggregator index and how it differs from a local index, see [Turning on cross-Region search by creating an aggregator index](https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-aggregator-region.html) in the *AWS Resource Explorer User Guide.* .

type IndexState

type IndexState struct {
}

func (IndexState) ElementType

func (IndexState) ElementType() reflect.Type

type IndexStateEnum

type IndexStateEnum string

type IndexStateEnumOutput

type IndexStateEnumOutput struct{ *pulumi.OutputState }

func (IndexStateEnumOutput) ElementType

func (IndexStateEnumOutput) ElementType() reflect.Type

func (IndexStateEnumOutput) ToIndexStateEnumOutput

func (o IndexStateEnumOutput) ToIndexStateEnumOutput() IndexStateEnumOutput

func (IndexStateEnumOutput) ToIndexStateEnumOutputWithContext

func (o IndexStateEnumOutput) ToIndexStateEnumOutputWithContext(ctx context.Context) IndexStateEnumOutput

func (IndexStateEnumOutput) ToIndexStateEnumPtrOutput

func (o IndexStateEnumOutput) ToIndexStateEnumPtrOutput() IndexStateEnumPtrOutput

func (IndexStateEnumOutput) ToIndexStateEnumPtrOutputWithContext

func (o IndexStateEnumOutput) ToIndexStateEnumPtrOutputWithContext(ctx context.Context) IndexStateEnumPtrOutput

func (IndexStateEnumOutput) ToStringOutput

func (o IndexStateEnumOutput) ToStringOutput() pulumi.StringOutput

func (IndexStateEnumOutput) ToStringOutputWithContext

func (o IndexStateEnumOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (IndexStateEnumOutput) ToStringPtrOutput

func (o IndexStateEnumOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (IndexStateEnumOutput) ToStringPtrOutputWithContext

func (o IndexStateEnumOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type IndexStateEnumPtrOutput

type IndexStateEnumPtrOutput struct{ *pulumi.OutputState }

func (IndexStateEnumPtrOutput) Elem

func (IndexStateEnumPtrOutput) ElementType

func (IndexStateEnumPtrOutput) ElementType() reflect.Type

func (IndexStateEnumPtrOutput) ToIndexStateEnumPtrOutput

func (o IndexStateEnumPtrOutput) ToIndexStateEnumPtrOutput() IndexStateEnumPtrOutput

func (IndexStateEnumPtrOutput) ToIndexStateEnumPtrOutputWithContext

func (o IndexStateEnumPtrOutput) ToIndexStateEnumPtrOutputWithContext(ctx context.Context) IndexStateEnumPtrOutput

func (IndexStateEnumPtrOutput) ToStringPtrOutput

func (o IndexStateEnumPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (IndexStateEnumPtrOutput) ToStringPtrOutputWithContext

func (o IndexStateEnumPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type IndexType

type IndexType string

func (IndexType) ElementType

func (IndexType) ElementType() reflect.Type

func (IndexType) ToIndexTypeOutput

func (e IndexType) ToIndexTypeOutput() IndexTypeOutput

func (IndexType) ToIndexTypeOutputWithContext

func (e IndexType) ToIndexTypeOutputWithContext(ctx context.Context) IndexTypeOutput

func (IndexType) ToIndexTypePtrOutput

func (e IndexType) ToIndexTypePtrOutput() IndexTypePtrOutput

func (IndexType) ToIndexTypePtrOutputWithContext

func (e IndexType) ToIndexTypePtrOutputWithContext(ctx context.Context) IndexTypePtrOutput

func (IndexType) ToStringOutput

func (e IndexType) ToStringOutput() pulumi.StringOutput

func (IndexType) ToStringOutputWithContext

func (e IndexType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (IndexType) ToStringPtrOutput

func (e IndexType) ToStringPtrOutput() pulumi.StringPtrOutput

func (IndexType) ToStringPtrOutputWithContext

func (e IndexType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type IndexTypeInput

type IndexTypeInput interface {
	pulumi.Input

	ToIndexTypeOutput() IndexTypeOutput
	ToIndexTypeOutputWithContext(context.Context) IndexTypeOutput
}

IndexTypeInput is an input type that accepts values of the IndexType enum A concrete instance of `IndexTypeInput` can be one of the following:

IndexTypeLocal
IndexTypeAggregator

type IndexTypeOutput

type IndexTypeOutput struct{ *pulumi.OutputState }

func (IndexTypeOutput) ElementType

func (IndexTypeOutput) ElementType() reflect.Type

func (IndexTypeOutput) ToIndexTypeOutput

func (o IndexTypeOutput) ToIndexTypeOutput() IndexTypeOutput

func (IndexTypeOutput) ToIndexTypeOutputWithContext

func (o IndexTypeOutput) ToIndexTypeOutputWithContext(ctx context.Context) IndexTypeOutput

func (IndexTypeOutput) ToIndexTypePtrOutput

func (o IndexTypeOutput) ToIndexTypePtrOutput() IndexTypePtrOutput

func (IndexTypeOutput) ToIndexTypePtrOutputWithContext

func (o IndexTypeOutput) ToIndexTypePtrOutputWithContext(ctx context.Context) IndexTypePtrOutput

func (IndexTypeOutput) ToStringOutput

func (o IndexTypeOutput) ToStringOutput() pulumi.StringOutput

func (IndexTypeOutput) ToStringOutputWithContext

func (o IndexTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (IndexTypeOutput) ToStringPtrOutput

func (o IndexTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (IndexTypeOutput) ToStringPtrOutputWithContext

func (o IndexTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type IndexTypePtrInput

type IndexTypePtrInput interface {
	pulumi.Input

	ToIndexTypePtrOutput() IndexTypePtrOutput
	ToIndexTypePtrOutputWithContext(context.Context) IndexTypePtrOutput
}

func IndexTypePtr

func IndexTypePtr(v string) IndexTypePtrInput

type IndexTypePtrOutput

type IndexTypePtrOutput struct{ *pulumi.OutputState }

func (IndexTypePtrOutput) Elem

func (IndexTypePtrOutput) ElementType

func (IndexTypePtrOutput) ElementType() reflect.Type

func (IndexTypePtrOutput) ToIndexTypePtrOutput

func (o IndexTypePtrOutput) ToIndexTypePtrOutput() IndexTypePtrOutput

func (IndexTypePtrOutput) ToIndexTypePtrOutputWithContext

func (o IndexTypePtrOutput) ToIndexTypePtrOutputWithContext(ctx context.Context) IndexTypePtrOutput

func (IndexTypePtrOutput) ToStringPtrOutput

func (o IndexTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (IndexTypePtrOutput) ToStringPtrOutputWithContext

func (o IndexTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type LookupDefaultViewAssociationArgs

type LookupDefaultViewAssociationArgs struct {
	// The AWS principal that the default view is associated with, used as the unique identifier for this resource.
	AssociatedAwsPrincipal string `pulumi:"associatedAwsPrincipal"`
}

type LookupDefaultViewAssociationOutputArgs

type LookupDefaultViewAssociationOutputArgs struct {
	// The AWS principal that the default view is associated with, used as the unique identifier for this resource.
	AssociatedAwsPrincipal pulumi.StringInput `pulumi:"associatedAwsPrincipal"`
}

func (LookupDefaultViewAssociationOutputArgs) ElementType

type LookupDefaultViewAssociationResult

type LookupDefaultViewAssociationResult struct {
	// The AWS principal that the default view is associated with, used as the unique identifier for this resource.
	AssociatedAwsPrincipal *string `pulumi:"associatedAwsPrincipal"`
	// The ARN of the view to set as the default for the AWS Region and AWS account in which you call this operation. The specified view must already exist in the specified Region.
	ViewArn *string `pulumi:"viewArn"`
}

func LookupDefaultViewAssociation

func LookupDefaultViewAssociation(ctx *pulumi.Context, args *LookupDefaultViewAssociationArgs, opts ...pulumi.InvokeOption) (*LookupDefaultViewAssociationResult, error)

Definition of AWS::ResourceExplorer2::DefaultViewAssociation Resource Type

type LookupDefaultViewAssociationResultOutput

type LookupDefaultViewAssociationResultOutput struct{ *pulumi.OutputState }

func (LookupDefaultViewAssociationResultOutput) AssociatedAwsPrincipal

The AWS principal that the default view is associated with, used as the unique identifier for this resource.

func (LookupDefaultViewAssociationResultOutput) ElementType

func (LookupDefaultViewAssociationResultOutput) ToLookupDefaultViewAssociationResultOutput

func (o LookupDefaultViewAssociationResultOutput) ToLookupDefaultViewAssociationResultOutput() LookupDefaultViewAssociationResultOutput

func (LookupDefaultViewAssociationResultOutput) ToLookupDefaultViewAssociationResultOutputWithContext

func (o LookupDefaultViewAssociationResultOutput) ToLookupDefaultViewAssociationResultOutputWithContext(ctx context.Context) LookupDefaultViewAssociationResultOutput

func (LookupDefaultViewAssociationResultOutput) ViewArn

The ARN of the view to set as the default for the AWS Region and AWS account in which you call this operation. The specified view must already exist in the specified Region.

type LookupIndexArgs

type LookupIndexArgs struct {
	// The ARN of the new index for the AWS Region . For example:
	//
	// `arn:aws:resource-explorer-2:us-east-1:123456789012:index/EXAMPLE8-90ab-cdef-fedc-EXAMPLE22222`
	Arn string `pulumi:"arn"`
}

type LookupIndexOutputArgs

type LookupIndexOutputArgs struct {
	// The ARN of the new index for the AWS Region . For example:
	//
	// `arn:aws:resource-explorer-2:us-east-1:123456789012:index/EXAMPLE8-90ab-cdef-fedc-EXAMPLE22222`
	Arn pulumi.StringInput `pulumi:"arn"`
}

func (LookupIndexOutputArgs) ElementType

func (LookupIndexOutputArgs) ElementType() reflect.Type

type LookupIndexResult

type LookupIndexResult struct {
	// The ARN of the new index for the AWS Region . For example:
	//
	// `arn:aws:resource-explorer-2:us-east-1:123456789012:index/EXAMPLE8-90ab-cdef-fedc-EXAMPLE22222`
	Arn *string `pulumi:"arn"`
	// Indicates the current state of the index. For example:
	//
	// `CREATING`
	IndexState *IndexStateEnum `pulumi:"indexState"`
	// The specified tags are attached to only the index created in this AWS Region . The tags don't attach to any of the resources listed in the index.
	Tags map[string]string `pulumi:"tags"`
	// Specifies the type of the index in this Region. For information about the aggregator index and how it differs from a local index, see [Turning on cross-Region search by creating an aggregator index](https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-aggregator-region.html) in the *AWS Resource Explorer User Guide.* .
	Type *IndexType `pulumi:"type"`
}

func LookupIndex

func LookupIndex(ctx *pulumi.Context, args *LookupIndexArgs, opts ...pulumi.InvokeOption) (*LookupIndexResult, error)

Definition of AWS::ResourceExplorer2::Index Resource Type

type LookupIndexResultOutput

type LookupIndexResultOutput struct{ *pulumi.OutputState }

func (LookupIndexResultOutput) Arn

The ARN of the new index for the AWS Region . For example:

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

func (LookupIndexResultOutput) ElementType

func (LookupIndexResultOutput) ElementType() reflect.Type

func (LookupIndexResultOutput) IndexState

Indicates the current state of the index. For example:

`CREATING`

func (LookupIndexResultOutput) Tags

The specified tags are attached to only the index created in this AWS Region . The tags don't attach to any of the resources listed in the index.

func (LookupIndexResultOutput) ToLookupIndexResultOutput

func (o LookupIndexResultOutput) ToLookupIndexResultOutput() LookupIndexResultOutput

func (LookupIndexResultOutput) ToLookupIndexResultOutputWithContext

func (o LookupIndexResultOutput) ToLookupIndexResultOutputWithContext(ctx context.Context) LookupIndexResultOutput

func (LookupIndexResultOutput) Type

Specifies the type of the index in this Region. For information about the aggregator index and how it differs from a local index, see [Turning on cross-Region search by creating an aggregator index](https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-aggregator-region.html) in the *AWS Resource Explorer User Guide.* .

type LookupViewArgs

type LookupViewArgs struct {
	// 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 `pulumi:"viewArn"`
}

type LookupViewOutputArgs

type LookupViewOutputArgs struct {
	// 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 pulumi.StringInput `pulumi:"viewArn"`
}

func (LookupViewOutputArgs) ElementType

func (LookupViewOutputArgs) ElementType() reflect.Type

type LookupViewResult

type LookupViewResult struct {
	// 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](https://docs.aws.amazon.com/resource-explorer/latest/apireference/API_Search.html) 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](https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html) in the *AWS Resource Explorer User Guide* .
	//
	// > This query string in the context of this operation supports only [filter prefixes](https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html#query-syntax-filters) with optional [operators](https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html#query-syntax-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` .
	Filters *ViewSearchFilter `pulumi:"filters"`
	// A list of fields that provide additional information about the view.
	IncludedProperties []ViewIncludedProperty `pulumi:"includedProperties"`
	// Tag key and value pairs that are attached to the view.
	Tags map[string]string `pulumi:"tags"`
	// 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 `pulumi:"viewArn"`
}

func LookupView

func LookupView(ctx *pulumi.Context, args *LookupViewArgs, opts ...pulumi.InvokeOption) (*LookupViewResult, error)

Definition of AWS::ResourceExplorer2::View Resource Type

type LookupViewResultOutput

type LookupViewResultOutput struct{ *pulumi.OutputState }

func (LookupViewResultOutput) ElementType

func (LookupViewResultOutput) ElementType() reflect.Type

func (LookupViewResultOutput) Filters

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](https://docs.aws.amazon.com/resource-explorer/latest/apireference/API_Search.html) 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](https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html) in the *AWS Resource Explorer User Guide* .

> This query string in the context of this operation supports only [filter prefixes](https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html#query-syntax-filters) with optional [operators](https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html#query-syntax-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` .

func (LookupViewResultOutput) IncludedProperties

A list of fields that provide additional information about the view.

func (LookupViewResultOutput) Tags

Tag key and value pairs that are attached to the view.

func (LookupViewResultOutput) ToLookupViewResultOutput

func (o LookupViewResultOutput) ToLookupViewResultOutput() LookupViewResultOutput

func (LookupViewResultOutput) ToLookupViewResultOutputWithContext

func (o LookupViewResultOutput) ToLookupViewResultOutputWithContext(ctx context.Context) LookupViewResultOutput

func (LookupViewResultOutput) ViewArn

The ARN of the new view. For example:

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

type View

type View struct {
	pulumi.CustomResourceState

	// 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](https://docs.aws.amazon.com/resource-explorer/latest/apireference/API_Search.html) 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](https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html) in the *AWS Resource Explorer User Guide* .
	//
	// > This query string in the context of this operation supports only [filter prefixes](https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html#query-syntax-filters) with optional [operators](https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html#query-syntax-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` .
	Filters ViewSearchFilterPtrOutput `pulumi:"filters"`
	// A list of fields that provide additional information about the view.
	IncludedProperties ViewIncludedPropertyArrayOutput `pulumi:"includedProperties"`
	// The root ARN of the account, an organizational unit (OU), or an organization ARN. If left empty, the default is account.
	Scope pulumi.StringPtrOutput `pulumi:"scope"`
	// Tag key and value pairs that are attached to the view.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// 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 pulumi.StringOutput `pulumi:"viewArn"`
	// The name of the new view.
	ViewName pulumi.StringOutput `pulumi:"viewName"`
}

Definition of AWS::ResourceExplorer2::View Resource Type

func GetView

func GetView(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ViewState, opts ...pulumi.ResourceOption) (*View, error)

GetView gets an existing View resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewView

func NewView(ctx *pulumi.Context,
	name string, args *ViewArgs, opts ...pulumi.ResourceOption) (*View, error)

NewView registers a new resource with the given unique name, arguments, and options.

func (*View) ElementType

func (*View) ElementType() reflect.Type

func (*View) ToViewOutput

func (i *View) ToViewOutput() ViewOutput

func (*View) ToViewOutputWithContext

func (i *View) ToViewOutputWithContext(ctx context.Context) ViewOutput

type ViewArgs

type ViewArgs struct {
	// 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](https://docs.aws.amazon.com/resource-explorer/latest/apireference/API_Search.html) 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](https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html) in the *AWS Resource Explorer User Guide* .
	//
	// > This query string in the context of this operation supports only [filter prefixes](https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html#query-syntax-filters) with optional [operators](https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html#query-syntax-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` .
	Filters ViewSearchFilterPtrInput
	// A list of fields that provide additional information about the view.
	IncludedProperties ViewIncludedPropertyArrayInput
	// The root ARN of the account, an organizational unit (OU), or an organization ARN. If left empty, the default is account.
	Scope pulumi.StringPtrInput
	// Tag key and value pairs that are attached to the view.
	Tags pulumi.StringMapInput
	// The name of the new view.
	ViewName pulumi.StringPtrInput
}

The set of arguments for constructing a View resource.

func (ViewArgs) ElementType

func (ViewArgs) ElementType() reflect.Type

type ViewIncludedProperty

type ViewIncludedProperty struct {
	// The name of the property that is included in this view.
	Name string `pulumi:"name"`
}

type ViewIncludedPropertyArgs

type ViewIncludedPropertyArgs struct {
	// The name of the property that is included in this view.
	Name pulumi.StringInput `pulumi:"name"`
}

func (ViewIncludedPropertyArgs) ElementType

func (ViewIncludedPropertyArgs) ElementType() reflect.Type

func (ViewIncludedPropertyArgs) ToViewIncludedPropertyOutput

func (i ViewIncludedPropertyArgs) ToViewIncludedPropertyOutput() ViewIncludedPropertyOutput

func (ViewIncludedPropertyArgs) ToViewIncludedPropertyOutputWithContext

func (i ViewIncludedPropertyArgs) ToViewIncludedPropertyOutputWithContext(ctx context.Context) ViewIncludedPropertyOutput

type ViewIncludedPropertyArray

type ViewIncludedPropertyArray []ViewIncludedPropertyInput

func (ViewIncludedPropertyArray) ElementType

func (ViewIncludedPropertyArray) ElementType() reflect.Type

func (ViewIncludedPropertyArray) ToViewIncludedPropertyArrayOutput

func (i ViewIncludedPropertyArray) ToViewIncludedPropertyArrayOutput() ViewIncludedPropertyArrayOutput

func (ViewIncludedPropertyArray) ToViewIncludedPropertyArrayOutputWithContext

func (i ViewIncludedPropertyArray) ToViewIncludedPropertyArrayOutputWithContext(ctx context.Context) ViewIncludedPropertyArrayOutput

type ViewIncludedPropertyArrayInput

type ViewIncludedPropertyArrayInput interface {
	pulumi.Input

	ToViewIncludedPropertyArrayOutput() ViewIncludedPropertyArrayOutput
	ToViewIncludedPropertyArrayOutputWithContext(context.Context) ViewIncludedPropertyArrayOutput
}

ViewIncludedPropertyArrayInput is an input type that accepts ViewIncludedPropertyArray and ViewIncludedPropertyArrayOutput values. You can construct a concrete instance of `ViewIncludedPropertyArrayInput` via:

ViewIncludedPropertyArray{ ViewIncludedPropertyArgs{...} }

type ViewIncludedPropertyArrayOutput

type ViewIncludedPropertyArrayOutput struct{ *pulumi.OutputState }

func (ViewIncludedPropertyArrayOutput) ElementType

func (ViewIncludedPropertyArrayOutput) Index

func (ViewIncludedPropertyArrayOutput) ToViewIncludedPropertyArrayOutput

func (o ViewIncludedPropertyArrayOutput) ToViewIncludedPropertyArrayOutput() ViewIncludedPropertyArrayOutput

func (ViewIncludedPropertyArrayOutput) ToViewIncludedPropertyArrayOutputWithContext

func (o ViewIncludedPropertyArrayOutput) ToViewIncludedPropertyArrayOutputWithContext(ctx context.Context) ViewIncludedPropertyArrayOutput

type ViewIncludedPropertyInput

type ViewIncludedPropertyInput interface {
	pulumi.Input

	ToViewIncludedPropertyOutput() ViewIncludedPropertyOutput
	ToViewIncludedPropertyOutputWithContext(context.Context) ViewIncludedPropertyOutput
}

ViewIncludedPropertyInput is an input type that accepts ViewIncludedPropertyArgs and ViewIncludedPropertyOutput values. You can construct a concrete instance of `ViewIncludedPropertyInput` via:

ViewIncludedPropertyArgs{...}

type ViewIncludedPropertyOutput

type ViewIncludedPropertyOutput struct{ *pulumi.OutputState }

func (ViewIncludedPropertyOutput) ElementType

func (ViewIncludedPropertyOutput) ElementType() reflect.Type

func (ViewIncludedPropertyOutput) Name

The name of the property that is included in this view.

func (ViewIncludedPropertyOutput) ToViewIncludedPropertyOutput

func (o ViewIncludedPropertyOutput) ToViewIncludedPropertyOutput() ViewIncludedPropertyOutput

func (ViewIncludedPropertyOutput) ToViewIncludedPropertyOutputWithContext

func (o ViewIncludedPropertyOutput) ToViewIncludedPropertyOutputWithContext(ctx context.Context) ViewIncludedPropertyOutput

type ViewInput

type ViewInput interface {
	pulumi.Input

	ToViewOutput() ViewOutput
	ToViewOutputWithContext(ctx context.Context) ViewOutput
}

type ViewOutput

type ViewOutput struct{ *pulumi.OutputState }

func (ViewOutput) ElementType

func (ViewOutput) ElementType() reflect.Type

func (ViewOutput) Filters

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](https://docs.aws.amazon.com/resource-explorer/latest/apireference/API_Search.html) 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](https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html) in the *AWS Resource Explorer User Guide* .

> This query string in the context of this operation supports only [filter prefixes](https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html#query-syntax-filters) with optional [operators](https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html#query-syntax-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` .

func (ViewOutput) IncludedProperties

func (o ViewOutput) IncludedProperties() ViewIncludedPropertyArrayOutput

A list of fields that provide additional information about the view.

func (ViewOutput) Scope added in v0.85.0

func (o ViewOutput) Scope() pulumi.StringPtrOutput

The root ARN of the account, an organizational unit (OU), or an organization ARN. If left empty, the default is account.

func (ViewOutput) Tags

Tag key and value pairs that are attached to the view.

func (ViewOutput) ToViewOutput

func (o ViewOutput) ToViewOutput() ViewOutput

func (ViewOutput) ToViewOutputWithContext

func (o ViewOutput) ToViewOutputWithContext(ctx context.Context) ViewOutput

func (ViewOutput) ViewArn

func (o ViewOutput) ViewArn() pulumi.StringOutput

The ARN of the new view. For example:

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

func (ViewOutput) ViewName

func (o ViewOutput) ViewName() pulumi.StringOutput

The name of the new view.

type ViewSearchFilter added in v0.85.0

type ViewSearchFilter struct {
	// 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](https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html) in the *AWS Resource Explorer User Guide* .
	//
	// > This query string in the context of this operation supports only [filter prefixes](https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html#query-syntax-filters) with optional [operators](https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html#query-syntax-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 `pulumi:"filterString"`
}

type ViewSearchFilterArgs added in v0.85.0

type ViewSearchFilterArgs struct {
	// 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](https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html) in the *AWS Resource Explorer User Guide* .
	//
	// > This query string in the context of this operation supports only [filter prefixes](https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html#query-syntax-filters) with optional [operators](https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html#query-syntax-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 pulumi.StringInput `pulumi:"filterString"`
}

func (ViewSearchFilterArgs) ElementType added in v0.85.0

func (ViewSearchFilterArgs) ElementType() reflect.Type

func (ViewSearchFilterArgs) ToViewSearchFilterOutput added in v0.85.0

func (i ViewSearchFilterArgs) ToViewSearchFilterOutput() ViewSearchFilterOutput

func (ViewSearchFilterArgs) ToViewSearchFilterOutputWithContext added in v0.85.0

func (i ViewSearchFilterArgs) ToViewSearchFilterOutputWithContext(ctx context.Context) ViewSearchFilterOutput

func (ViewSearchFilterArgs) ToViewSearchFilterPtrOutput added in v0.85.0

func (i ViewSearchFilterArgs) ToViewSearchFilterPtrOutput() ViewSearchFilterPtrOutput

func (ViewSearchFilterArgs) ToViewSearchFilterPtrOutputWithContext added in v0.85.0

func (i ViewSearchFilterArgs) ToViewSearchFilterPtrOutputWithContext(ctx context.Context) ViewSearchFilterPtrOutput

type ViewSearchFilterInput added in v0.85.0

type ViewSearchFilterInput interface {
	pulumi.Input

	ToViewSearchFilterOutput() ViewSearchFilterOutput
	ToViewSearchFilterOutputWithContext(context.Context) ViewSearchFilterOutput
}

ViewSearchFilterInput is an input type that accepts ViewSearchFilterArgs and ViewSearchFilterOutput values. You can construct a concrete instance of `ViewSearchFilterInput` via:

ViewSearchFilterArgs{...}

type ViewSearchFilterOutput added in v0.85.0

type ViewSearchFilterOutput struct{ *pulumi.OutputState }

func (ViewSearchFilterOutput) ElementType added in v0.85.0

func (ViewSearchFilterOutput) ElementType() reflect.Type

func (ViewSearchFilterOutput) FilterString added in v0.85.0

func (o ViewSearchFilterOutput) FilterString() pulumi.StringOutput

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](https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html) in the *AWS Resource Explorer User Guide* .

> This query string in the context of this operation supports only [filter prefixes](https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html#query-syntax-filters) with optional [operators](https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html#query-syntax-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` .

func (ViewSearchFilterOutput) ToViewSearchFilterOutput added in v0.85.0

func (o ViewSearchFilterOutput) ToViewSearchFilterOutput() ViewSearchFilterOutput

func (ViewSearchFilterOutput) ToViewSearchFilterOutputWithContext added in v0.85.0

func (o ViewSearchFilterOutput) ToViewSearchFilterOutputWithContext(ctx context.Context) ViewSearchFilterOutput

func (ViewSearchFilterOutput) ToViewSearchFilterPtrOutput added in v0.85.0

func (o ViewSearchFilterOutput) ToViewSearchFilterPtrOutput() ViewSearchFilterPtrOutput

func (ViewSearchFilterOutput) ToViewSearchFilterPtrOutputWithContext added in v0.85.0

func (o ViewSearchFilterOutput) ToViewSearchFilterPtrOutputWithContext(ctx context.Context) ViewSearchFilterPtrOutput

type ViewSearchFilterPtrInput added in v0.85.0

type ViewSearchFilterPtrInput interface {
	pulumi.Input

	ToViewSearchFilterPtrOutput() ViewSearchFilterPtrOutput
	ToViewSearchFilterPtrOutputWithContext(context.Context) ViewSearchFilterPtrOutput
}

ViewSearchFilterPtrInput is an input type that accepts ViewSearchFilterArgs, ViewSearchFilterPtr and ViewSearchFilterPtrOutput values. You can construct a concrete instance of `ViewSearchFilterPtrInput` via:

        ViewSearchFilterArgs{...}

or:

        nil

func ViewSearchFilterPtr added in v0.85.0

func ViewSearchFilterPtr(v *ViewSearchFilterArgs) ViewSearchFilterPtrInput

type ViewSearchFilterPtrOutput added in v0.85.0

type ViewSearchFilterPtrOutput struct{ *pulumi.OutputState }

func (ViewSearchFilterPtrOutput) Elem added in v0.85.0

func (ViewSearchFilterPtrOutput) ElementType added in v0.85.0

func (ViewSearchFilterPtrOutput) ElementType() reflect.Type

func (ViewSearchFilterPtrOutput) FilterString added in v0.85.0

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](https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html) in the *AWS Resource Explorer User Guide* .

> This query string in the context of this operation supports only [filter prefixes](https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html#query-syntax-filters) with optional [operators](https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html#query-syntax-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` .

func (ViewSearchFilterPtrOutput) ToViewSearchFilterPtrOutput added in v0.85.0

func (o ViewSearchFilterPtrOutput) ToViewSearchFilterPtrOutput() ViewSearchFilterPtrOutput

func (ViewSearchFilterPtrOutput) ToViewSearchFilterPtrOutputWithContext added in v0.85.0

func (o ViewSearchFilterPtrOutput) ToViewSearchFilterPtrOutputWithContext(ctx context.Context) ViewSearchFilterPtrOutput

type ViewState

type ViewState struct {
}

func (ViewState) ElementType

func (ViewState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL