driftctl/pkg/resource/aws/aws_key_pair.go

31 lines
910 B
Go

// GENERATED, DO NOT EDIT THIS FILE
package aws
import "github.com/zclconf/go-cty/cty"
const AwsKeyPairResourceType = "aws_key_pair"
type AwsKeyPair struct {
Arn *string `cty:"arn" computed:"true"`
Fingerprint *string `cty:"fingerprint" computed:"true"`
Id string `cty:"id" computed:"true"`
KeyName *string `cty:"key_name" computed:"true"`
KeyNamePrefix *string `cty:"key_name_prefix" diff:"-"`
KeyPairId *string `cty:"key_pair_id" computed:"true"`
PublicKey *string `cty:"public_key" diff:"-"`
Tags map[string]string `cty:"tags"`
CtyVal *cty.Value `diff:"-"`
}
func (r *AwsKeyPair) TerraformId() string {
return r.Id
}
func (r *AwsKeyPair) TerraformType() string {
return AwsKeyPairResourceType
}
func (r *AwsKeyPair) CtyValue() *cty.Value {
return r.CtyVal
}