Package com.pulumi.aws.dynamodb
Class ContributorInsights
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.aws.dynamodb.ContributorInsights
-
public class ContributorInsights extends com.pulumi.resources.CustomResourceProvides a DynamoDB contributor insights resource ## Example Usage
## Import Using `pulumi import`, import `aws.dynamodb.ContributorInsights` using the format `name:table_name/index:index_name`, followed by the account number. For example: ```sh $ pulumi import aws:dynamodb/contributorInsights:ContributorInsights test name:ExampleTableName/index:ExampleIndexName/123456789012 ```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.ArrayList; import java.util.Arrays; 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()); } }
-
-
Constructor Summary
Constructors Constructor Description ContributorInsights(java.lang.String name)ContributorInsights(java.lang.String name, ContributorInsightsArgs args)ContributorInsights(java.lang.String name, ContributorInsightsArgs args, com.pulumi.resources.CustomResourceOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ContributorInsightsget(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, ContributorInsightsState state, com.pulumi.resources.CustomResourceOptions options)Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.com.pulumi.core.Output<java.util.Optional<java.lang.String>>indexName()com.pulumi.core.Output<java.lang.String>mode()com.pulumi.core.Output<java.lang.String>region()com.pulumi.core.Output<java.lang.String>tableName()
-
-
-
Constructor Detail
-
ContributorInsights
public ContributorInsights(java.lang.String name)
- Parameters:
name- The _unique_ name of the resulting resource.
-
ContributorInsights
public ContributorInsights(java.lang.String name, ContributorInsightsArgs args)- Parameters:
name- The _unique_ name of the resulting resource.args- The arguments to use to populate this resource's properties.
-
ContributorInsights
public ContributorInsights(java.lang.String name, ContributorInsightsArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options)- Parameters:
name- The _unique_ name of the resulting resource.args- The arguments to use to populate this resource's properties.options- A bag of options that control this resource's behavior.
-
-
Method Detail
-
indexName
public com.pulumi.core.Output<java.util.Optional<java.lang.String>> indexName()
- Returns:
- The global secondary index name
-
mode
public com.pulumi.core.Output<java.lang.String> mode()
- Returns:
- argument to specify the [CloudWatch contributor insights mode](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/contributorinsights_HowItWorks.html#contributorinsights_HowItWorks.Modes)
-
region
public com.pulumi.core.Output<java.lang.String> region()
- Returns:
- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
-
tableName
public com.pulumi.core.Output<java.lang.String> tableName()
- Returns:
- The name of the table to enable contributor insights
-
get
public static ContributorInsights get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable ContributorInsightsState state, @Nullable com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.- Parameters:
name- The _unique_ name of the resulting resource.id- The _unique_ provider ID of the resource to lookup.state-options- Optional settings to control the behavior of the CustomResource.
-
-