Options
All
  • Public
  • Public/Protected
  • All
Menu

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.

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);
see

DisassociateEnclaveCertificateIamRoleCommandInput for command's input shape.

see

DisassociateEnclaveCertificateIamRoleCommandOutput for command's response shape.

see

config for EC2Client's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: DisassociateEnclaveCertificateIamRoleCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions