amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.Types.AssociatedRole

Description

 
Synopsis

Documentation

data AssociatedRole Source #

Information about the associated IAM roles.

See: newAssociatedRole smart constructor.

Constructors

AssociatedRole' 

Fields

Instances

Instances details
FromXML AssociatedRole Source # 
Instance details

Defined in Amazonka.EC2.Types.AssociatedRole

Generic AssociatedRole Source # 
Instance details

Defined in Amazonka.EC2.Types.AssociatedRole

Associated Types

type Rep AssociatedRole :: Type -> Type #

Read AssociatedRole Source # 
Instance details

Defined in Amazonka.EC2.Types.AssociatedRole

Show AssociatedRole Source # 
Instance details

Defined in Amazonka.EC2.Types.AssociatedRole

NFData AssociatedRole Source # 
Instance details

Defined in Amazonka.EC2.Types.AssociatedRole

Methods

rnf :: AssociatedRole -> () #

Eq AssociatedRole Source # 
Instance details

Defined in Amazonka.EC2.Types.AssociatedRole

Hashable AssociatedRole Source # 
Instance details

Defined in Amazonka.EC2.Types.AssociatedRole

type Rep AssociatedRole Source # 
Instance details

Defined in Amazonka.EC2.Types.AssociatedRole

type Rep AssociatedRole = D1 ('MetaData "AssociatedRole" "Amazonka.EC2.Types.AssociatedRole" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "AssociatedRole'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "associatedRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "certificateS3BucketName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "certificateS3ObjectKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "encryptionKmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newAssociatedRole :: AssociatedRole Source #

Create a value of AssociatedRole with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:associatedRoleArn:AssociatedRole', associatedRole_associatedRoleArn - The ARN of the associated IAM role.

$sel:certificateS3BucketName:AssociatedRole', associatedRole_certificateS3BucketName - The name of the Amazon S3 bucket in which the Amazon S3 object is stored.

$sel:certificateS3ObjectKey:AssociatedRole', associatedRole_certificateS3ObjectKey - The key of the Amazon S3 object ey where the certificate, certificate chain, and encrypted private key bundle is stored. The object key is formated as follows: role_arn/certificate_arn.

$sel:encryptionKmsKeyId:AssociatedRole', associatedRole_encryptionKmsKeyId - The ID of the KMS customer master key (CMK) used to encrypt the private key.

associatedRole_associatedRoleArn :: Lens' AssociatedRole (Maybe Text) Source #

The ARN of the associated IAM role.

associatedRole_certificateS3BucketName :: Lens' AssociatedRole (Maybe Text) Source #

The name of the Amazon S3 bucket in which the Amazon S3 object is stored.

associatedRole_certificateS3ObjectKey :: Lens' AssociatedRole (Maybe Text) Source #

The key of the Amazon S3 object ey where the certificate, certificate chain, and encrypted private key bundle is stored. The object key is formated as follows: role_arn/certificate_arn.

associatedRole_encryptionKmsKeyId :: Lens' AssociatedRole (Maybe Text) Source #

The ID of the KMS customer master key (CMK) used to encrypt the private key.