google_kms_crypto_key_version

package
v0.0.0-...-4deecce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// CryptoKey: string, required
	CryptoKey terra.StringValue `hcl:"crypto_key,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// State: string, optional
	State terra.StringValue `hcl:"state,attr"`
	// ExternalProtectionLevelOptions: optional
	ExternalProtectionLevelOptions *ExternalProtectionLevelOptions `hcl:"external_protection_level_options,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for google_kms_crypto_key_version.

type AttestationAttributes

type AttestationAttributes struct {
	// contains filtered or unexported fields
}

func (AttestationAttributes) CertChains

func (AttestationAttributes) Content

func (AttestationAttributes) ExternalProtectionLevelOptions

func (AttestationAttributes) Format

func (AttestationAttributes) InternalRef

func (a AttestationAttributes) InternalRef() (terra.Reference, error)

func (AttestationAttributes) InternalTokens

func (a AttestationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AttestationAttributes) InternalWithRef

type AttestationCertChainsAttributes

type AttestationCertChainsAttributes struct {
	// contains filtered or unexported fields
}

func (AttestationCertChainsAttributes) CaviumCerts

func (AttestationCertChainsAttributes) GoogleCardCerts

func (AttestationCertChainsAttributes) GooglePartitionCerts

func (AttestationCertChainsAttributes) InternalRef

func (AttestationCertChainsAttributes) InternalTokens

func (cc AttestationCertChainsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AttestationCertChainsAttributes) InternalWithRef

type AttestationCertChainsState

type AttestationCertChainsState struct {
	CaviumCerts          []string `json:"cavium_certs"`
	GoogleCardCerts      []string `json:"google_card_certs"`
	GooglePartitionCerts []string `json:"google_partition_certs"`
}

type AttestationExternalProtectionLevelOptionsAttributes

type AttestationExternalProtectionLevelOptionsAttributes struct {
	// contains filtered or unexported fields
}

func (AttestationExternalProtectionLevelOptionsAttributes) EkmConnectionKeyPath

func (AttestationExternalProtectionLevelOptionsAttributes) ExternalKeyUri

func (AttestationExternalProtectionLevelOptionsAttributes) InternalRef

func (AttestationExternalProtectionLevelOptionsAttributes) InternalTokens

func (AttestationExternalProtectionLevelOptionsAttributes) InternalWithRef

type AttestationExternalProtectionLevelOptionsState

type AttestationExternalProtectionLevelOptionsState struct {
	EkmConnectionKeyPath string `json:"ekm_connection_key_path"`
	ExternalKeyUri       string `json:"external_key_uri"`
}

type AttestationState

type AttestationState struct {
	Content                        string                                           `json:"content"`
	Format                         string                                           `json:"format"`
	CertChains                     []AttestationCertChainsState                     `json:"cert_chains"`
	ExternalProtectionLevelOptions []AttestationExternalProtectionLevelOptionsState `json:"external_protection_level_options"`
}

type DataArgs

type DataArgs struct {
	// CryptoKey: string, required
	CryptoKey terra.StringValue `hcl:"crypto_key,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Version: number, optional
	Version terra.NumberValue `hcl:"version,attr"`
}

DataArgs contains the configurations for google_kms_crypto_key_version.

type DataPublicKeyAttributes

type DataPublicKeyAttributes struct {
	// contains filtered or unexported fields
}

func (DataPublicKeyAttributes) Algorithm

func (pk DataPublicKeyAttributes) Algorithm() terra.StringValue

func (DataPublicKeyAttributes) InternalRef

func (pk DataPublicKeyAttributes) InternalRef() (terra.Reference, error)

func (DataPublicKeyAttributes) InternalTokens

func (pk DataPublicKeyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataPublicKeyAttributes) InternalWithRef

func (DataPublicKeyAttributes) Pem

type DataPublicKeyState

type DataPublicKeyState struct {
	Algorithm string `json:"algorithm"`
	Pem       string `json:"pem"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource google_kms_crypto_key_version.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (gkckv *DataSource) Attributes() dataGoogleKmsCryptoKeyVersionAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (gkckv *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (gkckv *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (gkckv *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type ExternalProtectionLevelOptions

type ExternalProtectionLevelOptions struct {
	// EkmConnectionKeyPath: string, optional
	EkmConnectionKeyPath terra.StringValue `hcl:"ekm_connection_key_path,attr"`
	// ExternalKeyUri: string, optional
	ExternalKeyUri terra.StringValue `hcl:"external_key_uri,attr"`
}

type ExternalProtectionLevelOptionsAttributes

type ExternalProtectionLevelOptionsAttributes struct {
	// contains filtered or unexported fields
}

func (ExternalProtectionLevelOptionsAttributes) EkmConnectionKeyPath

func (eplo ExternalProtectionLevelOptionsAttributes) EkmConnectionKeyPath() terra.StringValue

func (ExternalProtectionLevelOptionsAttributes) ExternalKeyUri

func (ExternalProtectionLevelOptionsAttributes) InternalRef

func (ExternalProtectionLevelOptionsAttributes) InternalTokens

func (ExternalProtectionLevelOptionsAttributes) InternalWithRef

type ExternalProtectionLevelOptionsState

type ExternalProtectionLevelOptionsState struct {
	EkmConnectionKeyPath string `json:"ekm_connection_key_path"`
	ExternalKeyUri       string `json:"external_key_uri"`
}

type Resource

type Resource struct {
	Name string
	Args Args

	DependsOn terra.Dependencies
	Lifecycle *terra.Lifecycle
	// contains filtered or unexported fields
}

Resource represents the Terraform resource google_kms_crypto_key_version.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gkckv *Resource) Attributes() googleKmsCryptoKeyVersionAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (gkckv *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (gkckv *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (gkckv *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (gkckv *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (gkckv *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gkckv *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gkckv *Resource) State() (*googleKmsCryptoKeyVersionState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (gkckv *Resource) StateMust() *googleKmsCryptoKeyVersionState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (gkckv *Resource) Type() string

Type returns the Terraform object type for Resource.

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

type TimeoutsAttributes struct {
	// contains filtered or unexported fields
}

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL