Documentation ¶
Index ¶
- type Index
- type IndexArgs
- type IndexArray
- type IndexArrayInput
- type IndexArrayOutput
- type IndexInput
- type IndexMap
- type IndexMapInput
- type IndexMapOutput
- type IndexOutput
- func (o IndexOutput) Arn() pulumi.StringOutput
- func (IndexOutput) ElementType() reflect.Type
- func (o IndexOutput) Tags() pulumi.StringMapOutput
- func (o IndexOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o IndexOutput) Timeouts() IndexTimeoutsPtrOutput
- func (o IndexOutput) ToIndexOutput() IndexOutput
- func (o IndexOutput) ToIndexOutputWithContext(ctx context.Context) IndexOutput
- func (o IndexOutput) Type() pulumi.StringOutput
- type IndexState
- type IndexTimeouts
- type IndexTimeoutsArgs
- func (IndexTimeoutsArgs) ElementType() reflect.Type
- func (i IndexTimeoutsArgs) ToIndexTimeoutsOutput() IndexTimeoutsOutput
- func (i IndexTimeoutsArgs) ToIndexTimeoutsOutputWithContext(ctx context.Context) IndexTimeoutsOutput
- func (i IndexTimeoutsArgs) ToIndexTimeoutsPtrOutput() IndexTimeoutsPtrOutput
- func (i IndexTimeoutsArgs) ToIndexTimeoutsPtrOutputWithContext(ctx context.Context) IndexTimeoutsPtrOutput
- type IndexTimeoutsInput
- type IndexTimeoutsOutput
- func (o IndexTimeoutsOutput) Create() pulumi.StringPtrOutput
- func (o IndexTimeoutsOutput) Delete() pulumi.StringPtrOutput
- func (IndexTimeoutsOutput) ElementType() reflect.Type
- func (o IndexTimeoutsOutput) ToIndexTimeoutsOutput() IndexTimeoutsOutput
- func (o IndexTimeoutsOutput) ToIndexTimeoutsOutputWithContext(ctx context.Context) IndexTimeoutsOutput
- func (o IndexTimeoutsOutput) ToIndexTimeoutsPtrOutput() IndexTimeoutsPtrOutput
- func (o IndexTimeoutsOutput) ToIndexTimeoutsPtrOutputWithContext(ctx context.Context) IndexTimeoutsPtrOutput
- func (o IndexTimeoutsOutput) Update() pulumi.StringPtrOutput
- type IndexTimeoutsPtrInput
- type IndexTimeoutsPtrOutput
- func (o IndexTimeoutsPtrOutput) Create() pulumi.StringPtrOutput
- func (o IndexTimeoutsPtrOutput) Delete() pulumi.StringPtrOutput
- func (o IndexTimeoutsPtrOutput) Elem() IndexTimeoutsOutput
- func (IndexTimeoutsPtrOutput) ElementType() reflect.Type
- func (o IndexTimeoutsPtrOutput) ToIndexTimeoutsPtrOutput() IndexTimeoutsPtrOutput
- func (o IndexTimeoutsPtrOutput) ToIndexTimeoutsPtrOutputWithContext(ctx context.Context) IndexTimeoutsPtrOutput
- func (o IndexTimeoutsPtrOutput) Update() pulumi.StringPtrOutput
- type View
- type ViewArgs
- type ViewArray
- type ViewArrayInput
- type ViewArrayOutput
- type ViewFilters
- type ViewFiltersArgs
- func (ViewFiltersArgs) ElementType() reflect.Type
- func (i ViewFiltersArgs) ToViewFiltersOutput() ViewFiltersOutput
- func (i ViewFiltersArgs) ToViewFiltersOutputWithContext(ctx context.Context) ViewFiltersOutput
- func (i ViewFiltersArgs) ToViewFiltersPtrOutput() ViewFiltersPtrOutput
- func (i ViewFiltersArgs) ToViewFiltersPtrOutputWithContext(ctx context.Context) ViewFiltersPtrOutput
- type ViewFiltersInput
- type ViewFiltersOutput
- func (ViewFiltersOutput) ElementType() reflect.Type
- func (o ViewFiltersOutput) FilterString() pulumi.StringOutput
- func (o ViewFiltersOutput) ToViewFiltersOutput() ViewFiltersOutput
- func (o ViewFiltersOutput) ToViewFiltersOutputWithContext(ctx context.Context) ViewFiltersOutput
- func (o ViewFiltersOutput) ToViewFiltersPtrOutput() ViewFiltersPtrOutput
- func (o ViewFiltersOutput) ToViewFiltersPtrOutputWithContext(ctx context.Context) ViewFiltersPtrOutput
- type ViewFiltersPtrInput
- type ViewFiltersPtrOutput
- func (o ViewFiltersPtrOutput) Elem() ViewFiltersOutput
- func (ViewFiltersPtrOutput) ElementType() reflect.Type
- func (o ViewFiltersPtrOutput) FilterString() pulumi.StringPtrOutput
- func (o ViewFiltersPtrOutput) ToViewFiltersPtrOutput() ViewFiltersPtrOutput
- func (o ViewFiltersPtrOutput) ToViewFiltersPtrOutputWithContext(ctx context.Context) ViewFiltersPtrOutput
- type ViewIncludedProperty
- type ViewIncludedPropertyArgs
- type ViewIncludedPropertyArray
- type ViewIncludedPropertyArrayInput
- type ViewIncludedPropertyArrayOutput
- func (ViewIncludedPropertyArrayOutput) ElementType() reflect.Type
- func (o ViewIncludedPropertyArrayOutput) Index(i pulumi.IntInput) ViewIncludedPropertyOutput
- func (o ViewIncludedPropertyArrayOutput) ToViewIncludedPropertyArrayOutput() ViewIncludedPropertyArrayOutput
- func (o ViewIncludedPropertyArrayOutput) ToViewIncludedPropertyArrayOutputWithContext(ctx context.Context) ViewIncludedPropertyArrayOutput
- type ViewIncludedPropertyInput
- type ViewIncludedPropertyOutput
- func (ViewIncludedPropertyOutput) ElementType() reflect.Type
- func (o ViewIncludedPropertyOutput) Name() pulumi.StringOutput
- func (o ViewIncludedPropertyOutput) ToViewIncludedPropertyOutput() ViewIncludedPropertyOutput
- func (o ViewIncludedPropertyOutput) ToViewIncludedPropertyOutputWithContext(ctx context.Context) ViewIncludedPropertyOutput
- type ViewInput
- type ViewMap
- type ViewMapInput
- type ViewMapOutput
- type ViewOutput
- func (o ViewOutput) Arn() pulumi.StringOutput
- func (o ViewOutput) DefaultView() pulumi.BoolOutput
- func (ViewOutput) ElementType() reflect.Type
- func (o ViewOutput) Filters() ViewFiltersPtrOutput
- func (o ViewOutput) IncludedProperties() ViewIncludedPropertyArrayOutput
- func (o ViewOutput) Name() pulumi.StringOutput
- func (o ViewOutput) Tags() pulumi.StringMapOutput
- func (o ViewOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o ViewOutput) ToViewOutput() ViewOutput
- func (o ViewOutput) ToViewOutputWithContext(ctx context.Context) ViewOutput
- type ViewState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Index ¶
type Index struct { pulumi.CustomResourceState // Amazon Resource Name (ARN) of the Resource Explorer index. Arn pulumi.StringOutput `pulumi:"arn"` // Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` Timeouts IndexTimeoutsPtrOutput `pulumi:"timeouts"` // The type of the index. Valid values: `AGGREGATOR`, `LOCAL`. To understand the difference between `LOCAL` and `AGGREGATOR`, see the [_AWS Resource Explorer User Guide_](https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-aggregator-region.html). Type pulumi.StringOutput `pulumi:"type"` }
Provides a resource to manage a Resource Explorer index in the current AWS Region.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/resourceexplorer" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := resourceexplorer.NewIndex(ctx, "example", &resourceexplorer.IndexArgs{ Type: pulumi.String("LOCAL"), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Resource Explorer indexes using the `arn`. For example:
```sh
$ pulumi import aws:resourceexplorer/index:Index example arn:aws:resource-explorer-2:us-east-1:123456789012:index/6047ac4e-207e-4487-9bcf-cb53bb0ff5cc
```
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) ToIndexOutput ¶
func (i *Index) ToIndexOutput() IndexOutput
func (*Index) ToIndexOutputWithContext ¶
func (i *Index) ToIndexOutputWithContext(ctx context.Context) IndexOutput
type IndexArgs ¶
type IndexArgs struct { // Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput Timeouts IndexTimeoutsPtrInput // The type of the index. Valid values: `AGGREGATOR`, `LOCAL`. To understand the difference between `LOCAL` and `AGGREGATOR`, see the [_AWS Resource Explorer User Guide_](https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-aggregator-region.html). Type pulumi.StringInput }
The set of arguments for constructing a Index resource.
func (IndexArgs) ElementType ¶
type IndexArray ¶
type IndexArray []IndexInput
func (IndexArray) ElementType ¶
func (IndexArray) ElementType() reflect.Type
func (IndexArray) ToIndexArrayOutput ¶
func (i IndexArray) ToIndexArrayOutput() IndexArrayOutput
func (IndexArray) ToIndexArrayOutputWithContext ¶
func (i IndexArray) ToIndexArrayOutputWithContext(ctx context.Context) IndexArrayOutput
type IndexArrayInput ¶
type IndexArrayInput interface { pulumi.Input ToIndexArrayOutput() IndexArrayOutput ToIndexArrayOutputWithContext(context.Context) IndexArrayOutput }
IndexArrayInput is an input type that accepts IndexArray and IndexArrayOutput values. You can construct a concrete instance of `IndexArrayInput` via:
IndexArray{ IndexArgs{...} }
type IndexArrayOutput ¶
type IndexArrayOutput struct{ *pulumi.OutputState }
func (IndexArrayOutput) ElementType ¶
func (IndexArrayOutput) ElementType() reflect.Type
func (IndexArrayOutput) Index ¶
func (o IndexArrayOutput) Index(i pulumi.IntInput) IndexOutput
func (IndexArrayOutput) ToIndexArrayOutput ¶
func (o IndexArrayOutput) ToIndexArrayOutput() IndexArrayOutput
func (IndexArrayOutput) ToIndexArrayOutputWithContext ¶
func (o IndexArrayOutput) ToIndexArrayOutputWithContext(ctx context.Context) IndexArrayOutput
type IndexInput ¶
type IndexInput interface { pulumi.Input ToIndexOutput() IndexOutput ToIndexOutputWithContext(ctx context.Context) IndexOutput }
type IndexMap ¶
type IndexMap map[string]IndexInput
func (IndexMap) ElementType ¶
func (IndexMap) ToIndexMapOutput ¶
func (i IndexMap) ToIndexMapOutput() IndexMapOutput
func (IndexMap) ToIndexMapOutputWithContext ¶
func (i IndexMap) ToIndexMapOutputWithContext(ctx context.Context) IndexMapOutput
type IndexMapInput ¶
type IndexMapInput interface { pulumi.Input ToIndexMapOutput() IndexMapOutput ToIndexMapOutputWithContext(context.Context) IndexMapOutput }
IndexMapInput is an input type that accepts IndexMap and IndexMapOutput values. You can construct a concrete instance of `IndexMapInput` via:
IndexMap{ "key": IndexArgs{...} }
type IndexMapOutput ¶
type IndexMapOutput struct{ *pulumi.OutputState }
func (IndexMapOutput) ElementType ¶
func (IndexMapOutput) ElementType() reflect.Type
func (IndexMapOutput) MapIndex ¶
func (o IndexMapOutput) MapIndex(k pulumi.StringInput) IndexOutput
func (IndexMapOutput) ToIndexMapOutput ¶
func (o IndexMapOutput) ToIndexMapOutput() IndexMapOutput
func (IndexMapOutput) ToIndexMapOutputWithContext ¶
func (o IndexMapOutput) ToIndexMapOutputWithContext(ctx context.Context) IndexMapOutput
type IndexOutput ¶
type IndexOutput struct{ *pulumi.OutputState }
func (IndexOutput) Arn ¶
func (o IndexOutput) Arn() pulumi.StringOutput
Amazon Resource Name (ARN) of the Resource Explorer index.
func (IndexOutput) ElementType ¶
func (IndexOutput) ElementType() reflect.Type
func (IndexOutput) Tags ¶
func (o IndexOutput) Tags() pulumi.StringMapOutput
Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (IndexOutput) TagsAll
deprecated
func (o IndexOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (IndexOutput) Timeouts ¶
func (o IndexOutput) Timeouts() IndexTimeoutsPtrOutput
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() pulumi.StringOutput
The type of the index. Valid values: `AGGREGATOR`, `LOCAL`. To understand the difference between `LOCAL` and `AGGREGATOR`, see the [_AWS Resource Explorer User Guide_](https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-aggregator-region.html).
type IndexState ¶
type IndexState struct { // Amazon Resource Name (ARN) of the Resource Explorer index. Arn pulumi.StringPtrInput // Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput Timeouts IndexTimeoutsPtrInput // The type of the index. Valid values: `AGGREGATOR`, `LOCAL`. To understand the difference between `LOCAL` and `AGGREGATOR`, see the [_AWS Resource Explorer User Guide_](https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-aggregator-region.html). Type pulumi.StringPtrInput }
func (IndexState) ElementType ¶
func (IndexState) ElementType() reflect.Type
type IndexTimeouts ¶
type IndexTimeouts struct { // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Create *string `pulumi:"create"` // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs. Delete *string `pulumi:"delete"` // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Update *string `pulumi:"update"` }
type IndexTimeoutsArgs ¶
type IndexTimeoutsArgs struct { // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Create pulumi.StringPtrInput `pulumi:"create"` // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs. Delete pulumi.StringPtrInput `pulumi:"delete"` // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Update pulumi.StringPtrInput `pulumi:"update"` }
func (IndexTimeoutsArgs) ElementType ¶
func (IndexTimeoutsArgs) ElementType() reflect.Type
func (IndexTimeoutsArgs) ToIndexTimeoutsOutput ¶
func (i IndexTimeoutsArgs) ToIndexTimeoutsOutput() IndexTimeoutsOutput
func (IndexTimeoutsArgs) ToIndexTimeoutsOutputWithContext ¶
func (i IndexTimeoutsArgs) ToIndexTimeoutsOutputWithContext(ctx context.Context) IndexTimeoutsOutput
func (IndexTimeoutsArgs) ToIndexTimeoutsPtrOutput ¶
func (i IndexTimeoutsArgs) ToIndexTimeoutsPtrOutput() IndexTimeoutsPtrOutput
func (IndexTimeoutsArgs) ToIndexTimeoutsPtrOutputWithContext ¶
func (i IndexTimeoutsArgs) ToIndexTimeoutsPtrOutputWithContext(ctx context.Context) IndexTimeoutsPtrOutput
type IndexTimeoutsInput ¶
type IndexTimeoutsInput interface { pulumi.Input ToIndexTimeoutsOutput() IndexTimeoutsOutput ToIndexTimeoutsOutputWithContext(context.Context) IndexTimeoutsOutput }
IndexTimeoutsInput is an input type that accepts IndexTimeoutsArgs and IndexTimeoutsOutput values. You can construct a concrete instance of `IndexTimeoutsInput` via:
IndexTimeoutsArgs{...}
type IndexTimeoutsOutput ¶
type IndexTimeoutsOutput struct{ *pulumi.OutputState }
func (IndexTimeoutsOutput) Create ¶
func (o IndexTimeoutsOutput) Create() pulumi.StringPtrOutput
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
func (IndexTimeoutsOutput) Delete ¶
func (o IndexTimeoutsOutput) Delete() pulumi.StringPtrOutput
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
func (IndexTimeoutsOutput) ElementType ¶
func (IndexTimeoutsOutput) ElementType() reflect.Type
func (IndexTimeoutsOutput) ToIndexTimeoutsOutput ¶
func (o IndexTimeoutsOutput) ToIndexTimeoutsOutput() IndexTimeoutsOutput
func (IndexTimeoutsOutput) ToIndexTimeoutsOutputWithContext ¶
func (o IndexTimeoutsOutput) ToIndexTimeoutsOutputWithContext(ctx context.Context) IndexTimeoutsOutput
func (IndexTimeoutsOutput) ToIndexTimeoutsPtrOutput ¶
func (o IndexTimeoutsOutput) ToIndexTimeoutsPtrOutput() IndexTimeoutsPtrOutput
func (IndexTimeoutsOutput) ToIndexTimeoutsPtrOutputWithContext ¶
func (o IndexTimeoutsOutput) ToIndexTimeoutsPtrOutputWithContext(ctx context.Context) IndexTimeoutsPtrOutput
func (IndexTimeoutsOutput) Update ¶
func (o IndexTimeoutsOutput) Update() pulumi.StringPtrOutput
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
type IndexTimeoutsPtrInput ¶
type IndexTimeoutsPtrInput interface { pulumi.Input ToIndexTimeoutsPtrOutput() IndexTimeoutsPtrOutput ToIndexTimeoutsPtrOutputWithContext(context.Context) IndexTimeoutsPtrOutput }
IndexTimeoutsPtrInput is an input type that accepts IndexTimeoutsArgs, IndexTimeoutsPtr and IndexTimeoutsPtrOutput values. You can construct a concrete instance of `IndexTimeoutsPtrInput` via:
IndexTimeoutsArgs{...} or: nil
func IndexTimeoutsPtr ¶
func IndexTimeoutsPtr(v *IndexTimeoutsArgs) IndexTimeoutsPtrInput
type IndexTimeoutsPtrOutput ¶
type IndexTimeoutsPtrOutput struct{ *pulumi.OutputState }
func (IndexTimeoutsPtrOutput) Create ¶
func (o IndexTimeoutsPtrOutput) Create() pulumi.StringPtrOutput
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
func (IndexTimeoutsPtrOutput) Delete ¶
func (o IndexTimeoutsPtrOutput) Delete() pulumi.StringPtrOutput
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
func (IndexTimeoutsPtrOutput) Elem ¶
func (o IndexTimeoutsPtrOutput) Elem() IndexTimeoutsOutput
func (IndexTimeoutsPtrOutput) ElementType ¶
func (IndexTimeoutsPtrOutput) ElementType() reflect.Type
func (IndexTimeoutsPtrOutput) ToIndexTimeoutsPtrOutput ¶
func (o IndexTimeoutsPtrOutput) ToIndexTimeoutsPtrOutput() IndexTimeoutsPtrOutput
func (IndexTimeoutsPtrOutput) ToIndexTimeoutsPtrOutputWithContext ¶
func (o IndexTimeoutsPtrOutput) ToIndexTimeoutsPtrOutputWithContext(ctx context.Context) IndexTimeoutsPtrOutput
func (IndexTimeoutsPtrOutput) Update ¶
func (o IndexTimeoutsPtrOutput) Update() pulumi.StringPtrOutput
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
type View ¶
type View struct { pulumi.CustomResourceState // Amazon Resource Name (ARN) of the Resource Explorer view. Arn pulumi.StringOutput `pulumi:"arn"` // Specifies whether the view is the [_default view_](https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-views-about.html#manage-views-about-default) for the AWS Region. Default: `false`. DefaultView pulumi.BoolOutput `pulumi:"defaultView"` // Specifies which resources are included in the results of queries made using this view. See Filters below for more details. Filters ViewFiltersPtrOutput `pulumi:"filters"` // Optional fields to be included in search results from this view. See Included Properties below for more details. IncludedProperties ViewIncludedPropertyArrayOutput `pulumi:"includedProperties"` // The name of the view. The name must be no more than 64 characters long, and can include letters, digits, and the dash (-) character. The name must be unique within its AWS Region. Name pulumi.StringOutput `pulumi:"name"` // Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides a resource to manage a Resource Explorer view.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/resourceexplorer" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := resourceexplorer.NewIndex(ctx, "example", &resourceexplorer.IndexArgs{ Type: pulumi.String("LOCAL"), }) if err != nil { return err } _, err = resourceexplorer.NewView(ctx, "example", &resourceexplorer.ViewArgs{ Name: pulumi.String("exampleview"), Filters: &resourceexplorer.ViewFiltersArgs{ FilterString: pulumi.String("resourcetype:ec2:instance"), }, IncludedProperties: resourceexplorer.ViewIncludedPropertyArray{ &resourceexplorer.ViewIncludedPropertyArgs{ Name: pulumi.String("tags"), }, }, }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Resource Explorer views using the `arn`. For example:
```sh
$ pulumi import aws:resourceexplorer/view:View example arn:aws:resource-explorer-2:us-west-2:123456789012:view/exampleview/e0914f6c-6c27-4b47-b5d4-6b28381a2421
```
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) ToViewOutput ¶
func (i *View) ToViewOutput() ViewOutput
func (*View) ToViewOutputWithContext ¶
func (i *View) ToViewOutputWithContext(ctx context.Context) ViewOutput
type ViewArgs ¶
type ViewArgs struct { // Specifies whether the view is the [_default view_](https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-views-about.html#manage-views-about-default) for the AWS Region. Default: `false`. DefaultView pulumi.BoolPtrInput // Specifies which resources are included in the results of queries made using this view. See Filters below for more details. Filters ViewFiltersPtrInput // Optional fields to be included in search results from this view. See Included Properties below for more details. IncludedProperties ViewIncludedPropertyArrayInput // The name of the view. The name must be no more than 64 characters long, and can include letters, digits, and the dash (-) character. The name must be unique within its AWS Region. Name pulumi.StringPtrInput // Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a View resource.
func (ViewArgs) ElementType ¶
type ViewArray ¶
type ViewArray []ViewInput
func (ViewArray) ElementType ¶
func (ViewArray) ToViewArrayOutput ¶
func (i ViewArray) ToViewArrayOutput() ViewArrayOutput
func (ViewArray) ToViewArrayOutputWithContext ¶
func (i ViewArray) ToViewArrayOutputWithContext(ctx context.Context) ViewArrayOutput
type ViewArrayInput ¶
type ViewArrayInput interface { pulumi.Input ToViewArrayOutput() ViewArrayOutput ToViewArrayOutputWithContext(context.Context) ViewArrayOutput }
ViewArrayInput is an input type that accepts ViewArray and ViewArrayOutput values. You can construct a concrete instance of `ViewArrayInput` via:
ViewArray{ ViewArgs{...} }
type ViewArrayOutput ¶
type ViewArrayOutput struct{ *pulumi.OutputState }
func (ViewArrayOutput) ElementType ¶
func (ViewArrayOutput) ElementType() reflect.Type
func (ViewArrayOutput) Index ¶
func (o ViewArrayOutput) Index(i pulumi.IntInput) ViewOutput
func (ViewArrayOutput) ToViewArrayOutput ¶
func (o ViewArrayOutput) ToViewArrayOutput() ViewArrayOutput
func (ViewArrayOutput) ToViewArrayOutputWithContext ¶
func (o ViewArrayOutput) ToViewArrayOutputWithContext(ctx context.Context) ViewArrayOutput
type ViewFilters ¶
type ViewFilters struct { // The string that contains the search keywords, prefixes, and operators to control the results that can be returned by a search operation. For more details, see [Search query syntax](https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html). FilterString string `pulumi:"filterString"` }
type ViewFiltersArgs ¶
type ViewFiltersArgs struct { // The string that contains the search keywords, prefixes, and operators to control the results that can be returned by a search operation. For more details, see [Search query syntax](https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html). FilterString pulumi.StringInput `pulumi:"filterString"` }
func (ViewFiltersArgs) ElementType ¶
func (ViewFiltersArgs) ElementType() reflect.Type
func (ViewFiltersArgs) ToViewFiltersOutput ¶
func (i ViewFiltersArgs) ToViewFiltersOutput() ViewFiltersOutput
func (ViewFiltersArgs) ToViewFiltersOutputWithContext ¶
func (i ViewFiltersArgs) ToViewFiltersOutputWithContext(ctx context.Context) ViewFiltersOutput
func (ViewFiltersArgs) ToViewFiltersPtrOutput ¶
func (i ViewFiltersArgs) ToViewFiltersPtrOutput() ViewFiltersPtrOutput
func (ViewFiltersArgs) ToViewFiltersPtrOutputWithContext ¶
func (i ViewFiltersArgs) ToViewFiltersPtrOutputWithContext(ctx context.Context) ViewFiltersPtrOutput
type ViewFiltersInput ¶
type ViewFiltersInput interface { pulumi.Input ToViewFiltersOutput() ViewFiltersOutput ToViewFiltersOutputWithContext(context.Context) ViewFiltersOutput }
ViewFiltersInput is an input type that accepts ViewFiltersArgs and ViewFiltersOutput values. You can construct a concrete instance of `ViewFiltersInput` via:
ViewFiltersArgs{...}
type ViewFiltersOutput ¶
type ViewFiltersOutput struct{ *pulumi.OutputState }
func (ViewFiltersOutput) ElementType ¶
func (ViewFiltersOutput) ElementType() reflect.Type
func (ViewFiltersOutput) FilterString ¶
func (o ViewFiltersOutput) 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 more details, see [Search query syntax](https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html).
func (ViewFiltersOutput) ToViewFiltersOutput ¶
func (o ViewFiltersOutput) ToViewFiltersOutput() ViewFiltersOutput
func (ViewFiltersOutput) ToViewFiltersOutputWithContext ¶
func (o ViewFiltersOutput) ToViewFiltersOutputWithContext(ctx context.Context) ViewFiltersOutput
func (ViewFiltersOutput) ToViewFiltersPtrOutput ¶
func (o ViewFiltersOutput) ToViewFiltersPtrOutput() ViewFiltersPtrOutput
func (ViewFiltersOutput) ToViewFiltersPtrOutputWithContext ¶
func (o ViewFiltersOutput) ToViewFiltersPtrOutputWithContext(ctx context.Context) ViewFiltersPtrOutput
type ViewFiltersPtrInput ¶
type ViewFiltersPtrInput interface { pulumi.Input ToViewFiltersPtrOutput() ViewFiltersPtrOutput ToViewFiltersPtrOutputWithContext(context.Context) ViewFiltersPtrOutput }
ViewFiltersPtrInput is an input type that accepts ViewFiltersArgs, ViewFiltersPtr and ViewFiltersPtrOutput values. You can construct a concrete instance of `ViewFiltersPtrInput` via:
ViewFiltersArgs{...} or: nil
func ViewFiltersPtr ¶
func ViewFiltersPtr(v *ViewFiltersArgs) ViewFiltersPtrInput
type ViewFiltersPtrOutput ¶
type ViewFiltersPtrOutput struct{ *pulumi.OutputState }
func (ViewFiltersPtrOutput) Elem ¶
func (o ViewFiltersPtrOutput) Elem() ViewFiltersOutput
func (ViewFiltersPtrOutput) ElementType ¶
func (ViewFiltersPtrOutput) ElementType() reflect.Type
func (ViewFiltersPtrOutput) FilterString ¶
func (o ViewFiltersPtrOutput) FilterString() pulumi.StringPtrOutput
The string that contains the search keywords, prefixes, and operators to control the results that can be returned by a search operation. For more details, see [Search query syntax](https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html).
func (ViewFiltersPtrOutput) ToViewFiltersPtrOutput ¶
func (o ViewFiltersPtrOutput) ToViewFiltersPtrOutput() ViewFiltersPtrOutput
func (ViewFiltersPtrOutput) ToViewFiltersPtrOutputWithContext ¶
func (o ViewFiltersPtrOutput) ToViewFiltersPtrOutputWithContext(ctx context.Context) ViewFiltersPtrOutput
type ViewIncludedProperty ¶
type ViewIncludedProperty struct { // The name of the property that is included in this view. Valid values: `tags`. Name string `pulumi:"name"` }
type ViewIncludedPropertyArgs ¶
type ViewIncludedPropertyArgs struct { // The name of the property that is included in this view. Valid values: `tags`. 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) ElementType() reflect.Type
func (ViewIncludedPropertyArrayOutput) Index ¶
func (o ViewIncludedPropertyArrayOutput) Index(i pulumi.IntInput) ViewIncludedPropertyOutput
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 ¶
func (o ViewIncludedPropertyOutput) Name() pulumi.StringOutput
The name of the property that is included in this view. Valid values: `tags`.
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 ViewMap ¶
func (ViewMap) ElementType ¶
func (ViewMap) ToViewMapOutput ¶
func (i ViewMap) ToViewMapOutput() ViewMapOutput
func (ViewMap) ToViewMapOutputWithContext ¶
func (i ViewMap) ToViewMapOutputWithContext(ctx context.Context) ViewMapOutput
type ViewMapInput ¶
type ViewMapInput interface { pulumi.Input ToViewMapOutput() ViewMapOutput ToViewMapOutputWithContext(context.Context) ViewMapOutput }
ViewMapInput is an input type that accepts ViewMap and ViewMapOutput values. You can construct a concrete instance of `ViewMapInput` via:
ViewMap{ "key": ViewArgs{...} }
type ViewMapOutput ¶
type ViewMapOutput struct{ *pulumi.OutputState }
func (ViewMapOutput) ElementType ¶
func (ViewMapOutput) ElementType() reflect.Type
func (ViewMapOutput) MapIndex ¶
func (o ViewMapOutput) MapIndex(k pulumi.StringInput) ViewOutput
func (ViewMapOutput) ToViewMapOutput ¶
func (o ViewMapOutput) ToViewMapOutput() ViewMapOutput
func (ViewMapOutput) ToViewMapOutputWithContext ¶
func (o ViewMapOutput) ToViewMapOutputWithContext(ctx context.Context) ViewMapOutput
type ViewOutput ¶
type ViewOutput struct{ *pulumi.OutputState }
func (ViewOutput) Arn ¶
func (o ViewOutput) Arn() pulumi.StringOutput
Amazon Resource Name (ARN) of the Resource Explorer view.
func (ViewOutput) DefaultView ¶
func (o ViewOutput) DefaultView() pulumi.BoolOutput
Specifies whether the view is the [_default view_](https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-views-about.html#manage-views-about-default) for the AWS Region. Default: `false`.
func (ViewOutput) ElementType ¶
func (ViewOutput) ElementType() reflect.Type
func (ViewOutput) Filters ¶
func (o ViewOutput) Filters() ViewFiltersPtrOutput
Specifies which resources are included in the results of queries made using this view. See Filters below for more details.
func (ViewOutput) IncludedProperties ¶
func (o ViewOutput) IncludedProperties() ViewIncludedPropertyArrayOutput
Optional fields to be included in search results from this view. See Included Properties below for more details.
func (ViewOutput) Name ¶
func (o ViewOutput) Name() pulumi.StringOutput
The name of the view. The name must be no more than 64 characters long, and can include letters, digits, and the dash (-) character. The name must be unique within its AWS Region.
func (ViewOutput) Tags ¶
func (o ViewOutput) Tags() pulumi.StringMapOutput
Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (ViewOutput) TagsAll
deprecated
func (o ViewOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (ViewOutput) ToViewOutput ¶
func (o ViewOutput) ToViewOutput() ViewOutput
func (ViewOutput) ToViewOutputWithContext ¶
func (o ViewOutput) ToViewOutputWithContext(ctx context.Context) ViewOutput
type ViewState ¶
type ViewState struct { // Amazon Resource Name (ARN) of the Resource Explorer view. Arn pulumi.StringPtrInput // Specifies whether the view is the [_default view_](https://docs.aws.amazon.com/resource-explorer/latest/userguide/manage-views-about.html#manage-views-about-default) for the AWS Region. Default: `false`. DefaultView pulumi.BoolPtrInput // Specifies which resources are included in the results of queries made using this view. See Filters below for more details. Filters ViewFiltersPtrInput // Optional fields to be included in search results from this view. See Included Properties below for more details. IncludedProperties ViewIncludedPropertyArrayInput // The name of the view. The name must be no more than 64 characters long, and can include letters, digits, and the dash (-) character. The name must be unique within its AWS Region. Name pulumi.StringPtrInput // Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput }