Resource Type definition for AWS::IAM::ServiceLinkedRole
resource "awscc_iam_service_linked_role" "elasticbeanstalk" {
aws_service_name = "elasticbeanstalk.amazonaws.com"
description = "service linked role for AWS Elastic Beanstalk"
}
resource "awscc_iam_service_linked_role" "autoscaling" {
aws_service_name = "autoscaling.amazonaws.com"
description = "service linked role for AWS Auto Scaling"
custom_suffix = "TestSuffix"
}
aws_service_name
(String) The service principal for the AWS service to which this role is attached.custom_suffix
(String) A string that you provide, which is combined with the service-provided prefix to form the complete role name.description
(String) The description of the role.id
(String) Uniquely identifies the resource.role_name
(String) The name of the role.Import is supported using the following syntax:
$ terraform import awscc_iam_service_linked_role.example <resource ID>