google_kms_ekm_connection

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 {
	// CryptoSpacePath: string, optional
	CryptoSpacePath terra.StringValue `hcl:"crypto_space_path,attr"`
	// Etag: string, optional
	Etag terra.StringValue `hcl:"etag,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// KeyManagementMode: string, optional
	KeyManagementMode terra.StringValue `hcl:"key_management_mode,attr"`
	// Location: string, required
	Location terra.StringValue `hcl:"location,attr" validate:"required"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
	// ServiceResolvers: min=1
	ServiceResolvers []ServiceResolvers `hcl:"service_resolvers,block" validate:"min=1"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for google_kms_ekm_connection.

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_ekm_connection.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gkec *Resource) Attributes() googleKmsEkmConnectionAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gkec *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gkec *Resource) State() (*googleKmsEkmConnectionState, bool)

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

func (*Resource) StateMust

func (gkec *Resource) StateMust() *googleKmsEkmConnectionState

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

func (*Resource) Type

func (gkec *Resource) Type() string

Type returns the Terraform object type for Resource.

type ServiceResolvers

type ServiceResolvers struct {
	// EndpointFilter: string, optional
	EndpointFilter terra.StringValue `hcl:"endpoint_filter,attr"`
	// Hostname: string, required
	Hostname terra.StringValue `hcl:"hostname,attr" validate:"required"`
	// ServiceDirectoryService: string, required
	ServiceDirectoryService terra.StringValue `hcl:"service_directory_service,attr" validate:"required"`
	// ServiceResolversServerCertificates: min=1
	ServerCertificates []ServiceResolversServerCertificates `hcl:"server_certificates,block" validate:"min=1"`
}

type ServiceResolversAttributes

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

func (ServiceResolversAttributes) EndpointFilter

func (sr ServiceResolversAttributes) EndpointFilter() terra.StringValue

func (ServiceResolversAttributes) Hostname

func (ServiceResolversAttributes) InternalRef

func (sr ServiceResolversAttributes) InternalRef() (terra.Reference, error)

func (ServiceResolversAttributes) InternalTokens

func (sr ServiceResolversAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ServiceResolversAttributes) InternalWithRef

func (ServiceResolversAttributes) ServerCertificates

func (ServiceResolversAttributes) ServiceDirectoryService

func (sr ServiceResolversAttributes) ServiceDirectoryService() terra.StringValue

type ServiceResolversServerCertificates

type ServiceResolversServerCertificates struct {
	// RawDer: string, required
	RawDer terra.StringValue `hcl:"raw_der,attr" validate:"required"`
	// SubjectAlternativeDnsNames: list of string, optional
	SubjectAlternativeDnsNames terra.ListValue[terra.StringValue] `hcl:"subject_alternative_dns_names,attr"`
}

type ServiceResolversServerCertificatesAttributes

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

func (ServiceResolversServerCertificatesAttributes) InternalRef

func (ServiceResolversServerCertificatesAttributes) InternalTokens

func (ServiceResolversServerCertificatesAttributes) InternalWithRef

func (ServiceResolversServerCertificatesAttributes) Issuer

func (ServiceResolversServerCertificatesAttributes) NotAfterTime

func (ServiceResolversServerCertificatesAttributes) NotBeforeTime

func (ServiceResolversServerCertificatesAttributes) Parsed

func (ServiceResolversServerCertificatesAttributes) RawDer

func (ServiceResolversServerCertificatesAttributes) SerialNumber

func (ServiceResolversServerCertificatesAttributes) Sha256Fingerprint

func (ServiceResolversServerCertificatesAttributes) Subject

func (ServiceResolversServerCertificatesAttributes) SubjectAlternativeDnsNames

type ServiceResolversServerCertificatesState

type ServiceResolversServerCertificatesState struct {
	Issuer                     string   `json:"issuer"`
	NotAfterTime               string   `json:"not_after_time"`
	NotBeforeTime              string   `json:"not_before_time"`
	Parsed                     bool     `json:"parsed"`
	RawDer                     string   `json:"raw_der"`
	SerialNumber               string   `json:"serial_number"`
	Sha256Fingerprint          string   `json:"sha256_fingerprint"`
	Subject                    string   `json:"subject"`
	SubjectAlternativeDnsNames []string `json:"subject_alternative_dns_names"`
}

type ServiceResolversState

type ServiceResolversState struct {
	EndpointFilter          string                                    `json:"endpoint_filter"`
	Hostname                string                                    `json:"hostname"`
	ServiceDirectoryService string                                    `json:"service_directory_service"`
	ServerCertificates      []ServiceResolversServerCertificatesState `json:"server_certificates"`
}

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