com.pulumi.aws.iam.SshKeyArgs Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.iam;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class SshKeyArgs extends com.pulumi.resources.ResourceArgs {
public static final SshKeyArgs Empty = new SshKeyArgs();
/**
* 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`.
*
*/
@Import(name="encoding", required=true)
private Output encoding;
/**
* @return 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`.
*
*/
public Output encoding() {
return this.encoding;
}
/**
* The SSH public key. The public key must be encoded in ssh-rsa format or PEM format.
*
*/
@Import(name="publicKey", required=true)
private Output publicKey;
/**
* @return The SSH public key. The public key must be encoded in ssh-rsa format or PEM format.
*
*/
public Output publicKey() {
return this.publicKey;
}
/**
* 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`.
*
*/
@Import(name="status")
private @Nullable Output status;
/**
* @return 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`.
*
*/
public Optional
© 2015 - 2025 Weber Informatics LLC | Privacy Policy