Documentation
¶
Index ¶
- type Index
- type IndexArgs
- type IndexArray
- type IndexArrayInput
- type IndexArrayOutput
- func (IndexArrayOutput) ElementType() reflect.Type
- func (o IndexArrayOutput) Index(i pulumi.IntInput) IndexOutput
- func (o IndexArrayOutput) ToIndexArrayOutput() IndexArrayOutput
- func (o IndexArrayOutput) ToIndexArrayOutputWithContext(ctx context.Context) IndexArrayOutput
- func (o IndexArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Index]
- type IndexInput
- type IndexMap
- type IndexMapInput
- type IndexMapOutput
- func (IndexMapOutput) ElementType() reflect.Type
- func (o IndexMapOutput) MapIndex(k pulumi.StringInput) IndexOutput
- func (o IndexMapOutput) ToIndexMapOutput() IndexMapOutput
- func (o IndexMapOutput) ToIndexMapOutputWithContext(ctx context.Context) IndexMapOutput
- func (o IndexMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Index]
- type IndexOutput
- func (o IndexOutput) Arn() pulumi.StringOutput
- func (IndexOutput) ElementType() reflect.Type
- func (o IndexOutput) Tags() pulumi.StringMapOutput
- func (o IndexOutput) TagsAll() pulumi.StringMapOutput
- func (o IndexOutput) Timeouts() IndexTimeoutsPtrOutput
- func (o IndexOutput) ToIndexOutput() IndexOutput
- func (o IndexOutput) ToIndexOutputWithContext(ctx context.Context) IndexOutput
- func (o IndexOutput) ToOutput(ctx context.Context) pulumix.Output[*Index]
- 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
- func (i IndexTimeoutsArgs) ToOutput(ctx context.Context) pulumix.Output[IndexTimeouts]
- 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) ToOutput(ctx context.Context) pulumix.Output[IndexTimeouts]
- 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) ToOutput(ctx context.Context) pulumix.Output[*IndexTimeouts]
- func (o IndexTimeoutsPtrOutput) Update() pulumi.StringPtrOutput
- type View
- type ViewArgs
- type ViewArray
- type ViewArrayInput
- type ViewArrayOutput
- func (ViewArrayOutput) ElementType() reflect.Type
- func (o ViewArrayOutput) Index(i pulumi.IntInput) ViewOutput
- func (o ViewArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*View]
- func (o ViewArrayOutput) ToViewArrayOutput() ViewArrayOutput
- func (o ViewArrayOutput) ToViewArrayOutputWithContext(ctx context.Context) ViewArrayOutput
- type ViewFilters
- type ViewFiltersArgs
- func (ViewFiltersArgs) ElementType() reflect.Type
- func (i ViewFiltersArgs) ToOutput(ctx context.Context) pulumix.Output[ViewFilters]
- 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) ToOutput(ctx context.Context) pulumix.Output[ViewFilters]
- 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) ToOutput(ctx context.Context) pulumix.Output[*ViewFilters]
- func (o ViewFiltersPtrOutput) ToViewFiltersPtrOutput() ViewFiltersPtrOutput
- func (o ViewFiltersPtrOutput) ToViewFiltersPtrOutputWithContext(ctx context.Context) ViewFiltersPtrOutput
- type ViewIncludedProperty
- type ViewIncludedPropertyArgs
- func (ViewIncludedPropertyArgs) ElementType() reflect.Type
- func (i ViewIncludedPropertyArgs) ToOutput(ctx context.Context) pulumix.Output[ViewIncludedProperty]
- func (i ViewIncludedPropertyArgs) ToViewIncludedPropertyOutput() ViewIncludedPropertyOutput
- func (i ViewIncludedPropertyArgs) ToViewIncludedPropertyOutputWithContext(ctx context.Context) ViewIncludedPropertyOutput
- type ViewIncludedPropertyArray
- func (ViewIncludedPropertyArray) ElementType() reflect.Type
- func (i ViewIncludedPropertyArray) ToOutput(ctx context.Context) pulumix.Output[[]ViewIncludedProperty]
- func (i ViewIncludedPropertyArray) ToViewIncludedPropertyArrayOutput() ViewIncludedPropertyArrayOutput
- func (i ViewIncludedPropertyArray) ToViewIncludedPropertyArrayOutputWithContext(ctx context.Context) ViewIncludedPropertyArrayOutput
- type ViewIncludedPropertyArrayInput
- type ViewIncludedPropertyArrayOutput
- func (ViewIncludedPropertyArrayOutput) ElementType() reflect.Type
- func (o ViewIncludedPropertyArrayOutput) Index(i pulumi.IntInput) ViewIncludedPropertyOutput
- func (o ViewIncludedPropertyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ViewIncludedProperty]
- 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) ToOutput(ctx context.Context) pulumix.Output[ViewIncludedProperty]
- func (o ViewIncludedPropertyOutput) ToViewIncludedPropertyOutput() ViewIncludedPropertyOutput
- func (o ViewIncludedPropertyOutput) ToViewIncludedPropertyOutputWithContext(ctx context.Context) ViewIncludedPropertyOutput
- type ViewInput
- type ViewMap
- type ViewMapInput
- type ViewMapOutput
- func (ViewMapOutput) ElementType() reflect.Type
- func (o ViewMapOutput) MapIndex(k pulumi.StringInput) ViewOutput
- func (o ViewMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*View]
- func (o ViewMapOutput) ToViewMapOutput() ViewMapOutput
- func (o ViewMapOutput) ToViewMapOutputWithContext(ctx context.Context) 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.StringMapOutput
- func (o ViewOutput) ToOutput(ctx context.Context) pulumix.Output[*View]
- 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.
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 ¶
func (o IndexOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
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.
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 IndexTimeoutsArgs ¶
type IndexTimeoutsArgs struct {
Create pulumi.StringPtrInput `pulumi:"create"`
Delete pulumi.StringPtrInput `pulumi:"delete"`
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
func (IndexTimeoutsArgs) ToOutput ¶ added in v6.1.0
func (i IndexTimeoutsArgs) ToOutput(ctx context.Context) pulumix.Output[IndexTimeouts]
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
func (IndexTimeoutsOutput) Delete ¶
func (o IndexTimeoutsOutput) Delete() pulumi.StringPtrOutput
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) ToOutput ¶ added in v6.1.0
func (o IndexTimeoutsOutput) ToOutput(ctx context.Context) pulumix.Output[IndexTimeouts]
func (IndexTimeoutsOutput) Update ¶
func (o IndexTimeoutsOutput) Update() pulumi.StringPtrOutput
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
func (IndexTimeoutsPtrOutput) Delete ¶
func (o IndexTimeoutsPtrOutput) Delete() pulumi.StringPtrOutput
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) ToOutput ¶ added in v6.1.0
func (o IndexTimeoutsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*IndexTimeouts]
func (IndexTimeoutsPtrOutput) Update ¶
func (o IndexTimeoutsPtrOutput) Update() pulumi.StringPtrOutput
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.
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 {
exampleIndex, err := resourceexplorer.NewIndex(ctx, "exampleIndex", &resourceexplorer.IndexArgs{
Type: pulumi.String("LOCAL"),
})
if err != nil {
return err
}
_, err = resourceexplorer.NewView(ctx, "exampleView", &resourceexplorer.ViewArgs{
Filters: &resourceexplorer.ViewFiltersArgs{
FilterString: pulumi.String("resourcetype:ec2:instance"),
},
IncludedProperties: resourceexplorer.ViewIncludedPropertyArray{
&resourceexplorer.ViewIncludedPropertyArgs{
Name: pulumi.String("tags"),
},
},
}, pulumi.DependsOn([]pulumi.Resource{
exampleIndex,
}))
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) ToOutput ¶ added in v6.1.0
func (i ViewFiltersArgs) ToOutput(ctx context.Context) pulumix.Output[ViewFilters]
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) ToOutput ¶ added in v6.1.0
func (o ViewFiltersOutput) ToOutput(ctx context.Context) pulumix.Output[ViewFilters]
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) ToOutput ¶ added in v6.1.0
func (o ViewFiltersPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ViewFilters]
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) ToOutput ¶ added in v6.1.0
func (i ViewIncludedPropertyArgs) ToOutput(ctx context.Context) pulumix.Output[ViewIncludedProperty]
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) ToOutput ¶ added in v6.1.0
func (i ViewIncludedPropertyArray) ToOutput(ctx context.Context) pulumix.Output[[]ViewIncludedProperty]
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) ToOutput ¶ added in v6.1.0
func (o ViewIncludedPropertyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ViewIncludedProperty]
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) ToOutput ¶ added in v6.1.0
func (o ViewIncludedPropertyOutput) ToOutput(ctx context.Context) pulumix.Output[ViewIncludedProperty]
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 ¶
func (o ViewOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
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.
TagsAll pulumi.StringMapInput
}