Class SecretVersionState


  • public final class SecretVersionState
    extends com.pulumi.resources.ResourceArgs
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  SecretVersionState.Builder  
      • Nested classes/interfaces inherited from class com.pulumi.resources.InputArgs

        com.pulumi.resources.InputArgs.InputArgsInternal
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> arn()
      Deprecated.
      arn is deprecated.
      static SecretVersionState.Builder builder()  
      static SecretVersionState.Builder builder​(SecretVersionState defaults)  
      java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> hasSecretStringWo()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> secretArn()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> secretBinary()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> secretId()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> secretString()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> secretStringWo()  
      java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> secretStringWoVersion()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> versionId()  
      java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> versionStages()  
      • Methods inherited from class com.pulumi.resources.ResourceArgs

        validateMember
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • arn

        @Deprecated
        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> arn()
        Deprecated.
        arn is deprecated. Use secretArn instead.
        Returns:
        (**Deprecated**) ARN of the secret. Use `secretArn` instead.
      • hasSecretStringWo

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> hasSecretStringWo()
        Returns:
        Whether a write-only secret string value is set.
      • 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.
      • secretArn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> secretArn()
        Returns:
        ARN of the secret.
      • secretBinary

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> secretBinary()
        Returns:
        Binary data that you want to encrypt and store in this version of the secret. This is required if `secretString` or `secretStringWo` is not set. Needs to be encoded to base64.
      • secretId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> secretId()
        Returns:
        Secret to which you want to add a new version. You can specify either the ARN or the friendly name of the secret. The secret must already exist.
      • secretString

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> secretString()
        Returns:
        Text data that you want to encrypt and store in this version of the secret. This is required if `secretBinary` or `secretStringWo` is not set.
      • secretStringWo

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> secretStringWo()
        Returns:
        **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. Text data that you want to encrypt and store in this version of the secret. This is required if `secretBinary` or `secretString` is not set. If set, requires `secretStringWoVersion` to be set.
      • secretStringWoVersion

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> secretStringWoVersion()
        Returns:
        Required when `secretStringWo` is set. Changing this value triggers an update to `secretStringWo`.
      • versionId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> versionId()
        Returns:
        Unique identifier of the version of the secret.
      • versionStages

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> versionStages()
        Returns:
        List of staging labels that are attached to this version of the secret. A staging label must be unique to a single version of the secret. If you specify a staging label that's already associated with a different version of the same secret then that staging label is automatically removed from the other version and attached to this version. If you do not specify a value, then AWS Secrets Manager automatically moves the staging label `AWSCURRENT` to this new version on creation. > **NOTE:** If `versionStages` is configured, you must include the `AWSCURRENT` staging label if this secret version is the only version or if the label is currently present on this secret version, otherwise this provider will show a perpetual difference.