driftctl/pkg/resource/aws/aws_ecr_repository.go

33 lines
1.1 KiB
Go
Raw Normal View History

2021-02-26 19:59:46 +00:00
// GENERATED, DO NOT EDIT THIS FILE
package aws
const AwsEcrRepositoryResourceType = "aws_ecr_repository"
type AwsEcrRepository struct {
Arn *string `cty:"arn" computed:"true"`
Id string `cty:"id" computed:"true"`
ImageTagMutability *string `cty:"image_tag_mutability"`
Name *string `cty:"name"`
RegistryId *string `cty:"registry_id" computed:"true"`
RepositoryUrl *string `cty:"repository_url" computed:"true"`
Tags map[string]string `cty:"tags"`
EncryptionConfiguration *[]struct {
EncryptionType *string `cty:"encryption_type"`
KmsKey *string `cty:"kms_key" computed:"true"`
} `cty:"encryption_configuration"`
ImageScanningConfiguration *[]struct {
ScanOnPush *bool `cty:"scan_on_push"`
} `cty:"image_scanning_configuration"`
Timeouts *struct {
Delete *string `cty:"delete"`
} `cty:"timeouts" diff:"-"`
}
func (r *AwsEcrRepository) TerraformId() string {
return r.Id
}
func (r *AwsEcrRepository) TerraformType() string {
return AwsEcrRepositoryResourceType
}