Data Source: awsIamInstanceProfile
This data source can be used to fetch information about a specific IAM instance profile. By using this data source, you can reference IAM instance profile properties without having to hard code ARNs as input.
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.dataAwsIamInstanceProfile.DataAwsIamInstanceProfile(this, "example", {
name: "an_example_instance_profile_name",
});
Argument Reference
name
- (Required) Friendly IAM instance profile name to match.
Attributes Reference
arn
- ARN.createDate
- String representation of the date the instance profile was created.path
- Path to the instance profile.roleArn
- Role ARN associated with this instance profile.roleId
- Role ID associated with this instance profile.roleName
- Role name associated with this instance profile.