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 SearchArgs
- type SearchOutputArgs
- type SearchResource
- type SearchResourceArgs
- type SearchResourceArray
- type SearchResourceArrayInput
- type SearchResourceArrayOutput
- func (SearchResourceArrayOutput) ElementType() reflect.Type
- func (o SearchResourceArrayOutput) Index(i pulumi.IntInput) SearchResourceOutput
- func (o SearchResourceArrayOutput) ToSearchResourceArrayOutput() SearchResourceArrayOutput
- func (o SearchResourceArrayOutput) ToSearchResourceArrayOutputWithContext(ctx context.Context) SearchResourceArrayOutput
- type SearchResourceCount
- type SearchResourceCountArgs
- type SearchResourceCountArray
- type SearchResourceCountArrayInput
- type SearchResourceCountArrayOutput
- func (SearchResourceCountArrayOutput) ElementType() reflect.Type
- func (o SearchResourceCountArrayOutput) Index(i pulumi.IntInput) SearchResourceCountOutput
- func (o SearchResourceCountArrayOutput) ToSearchResourceCountArrayOutput() SearchResourceCountArrayOutput
- func (o SearchResourceCountArrayOutput) ToSearchResourceCountArrayOutputWithContext(ctx context.Context) SearchResourceCountArrayOutput
- type SearchResourceCountInput
- type SearchResourceCountOutput
- func (o SearchResourceCountOutput) Complete() pulumi.BoolOutput
- func (SearchResourceCountOutput) ElementType() reflect.Type
- func (o SearchResourceCountOutput) ToSearchResourceCountOutput() SearchResourceCountOutput
- func (o SearchResourceCountOutput) ToSearchResourceCountOutputWithContext(ctx context.Context) SearchResourceCountOutput
- func (o SearchResourceCountOutput) TotalResources() pulumi.IntOutput
- type SearchResourceInput
- type SearchResourceOutput
- func (o SearchResourceOutput) Arn() pulumi.StringOutput
- func (SearchResourceOutput) ElementType() reflect.Type
- func (o SearchResourceOutput) LastReportedAt() pulumi.StringOutput
- func (o SearchResourceOutput) OwningAccountId() pulumi.StringOutput
- func (o SearchResourceOutput) Properties() SearchResourcePropertyArrayOutput
- func (o SearchResourceOutput) Region() pulumi.StringOutput
- func (o SearchResourceOutput) ResourceType() pulumi.StringOutput
- func (o SearchResourceOutput) Service() pulumi.StringOutput
- func (o SearchResourceOutput) ToSearchResourceOutput() SearchResourceOutput
- func (o SearchResourceOutput) ToSearchResourceOutputWithContext(ctx context.Context) SearchResourceOutput
- type SearchResourceProperty
- type SearchResourcePropertyArgs
- type SearchResourcePropertyArray
- func (SearchResourcePropertyArray) ElementType() reflect.Type
- func (i SearchResourcePropertyArray) ToSearchResourcePropertyArrayOutput() SearchResourcePropertyArrayOutput
- func (i SearchResourcePropertyArray) ToSearchResourcePropertyArrayOutputWithContext(ctx context.Context) SearchResourcePropertyArrayOutput
- type SearchResourcePropertyArrayInput
- type SearchResourcePropertyArrayOutput
- func (SearchResourcePropertyArrayOutput) ElementType() reflect.Type
- func (o SearchResourcePropertyArrayOutput) Index(i pulumi.IntInput) SearchResourcePropertyOutput
- func (o SearchResourcePropertyArrayOutput) ToSearchResourcePropertyArrayOutput() SearchResourcePropertyArrayOutput
- func (o SearchResourcePropertyArrayOutput) ToSearchResourcePropertyArrayOutputWithContext(ctx context.Context) SearchResourcePropertyArrayOutput
- type SearchResourcePropertyInput
- type SearchResourcePropertyOutput
- func (o SearchResourcePropertyOutput) Data() pulumi.StringOutput
- func (SearchResourcePropertyOutput) ElementType() reflect.Type
- func (o SearchResourcePropertyOutput) LastReportedAt() pulumi.StringOutput
- func (o SearchResourcePropertyOutput) Name() pulumi.StringOutput
- func (o SearchResourcePropertyOutput) ToSearchResourcePropertyOutput() SearchResourcePropertyOutput
- func (o SearchResourcePropertyOutput) ToSearchResourcePropertyOutputWithContext(ctx context.Context) SearchResourcePropertyOutput
- type SearchResult
- type SearchResultOutput
- func (SearchResultOutput) ElementType() reflect.Type
- func (o SearchResultOutput) Id() pulumi.StringOutput
- func (o SearchResultOutput) QueryString() pulumi.StringOutput
- func (o SearchResultOutput) ResourceCounts() SearchResourceCountArrayOutput
- func (o SearchResultOutput) Resources() SearchResourceArrayOutput
- func (o SearchResultOutput) ToSearchResultOutput() SearchResultOutput
- func (o SearchResultOutput) ToSearchResultOutputWithContext(ctx context.Context) SearchResultOutput
- func (o SearchResultOutput) ViewArn() pulumi.StringOutput
- 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) Scope() 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 SearchArgs ¶ added in v6.29.0
type SearchArgs struct { // String that includes keywords and filters that specify the resources that you want to include in the results. For the complete syntax supported by the QueryString parameter, see Search query syntax reference for [Resource Explorer](https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html). The search is completely case insensitive. You can specify an empty string to return all results up to the limit of 1,000 total results. The operation can return only the first 1,000 results. If the resource you want is not included, then use a different value for QueryString to refine the results. // // The following arguments are optional: QueryString string `pulumi:"queryString"` // Specifies the Amazon resource name (ARN) of the view to use for the query. If you don't specify a value for this parameter, then the operation automatically uses the default view for the AWS Region in which you called this operation. If the Region either doesn't have a default view or if you don't have permission to use the default view, then the operation fails with a `401 Unauthorized` exception. ViewArn *string `pulumi:"viewArn"` }
A collection of arguments for invoking Search.
type SearchOutputArgs ¶ added in v6.29.0
type SearchOutputArgs struct { // String that includes keywords and filters that specify the resources that you want to include in the results. For the complete syntax supported by the QueryString parameter, see Search query syntax reference for [Resource Explorer](https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html). The search is completely case insensitive. You can specify an empty string to return all results up to the limit of 1,000 total results. The operation can return only the first 1,000 results. If the resource you want is not included, then use a different value for QueryString to refine the results. // // The following arguments are optional: QueryString pulumi.StringInput `pulumi:"queryString"` // Specifies the Amazon resource name (ARN) of the view to use for the query. If you don't specify a value for this parameter, then the operation automatically uses the default view for the AWS Region in which you called this operation. If the Region either doesn't have a default view or if you don't have permission to use the default view, then the operation fails with a `401 Unauthorized` exception. ViewArn pulumi.StringPtrInput `pulumi:"viewArn"` }
A collection of arguments for invoking Search.
func (SearchOutputArgs) ElementType ¶ added in v6.29.0
func (SearchOutputArgs) ElementType() reflect.Type
type SearchResource ¶ added in v6.29.0
type SearchResource struct { // Amazon resource name of resource. Arn string `pulumi:"arn"` // The date and time that the information about this resource property was last updated. LastReportedAt string `pulumi:"lastReportedAt"` // Amazon Web Services account that owns the resource. OwningAccountId string `pulumi:"owningAccountId"` // Structure with additional type-specific details about the resource. See `properties` below. Properties []SearchResourceProperty `pulumi:"properties"` // Amazon Web Services Region in which the resource was created and exists. Region string `pulumi:"region"` // Type of the resource. ResourceType string `pulumi:"resourceType"` // Amazon Web Service that owns the resource and is responsible for creating and updating it. Service string `pulumi:"service"` }
type SearchResourceArgs ¶ added in v6.29.0
type SearchResourceArgs struct { // Amazon resource name of resource. Arn pulumi.StringInput `pulumi:"arn"` // The date and time that the information about this resource property was last updated. LastReportedAt pulumi.StringInput `pulumi:"lastReportedAt"` // Amazon Web Services account that owns the resource. OwningAccountId pulumi.StringInput `pulumi:"owningAccountId"` // Structure with additional type-specific details about the resource. See `properties` below. Properties SearchResourcePropertyArrayInput `pulumi:"properties"` // Amazon Web Services Region in which the resource was created and exists. Region pulumi.StringInput `pulumi:"region"` // Type of the resource. ResourceType pulumi.StringInput `pulumi:"resourceType"` // Amazon Web Service that owns the resource and is responsible for creating and updating it. Service pulumi.StringInput `pulumi:"service"` }
func (SearchResourceArgs) ElementType ¶ added in v6.29.0
func (SearchResourceArgs) ElementType() reflect.Type
func (SearchResourceArgs) ToSearchResourceOutput ¶ added in v6.29.0
func (i SearchResourceArgs) ToSearchResourceOutput() SearchResourceOutput
func (SearchResourceArgs) ToSearchResourceOutputWithContext ¶ added in v6.29.0
func (i SearchResourceArgs) ToSearchResourceOutputWithContext(ctx context.Context) SearchResourceOutput
type SearchResourceArray ¶ added in v6.29.0
type SearchResourceArray []SearchResourceInput
func (SearchResourceArray) ElementType ¶ added in v6.29.0
func (SearchResourceArray) ElementType() reflect.Type
func (SearchResourceArray) ToSearchResourceArrayOutput ¶ added in v6.29.0
func (i SearchResourceArray) ToSearchResourceArrayOutput() SearchResourceArrayOutput
func (SearchResourceArray) ToSearchResourceArrayOutputWithContext ¶ added in v6.29.0
func (i SearchResourceArray) ToSearchResourceArrayOutputWithContext(ctx context.Context) SearchResourceArrayOutput
type SearchResourceArrayInput ¶ added in v6.29.0
type SearchResourceArrayInput interface { pulumi.Input ToSearchResourceArrayOutput() SearchResourceArrayOutput ToSearchResourceArrayOutputWithContext(context.Context) SearchResourceArrayOutput }
SearchResourceArrayInput is an input type that accepts SearchResourceArray and SearchResourceArrayOutput values. You can construct a concrete instance of `SearchResourceArrayInput` via:
SearchResourceArray{ SearchResourceArgs{...} }
type SearchResourceArrayOutput ¶ added in v6.29.0
type SearchResourceArrayOutput struct{ *pulumi.OutputState }
func (SearchResourceArrayOutput) ElementType ¶ added in v6.29.0
func (SearchResourceArrayOutput) ElementType() reflect.Type
func (SearchResourceArrayOutput) Index ¶ added in v6.29.0
func (o SearchResourceArrayOutput) Index(i pulumi.IntInput) SearchResourceOutput
func (SearchResourceArrayOutput) ToSearchResourceArrayOutput ¶ added in v6.29.0
func (o SearchResourceArrayOutput) ToSearchResourceArrayOutput() SearchResourceArrayOutput
func (SearchResourceArrayOutput) ToSearchResourceArrayOutputWithContext ¶ added in v6.29.0
func (o SearchResourceArrayOutput) ToSearchResourceArrayOutputWithContext(ctx context.Context) SearchResourceArrayOutput
type SearchResourceCount ¶ added in v6.29.0
type SearchResourceCount struct { // Indicates whether the TotalResources value represents an exhaustive count of search results. If True, it indicates that the search was exhaustive. Every resource that matches the query was counted. If False, then the search reached the limit of 1,000 matching results, and stopped counting. Complete bool `pulumi:"complete"` // Number of resources that match the search query. This value can't exceed 1,000. If there are more than 1,000 resources that match the query, then only 1,000 are counted and the Complete field is set to false. We recommend that you refine your query to return a smaller number of results. TotalResources int `pulumi:"totalResources"` }
type SearchResourceCountArgs ¶ added in v6.29.0
type SearchResourceCountArgs struct { // Indicates whether the TotalResources value represents an exhaustive count of search results. If True, it indicates that the search was exhaustive. Every resource that matches the query was counted. If False, then the search reached the limit of 1,000 matching results, and stopped counting. Complete pulumi.BoolInput `pulumi:"complete"` // Number of resources that match the search query. This value can't exceed 1,000. If there are more than 1,000 resources that match the query, then only 1,000 are counted and the Complete field is set to false. We recommend that you refine your query to return a smaller number of results. TotalResources pulumi.IntInput `pulumi:"totalResources"` }
func (SearchResourceCountArgs) ElementType ¶ added in v6.29.0
func (SearchResourceCountArgs) ElementType() reflect.Type
func (SearchResourceCountArgs) ToSearchResourceCountOutput ¶ added in v6.29.0
func (i SearchResourceCountArgs) ToSearchResourceCountOutput() SearchResourceCountOutput
func (SearchResourceCountArgs) ToSearchResourceCountOutputWithContext ¶ added in v6.29.0
func (i SearchResourceCountArgs) ToSearchResourceCountOutputWithContext(ctx context.Context) SearchResourceCountOutput
type SearchResourceCountArray ¶ added in v6.29.0
type SearchResourceCountArray []SearchResourceCountInput
func (SearchResourceCountArray) ElementType ¶ added in v6.29.0
func (SearchResourceCountArray) ElementType() reflect.Type
func (SearchResourceCountArray) ToSearchResourceCountArrayOutput ¶ added in v6.29.0
func (i SearchResourceCountArray) ToSearchResourceCountArrayOutput() SearchResourceCountArrayOutput
func (SearchResourceCountArray) ToSearchResourceCountArrayOutputWithContext ¶ added in v6.29.0
func (i SearchResourceCountArray) ToSearchResourceCountArrayOutputWithContext(ctx context.Context) SearchResourceCountArrayOutput
type SearchResourceCountArrayInput ¶ added in v6.29.0
type SearchResourceCountArrayInput interface { pulumi.Input ToSearchResourceCountArrayOutput() SearchResourceCountArrayOutput ToSearchResourceCountArrayOutputWithContext(context.Context) SearchResourceCountArrayOutput }
SearchResourceCountArrayInput is an input type that accepts SearchResourceCountArray and SearchResourceCountArrayOutput values. You can construct a concrete instance of `SearchResourceCountArrayInput` via:
SearchResourceCountArray{ SearchResourceCountArgs{...} }
type SearchResourceCountArrayOutput ¶ added in v6.29.0
type SearchResourceCountArrayOutput struct{ *pulumi.OutputState }
func (SearchResourceCountArrayOutput) ElementType ¶ added in v6.29.0
func (SearchResourceCountArrayOutput) ElementType() reflect.Type
func (SearchResourceCountArrayOutput) Index ¶ added in v6.29.0
func (o SearchResourceCountArrayOutput) Index(i pulumi.IntInput) SearchResourceCountOutput
func (SearchResourceCountArrayOutput) ToSearchResourceCountArrayOutput ¶ added in v6.29.0
func (o SearchResourceCountArrayOutput) ToSearchResourceCountArrayOutput() SearchResourceCountArrayOutput
func (SearchResourceCountArrayOutput) ToSearchResourceCountArrayOutputWithContext ¶ added in v6.29.0
func (o SearchResourceCountArrayOutput) ToSearchResourceCountArrayOutputWithContext(ctx context.Context) SearchResourceCountArrayOutput
type SearchResourceCountInput ¶ added in v6.29.0
type SearchResourceCountInput interface { pulumi.Input ToSearchResourceCountOutput() SearchResourceCountOutput ToSearchResourceCountOutputWithContext(context.Context) SearchResourceCountOutput }
SearchResourceCountInput is an input type that accepts SearchResourceCountArgs and SearchResourceCountOutput values. You can construct a concrete instance of `SearchResourceCountInput` via:
SearchResourceCountArgs{...}
type SearchResourceCountOutput ¶ added in v6.29.0
type SearchResourceCountOutput struct{ *pulumi.OutputState }
func (SearchResourceCountOutput) Complete ¶ added in v6.36.0
func (o SearchResourceCountOutput) Complete() pulumi.BoolOutput
Indicates whether the TotalResources value represents an exhaustive count of search results. If True, it indicates that the search was exhaustive. Every resource that matches the query was counted. If False, then the search reached the limit of 1,000 matching results, and stopped counting.
func (SearchResourceCountOutput) ElementType ¶ added in v6.29.0
func (SearchResourceCountOutput) ElementType() reflect.Type
func (SearchResourceCountOutput) ToSearchResourceCountOutput ¶ added in v6.29.0
func (o SearchResourceCountOutput) ToSearchResourceCountOutput() SearchResourceCountOutput
func (SearchResourceCountOutput) ToSearchResourceCountOutputWithContext ¶ added in v6.29.0
func (o SearchResourceCountOutput) ToSearchResourceCountOutputWithContext(ctx context.Context) SearchResourceCountOutput
func (SearchResourceCountOutput) TotalResources ¶ added in v6.29.0
func (o SearchResourceCountOutput) TotalResources() pulumi.IntOutput
Number of resources that match the search query. This value can't exceed 1,000. If there are more than 1,000 resources that match the query, then only 1,000 are counted and the Complete field is set to false. We recommend that you refine your query to return a smaller number of results.
type SearchResourceInput ¶ added in v6.29.0
type SearchResourceInput interface { pulumi.Input ToSearchResourceOutput() SearchResourceOutput ToSearchResourceOutputWithContext(context.Context) SearchResourceOutput }
SearchResourceInput is an input type that accepts SearchResourceArgs and SearchResourceOutput values. You can construct a concrete instance of `SearchResourceInput` via:
SearchResourceArgs{...}
type SearchResourceOutput ¶ added in v6.29.0
type SearchResourceOutput struct{ *pulumi.OutputState }
func (SearchResourceOutput) Arn ¶ added in v6.29.0
func (o SearchResourceOutput) Arn() pulumi.StringOutput
Amazon resource name of resource.
func (SearchResourceOutput) ElementType ¶ added in v6.29.0
func (SearchResourceOutput) ElementType() reflect.Type
func (SearchResourceOutput) LastReportedAt ¶ added in v6.29.0
func (o SearchResourceOutput) LastReportedAt() pulumi.StringOutput
The date and time that the information about this resource property was last updated.
func (SearchResourceOutput) OwningAccountId ¶ added in v6.29.0
func (o SearchResourceOutput) OwningAccountId() pulumi.StringOutput
Amazon Web Services account that owns the resource.
func (SearchResourceOutput) Properties ¶ added in v6.36.0
func (o SearchResourceOutput) Properties() SearchResourcePropertyArrayOutput
Structure with additional type-specific details about the resource. See `properties` below.
func (SearchResourceOutput) Region ¶ added in v6.29.0
func (o SearchResourceOutput) Region() pulumi.StringOutput
Amazon Web Services Region in which the resource was created and exists.
func (SearchResourceOutput) ResourceType ¶ added in v6.29.0
func (o SearchResourceOutput) ResourceType() pulumi.StringOutput
Type of the resource.
func (SearchResourceOutput) Service ¶ added in v6.29.0
func (o SearchResourceOutput) Service() pulumi.StringOutput
Amazon Web Service that owns the resource and is responsible for creating and updating it.
func (SearchResourceOutput) ToSearchResourceOutput ¶ added in v6.29.0
func (o SearchResourceOutput) ToSearchResourceOutput() SearchResourceOutput
func (SearchResourceOutput) ToSearchResourceOutputWithContext ¶ added in v6.29.0
func (o SearchResourceOutput) ToSearchResourceOutputWithContext(ctx context.Context) SearchResourceOutput
type SearchResourceProperty ¶ added in v6.43.0
type SearchResourceProperty struct { // Details about this property. The content of this field is a JSON object that varies based on the resource type. Data string `pulumi:"data"` // The date and time that the information about this resource property was last updated. LastReportedAt string `pulumi:"lastReportedAt"` // Name of this property of the resource. Name string `pulumi:"name"` }
type SearchResourcePropertyArgs ¶ added in v6.43.0
type SearchResourcePropertyArgs struct { // Details about this property. The content of this field is a JSON object that varies based on the resource type. Data pulumi.StringInput `pulumi:"data"` // The date and time that the information about this resource property was last updated. LastReportedAt pulumi.StringInput `pulumi:"lastReportedAt"` // Name of this property of the resource. Name pulumi.StringInput `pulumi:"name"` }
func (SearchResourcePropertyArgs) ElementType ¶ added in v6.43.0
func (SearchResourcePropertyArgs) ElementType() reflect.Type
func (SearchResourcePropertyArgs) ToSearchResourcePropertyOutput ¶ added in v6.43.0
func (i SearchResourcePropertyArgs) ToSearchResourcePropertyOutput() SearchResourcePropertyOutput
func (SearchResourcePropertyArgs) ToSearchResourcePropertyOutputWithContext ¶ added in v6.43.0
func (i SearchResourcePropertyArgs) ToSearchResourcePropertyOutputWithContext(ctx context.Context) SearchResourcePropertyOutput
type SearchResourcePropertyArray ¶ added in v6.43.0
type SearchResourcePropertyArray []SearchResourcePropertyInput
func (SearchResourcePropertyArray) ElementType ¶ added in v6.43.0
func (SearchResourcePropertyArray) ElementType() reflect.Type
func (SearchResourcePropertyArray) ToSearchResourcePropertyArrayOutput ¶ added in v6.43.0
func (i SearchResourcePropertyArray) ToSearchResourcePropertyArrayOutput() SearchResourcePropertyArrayOutput
func (SearchResourcePropertyArray) ToSearchResourcePropertyArrayOutputWithContext ¶ added in v6.43.0
func (i SearchResourcePropertyArray) ToSearchResourcePropertyArrayOutputWithContext(ctx context.Context) SearchResourcePropertyArrayOutput
type SearchResourcePropertyArrayInput ¶ added in v6.43.0
type SearchResourcePropertyArrayInput interface { pulumi.Input ToSearchResourcePropertyArrayOutput() SearchResourcePropertyArrayOutput ToSearchResourcePropertyArrayOutputWithContext(context.Context) SearchResourcePropertyArrayOutput }
SearchResourcePropertyArrayInput is an input type that accepts SearchResourcePropertyArray and SearchResourcePropertyArrayOutput values. You can construct a concrete instance of `SearchResourcePropertyArrayInput` via:
SearchResourcePropertyArray{ SearchResourcePropertyArgs{...} }
type SearchResourcePropertyArrayOutput ¶ added in v6.43.0
type SearchResourcePropertyArrayOutput struct{ *pulumi.OutputState }
func (SearchResourcePropertyArrayOutput) ElementType ¶ added in v6.43.0
func (SearchResourcePropertyArrayOutput) ElementType() reflect.Type
func (SearchResourcePropertyArrayOutput) Index ¶ added in v6.43.0
func (o SearchResourcePropertyArrayOutput) Index(i pulumi.IntInput) SearchResourcePropertyOutput
func (SearchResourcePropertyArrayOutput) ToSearchResourcePropertyArrayOutput ¶ added in v6.43.0
func (o SearchResourcePropertyArrayOutput) ToSearchResourcePropertyArrayOutput() SearchResourcePropertyArrayOutput
func (SearchResourcePropertyArrayOutput) ToSearchResourcePropertyArrayOutputWithContext ¶ added in v6.43.0
func (o SearchResourcePropertyArrayOutput) ToSearchResourcePropertyArrayOutputWithContext(ctx context.Context) SearchResourcePropertyArrayOutput
type SearchResourcePropertyInput ¶ added in v6.43.0
type SearchResourcePropertyInput interface { pulumi.Input ToSearchResourcePropertyOutput() SearchResourcePropertyOutput ToSearchResourcePropertyOutputWithContext(context.Context) SearchResourcePropertyOutput }
SearchResourcePropertyInput is an input type that accepts SearchResourcePropertyArgs and SearchResourcePropertyOutput values. You can construct a concrete instance of `SearchResourcePropertyInput` via:
SearchResourcePropertyArgs{...}
type SearchResourcePropertyOutput ¶ added in v6.43.0
type SearchResourcePropertyOutput struct{ *pulumi.OutputState }
func (SearchResourcePropertyOutput) Data ¶ added in v6.43.0
func (o SearchResourcePropertyOutput) Data() pulumi.StringOutput
Details about this property. The content of this field is a JSON object that varies based on the resource type.
func (SearchResourcePropertyOutput) ElementType ¶ added in v6.43.0
func (SearchResourcePropertyOutput) ElementType() reflect.Type
func (SearchResourcePropertyOutput) LastReportedAt ¶ added in v6.43.0
func (o SearchResourcePropertyOutput) LastReportedAt() pulumi.StringOutput
The date and time that the information about this resource property was last updated.
func (SearchResourcePropertyOutput) Name ¶ added in v6.43.0
func (o SearchResourcePropertyOutput) Name() pulumi.StringOutput
Name of this property of the resource.
func (SearchResourcePropertyOutput) ToSearchResourcePropertyOutput ¶ added in v6.43.0
func (o SearchResourcePropertyOutput) ToSearchResourcePropertyOutput() SearchResourcePropertyOutput
func (SearchResourcePropertyOutput) ToSearchResourcePropertyOutputWithContext ¶ added in v6.43.0
func (o SearchResourcePropertyOutput) ToSearchResourcePropertyOutputWithContext(ctx context.Context) SearchResourcePropertyOutput
type SearchResult ¶ added in v6.29.0
type SearchResult struct { // Query String. Id string `pulumi:"id"` QueryString string `pulumi:"queryString"` // Number of resources that match the query. See `resourceCount` below. ResourceCounts []SearchResourceCount `pulumi:"resourceCounts"` // List of structures that describe the resources that match the query. See `resources` below. Resources []SearchResource `pulumi:"resources"` ViewArn string `pulumi:"viewArn"` }
A collection of values returned by Search.
func Search ¶ added in v6.29.0
func Search(ctx *pulumi.Context, args *SearchArgs, opts ...pulumi.InvokeOption) (*SearchResult, error)
Data source for managing an AWS Resource Explorer Search.
## Example Usage
### Basic 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.Search(ctx, &resourceexplorer.SearchArgs{ QueryString: "region:us-west-2", ViewArn: pulumi.StringRef(test.Arn), }, nil) if err != nil { return err } return nil }) }
```
type SearchResultOutput ¶ added in v6.29.0
type SearchResultOutput struct{ *pulumi.OutputState }
A collection of values returned by Search.
func SearchOutput ¶ added in v6.29.0
func SearchOutput(ctx *pulumi.Context, args SearchOutputArgs, opts ...pulumi.InvokeOption) SearchResultOutput
func (SearchResultOutput) ElementType ¶ added in v6.29.0
func (SearchResultOutput) ElementType() reflect.Type
func (SearchResultOutput) Id ¶ added in v6.29.0
func (o SearchResultOutput) Id() pulumi.StringOutput
Query String.
func (SearchResultOutput) QueryString ¶ added in v6.29.0
func (o SearchResultOutput) QueryString() pulumi.StringOutput
func (SearchResultOutput) ResourceCounts ¶ added in v6.29.0
func (o SearchResultOutput) ResourceCounts() SearchResourceCountArrayOutput
Number of resources that match the query. See `resourceCount` below.
func (SearchResultOutput) Resources ¶ added in v6.29.0
func (o SearchResultOutput) Resources() SearchResourceArrayOutput
List of structures that describe the resources that match the query. See `resources` below.
func (SearchResultOutput) ToSearchResultOutput ¶ added in v6.29.0
func (o SearchResultOutput) ToSearchResultOutput() SearchResultOutput
func (SearchResultOutput) ToSearchResultOutputWithContext ¶ added in v6.29.0
func (o SearchResultOutput) ToSearchResultOutputWithContext(ctx context.Context) SearchResultOutput
func (SearchResultOutput) ViewArn ¶ added in v6.29.0
func (o SearchResultOutput) ViewArn() pulumi.StringOutput
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"` // The root ARN of the account, an organizational unit (OU), or an organization ARN. If left empty, the default is account. Scope pulumi.StringOutput `pulumi:"scope"` // 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 { example, 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"), }, }, }, pulumi.DependsOn([]pulumi.Resource{ example, })) 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 // The root ARN of the account, an organizational unit (OU), or an organization ARN. If left empty, the default is account. Scope 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) Scope ¶ added in v6.57.0
func (o ViewOutput) Scope() pulumi.StringOutput
The root ARN of the account, an organizational unit (OU), or an organization ARN. If left empty, the default is account.
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 // The root ARN of the account, an organizational unit (OU), or an organization ARN. If left empty, the default is account. Scope 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 }