Class SshKeyArgs


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

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

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

      Fields 
      Modifier and Type Field Description
      static SshKeyArgs Empty  
    • Method Detail

      • encoding

        public com.pulumi.core.Output<java.lang.String> encoding()
        Returns:
        Specifies the public key encoding format to use in the response. To retrieve the public key in ssh-rsa format, use `SSH`. To retrieve the public key in PEM format, use `PEM`.
      • publicKey

        public com.pulumi.core.Output<java.lang.String> publicKey()
        Returns:
        The SSH public key. The public key must be encoded in ssh-rsa format or PEM format.
      • status

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> status()
        Returns:
        The status to assign to the SSH public key. Active means the key can be used for authentication with an AWS CodeCommit repository. Inactive means the key cannot be used. Default is `active`.
      • username

        public com.pulumi.core.Output<java.lang.String> username()
        Returns:
        The name of the IAM user to associate the SSH public key with.