Skip to content

AssociateIamInstanceProfileRequest

Source code in docs_src/capo_ec2/types/associate_iam_instance_profile_request.py
class AssociateIamInstanceProfileRequest(TypedDict, closed=True):
    iam_instance_profile: NotRequired[
        "capo_ec2.types.iam_instance_profile_specification.IamInstanceProfileSpecification"
    ]
    """<p>The IAM instance profile.</p>"""
    instance_id: NotRequired["capo_ec2.types.instance_id.InstanceId"]
    """<p>The ID of the instance.</p>"""

iam_instance_profile instance-attribute

iam_instance_profile: NotRequired[IamInstanceProfileSpecification]

The IAM instance profile.

instance_id instance-attribute

instance_id: NotRequired[InstanceId]

The ID of the instance.