Class GlobalSecondaryIndexArgs


  • public final class GlobalSecondaryIndexArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • indexName

        public com.pulumi.core.Output<java.lang.String> indexName()
        Returns:
        Name of the index.
      • keySchemas

        public com.pulumi.core.Output<java.util.List<GlobalSecondaryIndexKeySchemaArgs>> keySchemas()
        Returns:
        Set of nested attribute definitions. At least 1 element defining a `HASH` is required. All elements with the `keyType` of `HASH` must precede elements with `keyType` of `RANGE`. Changing any values in `keySchema` will re-create the resource. See `keySchema` below.
      • onDemandThroughput

        public java.util.Optional<com.pulumi.core.Output<GlobalSecondaryIndexOnDemandThroughputArgs>> onDemandThroughput()
        Returns:
        Sets the maximum number of read and write units for the index. See `onDemandThroughput` below. Only valid if the table's `billingMode` is `PAY_PER_REQUEST`.
      • projection

        public java.util.Optional<com.pulumi.core.Output<GlobalSecondaryIndexProjectionArgs>> projection()
        Returns:
        Describes which attributes from the table are represented in the index. See `projection` below.
      • provisionedThroughput

        public java.util.Optional<com.pulumi.core.Output<GlobalSecondaryIndexProvisionedThroughputArgs>> provisionedThroughput()
        Returns:
        Provisioned throughput for the index. See `provisionedThroughput` below. Required if the table's `billingMode` is `PROVISIONED`.
      • region

        public java.util.Optional<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:
        Name of the table this index belongs to. The following arguments are optional:
      • warmThroughput

        public java.util.Optional<com.pulumi.core.Output<GlobalSecondaryIndexWarmThroughputArgs>> warmThroughput()
        Returns:
        Sets the number of warm read and write units for this index. See `warmThroughput` below.