import { AwsResource } from '../../cloudformation/resources/AwsResource';
/**
  Creates an IAM role that is linked to a specific AWS service. The service controls the attached policies and when the role can be deleted. This helps ensure that the service is not broken by an unexpectedly changed or deleted role, which could put your AWS resources into an unknown state. Allowing the service to control the role helps improve service stability and proper cleanup when a service and its role are no longer needed. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/using-service-linked-roles.html">Using service-linked roles</a> in the <em>IAM User Guide</em>.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-servicelinkedrole.html">the AWS Docs</a>
*/
export function serviceLinkedRole(serviceLinkedRoleProps = {}) {
    return new AwsResource('AWS::IAM::ServiceLinkedRole', serviceLinkedRoleProps, { RoleName: 'RoleName' });
}
