AWS Classic v5.41.0, May 15 23
AWS Classic v5.41.0, May 15 23
aws.dynamodb.ContributorInsights
Explore with Pulumi AI
Provides a DynamoDB contributor insights resource
Example Usage
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 main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/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
})
}
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());
}
}
import pulumi
import pulumi_aws as aws
test = aws.dynamodb.ContributorInsights("test", table_name="ExampleTableName")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const test = new aws.dynamodb.ContributorInsights("test", {tableName: "ExampleTableName"});
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:
- table_
name str The name of the table to enable contributor insights
- index_
name str 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.
- index_
name str The global secondary index name
- table_
name str The name of the table to enable contributor insights
Import
aws_dynamodb_contributor_insights
can be imported using the format name:table_name/index:index_name
, followed by the account number, e.g.,
$ 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.