Class TableReplicaArgs.Builder

  • Enclosing class:
    TableReplicaArgs

    public static final class TableReplicaArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • arn

        public TableReplicaArgs.Builder arn​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the table * `replica.*.arn` - ARN of the replica * `replica.*.stream_arn` - ARN of the replica Table Stream. Only available when `streamEnabled = true`. * `replica.*.stream_label` - Timestamp, in ISO 8601 format, for the replica stream. Note that this timestamp is not a unique identifier for the stream on its own. However, the combination of AWS customer ID, table name and this field is guaranteed to be unique. It can be used for creating CloudWatch Alarms. Only available when `streamEnabled = true`.
        Returns:
        builder
      • arn

        public TableReplicaArgs.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the table * `replica.*.arn` - ARN of the replica * `replica.*.stream_arn` - ARN of the replica Table Stream. Only available when `streamEnabled = true`. * `replica.*.stream_label` - Timestamp, in ISO 8601 format, for the replica stream. Note that this timestamp is not a unique identifier for the stream on its own. However, the combination of AWS customer ID, table name and this field is guaranteed to be unique. It can be used for creating CloudWatch Alarms. Only available when `streamEnabled = true`.
        Returns:
        builder
      • consistencyMode

        public TableReplicaArgs.Builder consistencyMode​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> consistencyMode)
        Parameters:
        consistencyMode - Whether this global table will be using `STRONG` consistency mode or `EVENTUAL` consistency mode. Default value is `EVENTUAL`.
        Returns:
        builder
      • consistencyMode

        public TableReplicaArgs.Builder consistencyMode​(java.lang.String consistencyMode)
        Parameters:
        consistencyMode - Whether this global table will be using `STRONG` consistency mode or `EVENTUAL` consistency mode. Default value is `EVENTUAL`.
        Returns:
        builder
      • deletionProtectionEnabled

        public TableReplicaArgs.Builder deletionProtectionEnabled​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.Boolean> deletionProtectionEnabled)
        Parameters:
        deletionProtectionEnabled - Whether deletion protection is enabled (true) or disabled (false) on the replica. Default is `false`.
        Returns:
        builder
      • deletionProtectionEnabled

        public TableReplicaArgs.Builder deletionProtectionEnabled​(java.lang.Boolean deletionProtectionEnabled)
        Parameters:
        deletionProtectionEnabled - Whether deletion protection is enabled (true) or disabled (false) on the replica. Default is `false`.
        Returns:
        builder
      • kmsKeyArn

        public TableReplicaArgs.Builder kmsKeyArn​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> kmsKeyArn)
        Parameters:
        kmsKeyArn - ARN of the CMK that should be used for the AWS KMS encryption. This argument should only be used if the key is different from the default KMS-managed DynamoDB key, `alias/aws/dynamodb`. **Note:** This attribute will _not_ be populated with the ARN of _default_ keys. **Note:** Changing this value will recreate the replica.
        Returns:
        builder
      • kmsKeyArn

        public TableReplicaArgs.Builder kmsKeyArn​(java.lang.String kmsKeyArn)
        Parameters:
        kmsKeyArn - ARN of the CMK that should be used for the AWS KMS encryption. This argument should only be used if the key is different from the default KMS-managed DynamoDB key, `alias/aws/dynamodb`. **Note:** This attribute will _not_ be populated with the ARN of _default_ keys. **Note:** Changing this value will recreate the replica.
        Returns:
        builder
      • pointInTimeRecovery

        public TableReplicaArgs.Builder pointInTimeRecovery​(@Nullable
                                                            com.pulumi.core.Output<java.lang.Boolean> pointInTimeRecovery)
        Parameters:
        pointInTimeRecovery - Whether to enable Point In Time Recovery for the replica. Default is `false`.
        Returns:
        builder
      • pointInTimeRecovery

        public TableReplicaArgs.Builder pointInTimeRecovery​(java.lang.Boolean pointInTimeRecovery)
        Parameters:
        pointInTimeRecovery - Whether to enable Point In Time Recovery for the replica. Default is `false`.
        Returns:
        builder
      • propagateTags

        public TableReplicaArgs.Builder propagateTags​(@Nullable
                                                      com.pulumi.core.Output<java.lang.Boolean> propagateTags)
        Parameters:
        propagateTags - Whether to propagate the global table's tags to a replica. Default is `false`. Changes to tags only move in one direction: from global (source) to replica. Tag drift on a replica will not trigger an update. Tag changes on the global table are propagated to replicas. Changing from `true` to `false` on a subsequent `apply` leaves replica tags as-is and no longer manages them.
        Returns:
        builder
      • propagateTags

        public TableReplicaArgs.Builder propagateTags​(java.lang.Boolean propagateTags)
        Parameters:
        propagateTags - Whether to propagate the global table's tags to a replica. Default is `false`. Changes to tags only move in one direction: from global (source) to replica. Tag drift on a replica will not trigger an update. Tag changes on the global table are propagated to replicas. Changing from `true` to `false` on a subsequent `apply` leaves replica tags as-is and no longer manages them.
        Returns:
        builder
      • regionName

        public TableReplicaArgs.Builder regionName​(com.pulumi.core.Output<java.lang.String> regionName)
        Parameters:
        regionName - Region name of the replica.
        Returns:
        builder
      • regionName

        public TableReplicaArgs.Builder regionName​(java.lang.String regionName)
        Parameters:
        regionName - Region name of the replica.
        Returns:
        builder
      • streamArn

        public TableReplicaArgs.Builder streamArn​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> streamArn)
        Parameters:
        streamArn - ARN of the Table Stream. Only available when `streamEnabled = true`
        Returns:
        builder
      • streamArn

        public TableReplicaArgs.Builder streamArn​(java.lang.String streamArn)
        Parameters:
        streamArn - ARN of the Table Stream. Only available when `streamEnabled = true`
        Returns:
        builder
      • streamLabel

        public TableReplicaArgs.Builder streamLabel​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> streamLabel)
        Parameters:
        streamLabel - Timestamp, in ISO 8601 format, for this stream. Note that this timestamp is not a unique identifier for the stream on its own. However, the combination of AWS customer ID, table name and this field is guaranteed to be unique. It can be used for creating CloudWatch Alarms. Only available when `streamEnabled = true`.
        Returns:
        builder
      • streamLabel

        public TableReplicaArgs.Builder streamLabel​(java.lang.String streamLabel)
        Parameters:
        streamLabel - Timestamp, in ISO 8601 format, for this stream. Note that this timestamp is not a unique identifier for the stream on its own. However, the combination of AWS customer ID, table name and this field is guaranteed to be unique. It can be used for creating CloudWatch Alarms. Only available when `streamEnabled = true`.
        Returns:
        builder