2020-12-09 15:31:34 +00:00
|
|
|
// GENERATED, DO NOT EDIT THIS FILE
|
|
|
|
package aws
|
|
|
|
|
2021-03-25 11:13:52 +00:00
|
|
|
import "github.com/zclconf/go-cty/cty"
|
|
|
|
|
2020-12-09 15:31:34 +00:00
|
|
|
const AwsIamUserResourceType = "aws_iam_user"
|
|
|
|
|
|
|
|
type AwsIamUser struct {
|
|
|
|
Arn *string `cty:"arn" computed:"true"`
|
|
|
|
ForceDestroy *bool `cty:"force_destroy" diff:"-"`
|
|
|
|
Id string `cty:"id" computed:"true"`
|
|
|
|
Name *string `cty:"name"`
|
|
|
|
Path *string `cty:"path"`
|
|
|
|
PermissionsBoundary *string `cty:"permissions_boundary"`
|
|
|
|
Tags map[string]string `cty:"tags"`
|
|
|
|
UniqueId *string `cty:"unique_id" computed:"true"`
|
2021-03-25 11:13:52 +00:00
|
|
|
CtyVal *cty.Value `diff:"-"`
|
2020-12-09 15:31:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (r *AwsIamUser) TerraformId() string {
|
|
|
|
return r.Id
|
|
|
|
}
|
|
|
|
|
|
|
|
func (r *AwsIamUser) TerraformType() string {
|
|
|
|
return AwsIamUserResourceType
|
|
|
|
}
|
2021-03-25 11:13:52 +00:00
|
|
|
|
|
|
|
func (r *AwsIamUser) CtyValue() *cty.Value {
|
|
|
|
return r.CtyVal
|
|
|
|
}
|