// GENERATED, DO NOT EDIT THIS FILE
package aws

const AwsIamRoleResourceType = "aws_iam_role"

type AwsIamRole struct {
	Arn                 *string           `cty:"arn" computed:"true"`
	AssumeRolePolicy    *string           `cty:"assume_role_policy" jsonstring:"true"`
	CreateDate          *string           `cty:"create_date" computed:"true"`
	Description         *string           `cty:"description"`
	ForceDetachPolicies *bool             `cty:"force_detach_policies" diff:"-"`
	Id                  string            `cty:"id" computed:"true"`
	MaxSessionDuration  *int              `cty:"max_session_duration"`
	Name                *string           `cty:"name" computed:"true"`
	NamePrefix          *string           `cty:"name_prefix"`
	Path                *string           `cty:"path"`
	PermissionsBoundary *string           `cty:"permissions_boundary"`
	Tags                map[string]string `cty:"tags"`
	UniqueId            *string           `cty:"unique_id" computed:"true"`
}

func (r *AwsIamRole) TerraformId() string {
	return r.Id
}

func (r *AwsIamRole) TerraformType() string {
	return AwsIamRoleResourceType
}
