Skip to content

CreateAccessPreviewRequest

Source code in docs_src/capo_accessanalyzer/types/create_access_preview_request.py
class CreateAccessPreviewRequest(TypedDict, closed=True):
    analyzer_arn: "capo_accessanalyzer.types.analyzer_arn.AnalyzerArn"
    """<p>The <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-getting-started.html#permission-resources">ARN of the account analyzer</a> used to generate the access preview. You can only create an access preview for analyzers with an <code>Account</code> type and <code>Active</code> status.</p>"""
    configurations: "capo_accessanalyzer.types.configurations_map.ConfigurationsMap"
    """<p>Access control configuration for your resource that is used to generate the access preview. The access preview includes findings for external access allowed to the resource with the proposed access control configuration. The configuration must contain exactly one element.</p>"""
    client_token: NotRequired["str"]
    """<p>A client token.</p>"""

analyzer_arn instance-attribute

analyzer_arn: AnalyzerArn

The ARN of the account analyzer used to generate the access preview. You can only create an access preview for analyzers with an Account type and Active status.

client_token instance-attribute

client_token: NotRequired[str]

A client token.

configurations instance-attribute

configurations: ConfigurationsMap

Access control configuration for your resource that is used to generate the access preview. The access preview includes findings for external access allowed to the resource with the proposed access control configuration. The configuration must contain exactly one element.