Class DisassociateEnclaveCertificateIamRoleCommand
Disassociates an IAM role from an Certificate Manager (ACM) certificate. Disassociating an IAM role
from an ACM certificate removes the Amazon S3 object that contains the certificate, certificate chain, and
encrypted private key from the Amazon S3 bucket. It also revokes the IAM role's permission to use the
KMS key used to encrypt the private key. This effectively revokes the role's permission
to use the certificate.
example
Use a bare-bones client and the command you need to make an API call.
Disassociates an IAM role from an Certificate Manager (ACM) certificate. Disassociating an IAM role from an ACM certificate removes the Amazon S3 object that contains the certificate, certificate chain, and encrypted private key from the Amazon S3 bucket. It also revokes the IAM role's permission to use the KMS key used to encrypt the private key. This effectively revokes the role's permission to use the certificate.
Use a bare-bones client and the command you need to make an API call.
import { EC2Client, DisassociateEnclaveCertificateIamRoleCommand } from "@aws-sdk/client-ec2"; // ES Modules import // const { EC2Client, DisassociateEnclaveCertificateIamRoleCommand } = require("@aws-sdk/client-ec2"); // CommonJS import const client = new EC2Client(config); const command = new DisassociateEnclaveCertificateIamRoleCommand(input); const response = await client.send(command);
DisassociateEnclaveCertificateIamRoleCommandInput for command's
input
shape.DisassociateEnclaveCertificateIamRoleCommandOutput for command's
response
shape.config for EC2Client's
config
shape.