1. Packages
  2. AWS Classic
  3. API Docs
  4. dynamodb
  5. ContributorInsights

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.28.1 published on Thursday, Mar 28, 2024 by Pulumi

aws.dynamodb.ContributorInsights

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.28.1 published on Thursday, Mar 28, 2024 by Pulumi

    Provides a DynamoDB contributor insights resource

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const test = new aws.dynamodb.ContributorInsights("test", {tableName: "ExampleTableName"});
    
    import pulumi
    import pulumi_aws as aws
    
    test = aws.dynamodb.ContributorInsights("test", table_name="ExampleTableName")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/dynamodb"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dynamodb.NewContributorInsights(ctx, "test", &dynamodb.ContributorInsightsArgs{
    			TableName: pulumi.String("ExampleTableName"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var test = new Aws.DynamoDB.ContributorInsights("test", new()
        {
            TableName = "ExampleTableName",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.dynamodb.ContributorInsights;
    import com.pulumi.aws.dynamodb.ContributorInsightsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var test = new ContributorInsights("test", ContributorInsightsArgs.builder()        
                .tableName("ExampleTableName")
                .build());
    
        }
    }
    
    resources:
      test:
        type: aws:dynamodb:ContributorInsights
        properties:
          tableName: ExampleTableName
    

    Create ContributorInsights Resource

    new ContributorInsights(name: string, args: ContributorInsightsArgs, opts?: CustomResourceOptions);
    @overload
    def ContributorInsights(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            index_name: Optional[str] = None,
                            table_name: Optional[str] = None)
    @overload
    def ContributorInsights(resource_name: str,
                            args: ContributorInsightsArgs,
                            opts: Optional[ResourceOptions] = None)
    func NewContributorInsights(ctx *Context, name string, args ContributorInsightsArgs, opts ...ResourceOption) (*ContributorInsights, error)
    public ContributorInsights(string name, ContributorInsightsArgs args, CustomResourceOptions? opts = null)
    public ContributorInsights(String name, ContributorInsightsArgs args)
    public ContributorInsights(String name, ContributorInsightsArgs args, CustomResourceOptions options)
    
    type: aws:dynamodb:ContributorInsights
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args ContributorInsightsArgs
    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 ContributorInsightsArgs
    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 ContributorInsightsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ContributorInsightsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ContributorInsightsArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    ContributorInsights 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 ContributorInsights resource accepts the following input properties:

    TableName string
    The name of the table to enable contributor insights
    IndexName string
    The global secondary index name
    TableName string
    The name of the table to enable contributor insights
    IndexName string
    The global secondary index name
    tableName String
    The name of the table to enable contributor insights
    indexName String
    The global secondary index name
    tableName string
    The name of the table to enable contributor insights
    indexName string
    The global secondary index name
    table_name str
    The name of the table to enable contributor insights
    index_name str
    The global secondary index name
    tableName String
    The name of the table to enable contributor insights
    indexName String
    The global secondary index name

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ContributorInsights resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ContributorInsights Resource

    Get an existing ContributorInsights resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ContributorInsightsState, opts?: CustomResourceOptions): ContributorInsights
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            index_name: Optional[str] = None,
            table_name: Optional[str] = None) -> ContributorInsights
    func GetContributorInsights(ctx *Context, name string, id IDInput, state *ContributorInsightsState, opts ...ResourceOption) (*ContributorInsights, error)
    public static ContributorInsights Get(string name, Input<string> id, ContributorInsightsState? state, CustomResourceOptions? opts = null)
    public static ContributorInsights get(String name, Output<String> id, ContributorInsightsState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    IndexName string
    The global secondary index name
    TableName string
    The name of the table to enable contributor insights
    IndexName string
    The global secondary index name
    TableName string
    The name of the table to enable contributor insights
    indexName String
    The global secondary index name
    tableName String
    The name of the table to enable contributor insights
    indexName string
    The global secondary index name
    tableName string
    The name of the table to enable contributor insights
    index_name str
    The global secondary index name
    table_name str
    The name of the table to enable contributor insights
    indexName String
    The global secondary index name
    tableName String
    The name of the table to enable contributor insights

    Import

    Using pulumi import, import aws_dynamodb_contributor_insights using the format name:table_name/index:index_name, followed by the account number. For example:

    $ pulumi import aws:dynamodb/contributorInsights:ContributorInsights test name:ExampleTableName/index:ExampleIndexName/123456789012
    

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.28.1 published on Thursday, Mar 28, 2024 by Pulumi