AWS Native is in preview. AWS Classic is fully supported.
aws-native.resourceexplorer2.Index
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
Definition of AWS::ResourceExplorer2::Index Resource Type
Example Usage
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var sampleIndex = new AwsNative.ResourceExplorer2.Index("sampleIndex", new()
{
Type = AwsNative.ResourceExplorer2.IndexType.Aggregator,
Tags =
{
{ "purpose", "ResourceExplorer Sample Stack" },
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/resourceexplorer2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := resourceexplorer2.NewIndex(ctx, "sampleIndex", &resourceexplorer2.IndexArgs{
Type: resourceexplorer2.IndexTypeAggregator,
Tags: pulumi.StringMap{
"purpose": pulumi.String("ResourceExplorer Sample Stack"),
},
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
sample_index = aws_native.resourceexplorer2.Index("sampleIndex",
type=aws_native.resourceexplorer2.IndexType.AGGREGATOR,
tags={
"purpose": "ResourceExplorer Sample Stack",
})
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const sampleIndex = new aws_native.resourceexplorer2.Index("sampleIndex", {
type: aws_native.resourceexplorer2.IndexType.Aggregator,
tags: {
purpose: "ResourceExplorer Sample Stack",
},
});
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var sampleIndex = new AwsNative.ResourceExplorer2.Index("sampleIndex", new()
{
Type = AwsNative.ResourceExplorer2.IndexType.Aggregator,
Tags =
{
{ "purpose", "ResourceExplorer Sample Stack" },
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/resourceexplorer2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := resourceexplorer2.NewIndex(ctx, "sampleIndex", &resourceexplorer2.IndexArgs{
Type: resourceexplorer2.IndexTypeAggregator,
Tags: pulumi.StringMap{
"purpose": pulumi.String("ResourceExplorer Sample Stack"),
},
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
sample_index = aws_native.resourceexplorer2.Index("sampleIndex",
type=aws_native.resourceexplorer2.IndexType.AGGREGATOR,
tags={
"purpose": "ResourceExplorer Sample Stack",
})
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const sampleIndex = new aws_native.resourceexplorer2.Index("sampleIndex", {
type: aws_native.resourceexplorer2.IndexType.Aggregator,
tags: {
purpose: "ResourceExplorer Sample Stack",
},
});
Coming soon!
Create Index Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Index(name: string, args: IndexArgs, opts?: CustomResourceOptions);
@overload
def Index(resource_name: str,
args: IndexArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Index(resource_name: str,
opts: Optional[ResourceOptions] = None,
type: Optional[IndexType] = None,
tags: Optional[Mapping[str, str]] = None)
func NewIndex(ctx *Context, name string, args IndexArgs, opts ...ResourceOption) (*Index, error)
public Index(string name, IndexArgs args, CustomResourceOptions? opts = null)
type: aws-native:resourceexplorer2:Index
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args IndexArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args IndexArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args IndexArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IndexArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IndexArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Example
The following reference example uses placeholder values for all input properties.
Coming soon!
Coming soon!
Coming soon!
Coming soon!
const aws_nativeIndexResource = new aws_native.resourceexplorer2.Index("aws-nativeIndexResource", {
type: aws_native.resourceexplorer2.IndexType.Local,
tags: {
string: "string",
},
});
Coming soon!
Index Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Index resource accepts the following input properties:
- Type
Pulumi.
Aws Native. Resource Explorer2. Index Type - Dictionary<string, string>
- type "LOCAL" | "AGGREGATOR"
- Map<String>
Outputs
All input properties are implicitly available as output properties. Additionally, the Index resource produces the following output properties:
- Arn string
- Id string
- The provider-assigned unique ID for this managed resource.
- Index
State Pulumi.Aws Native. Resource Explorer2. Index State
- Arn string
- Id string
- The provider-assigned unique ID for this managed resource.
- Index
State IndexState Enum
- arn String
- id String
- The provider-assigned unique ID for this managed resource.
- index
State IndexState
- arn string
- id string
- The provider-assigned unique ID for this managed resource.
- index
State IndexState
- arn str
- id str
- The provider-assigned unique ID for this managed resource.
- index_
state IndexState
- arn String
- id String
- The provider-assigned unique ID for this managed resource.
- index
State "ACTIVE" | "CREATING" | "DELETING" | "DELETED" | "UPDATING"
Supporting Types
IndexState, IndexStateArgs
- Active
- ACTIVE
- Creating
- CREATING
- Deleting
- DELETING
- Deleted
- DELETED
- Updating
- UPDATING
- Index
State Active - ACTIVE
- Index
State Creating - CREATING
- Index
State Deleting - DELETING
- Index
State Deleted - DELETED
- Index
State Updating - UPDATING
- Active
- ACTIVE
- Creating
- CREATING
- Deleting
- DELETING
- Deleted
- DELETED
- Updating
- UPDATING
- Active
- ACTIVE
- Creating
- CREATING
- Deleting
- DELETING
- Deleted
- DELETED
- Updating
- UPDATING
- ACTIVE
- ACTIVE
- CREATING
- CREATING
- DELETING
- DELETING
- DELETED
- DELETED
- UPDATING
- UPDATING
- "ACTIVE"
- ACTIVE
- "CREATING"
- CREATING
- "DELETING"
- DELETING
- "DELETED"
- DELETED
- "UPDATING"
- UPDATING
IndexType, IndexTypeArgs
- Local
- LOCAL
- Aggregator
- AGGREGATOR
- Index
Type Local - LOCAL
- Index
Type Aggregator - AGGREGATOR
- Local
- LOCAL
- Aggregator
- AGGREGATOR
- Local
- LOCAL
- Aggregator
- AGGREGATOR
- LOCAL
- LOCAL
- AGGREGATOR
- AGGREGATOR
- "LOCAL"
- LOCAL
- "AGGREGATOR"
- AGGREGATOR
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.