InstanceProfileReference
- class aws_cdk.aws_iam.InstanceProfileReference(*, instance_profile_arn, instance_profile_name)
Bases:
object
A reference to a InstanceProfile resource.
- Parameters:
instance_profile_arn (
str
) – The ARN of the InstanceProfile resource.instance_profile_name (
str
) – The InstanceProfileName of the InstanceProfile resource.
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_iam as iam instance_profile_reference = iam.InstanceProfileReference( instance_profile_arn="instanceProfileArn", instance_profile_name="instanceProfileName" )
Attributes
- instance_profile_arn
The ARN of the InstanceProfile resource.
- instance_profile_name
The InstanceProfileName of the InstanceProfile resource.