UpdateRetrievalConfiguration
¶
Used by
-
AsyncMacie2Client Operationsupdate_reveal_configuration -
Macie2Client Operationsupdate_reveal_configuration
Source code in docs_src/capo_macie2/types/update_retrieval_configuration.py
retrieval_mode
instance-attribute
¶
retrieval_mode: NotRequired[RetrievalMode]
The access method to use when retrieving sensitive data from affected S3 objects. Valid values are: ASSUME_ROLE, assume an IAM role that is in the affected Amazon Web Services account and delegates access to Amazon Macie; and, CALLER_CREDENTIALS, use the credentials of the IAM user who requests the sensitive data. If you specify ASSUME_ROLE, also specify the name of an existing IAM role for Macie to assume (roleName).
If you change this value from ASSUME_ROLE to CALLER_CREDENTIALS for an existing configuration, Macie permanently deletes the external ID and role name currently specified for the configuration. These settings can't be recovered after they're deleted.
role_name
instance-attribute
¶
role_name: NotRequired[__stringMin1Max64PatternW]
The name of the IAM role that is in the affected Amazon Web Services account and Amazon Macie is allowed to assume when retrieving sensitive data from affected S3 objects for the account. The trust and permissions policies for the role must meet all requirements for Macie to assume the role.