Class: Aws::EC2::Types::AssociateEnclaveCertificateIamRoleRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Note:

When making an API call, you may pass AssociateEnclaveCertificateIamRoleRequest data as a hash:

{
  certificate_arn: "ResourceArn",
  role_arn: "ResourceArn",
  dry_run: false,
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#certificate_arnString

The ARN of the ACM certificate with which to associate the IAM role.

Returns:

  • (String)


2018
2019
2020
2021
2022
2023
2024
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2018

class AssociateEnclaveCertificateIamRoleRequest < Struct.new(
  :certificate_arn,
  :role_arn,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#dry_runBoolean

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Returns:

  • (Boolean)


2018
2019
2020
2021
2022
2023
2024
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2018

class AssociateEnclaveCertificateIamRoleRequest < Struct.new(
  :certificate_arn,
  :role_arn,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#role_arnString

The ARN of the IAM role to associate with the ACM certificate. You can associate up to 16 IAM roles with an ACM certificate.

Returns:

  • (String)


2018
2019
2020
2021
2022
2023
2024
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2018

class AssociateEnclaveCertificateIamRoleRequest < Struct.new(
  :certificate_arn,
  :role_arn,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end