google_privateca_ca_pool

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 {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Labels: map of string, optional
	Labels terra.MapValue[terra.StringValue] `hcl:"labels,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"`
	// Tier: string, required
	Tier terra.StringValue `hcl:"tier,attr" validate:"required"`
	// IssuancePolicy: optional
	IssuancePolicy *IssuancePolicy `hcl:"issuance_policy,block"`
	// PublishingOptions: optional
	PublishingOptions *PublishingOptions `hcl:"publishing_options,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for google_privateca_ca_pool.

type IssuancePolicy

type IssuancePolicy struct {
	// MaximumLifetime: string, optional
	MaximumLifetime terra.StringValue `hcl:"maximum_lifetime,attr"`
	// IssuancePolicyAllowedIssuanceModes: optional
	AllowedIssuanceModes *IssuancePolicyAllowedIssuanceModes `hcl:"allowed_issuance_modes,block"`
	// IssuancePolicyAllowedKeyTypes: min=0
	AllowedKeyTypes []IssuancePolicyAllowedKeyTypes `hcl:"allowed_key_types,block" validate:"min=0"`
	// IssuancePolicyBaselineValues: optional
	BaselineValues *IssuancePolicyBaselineValues `hcl:"baseline_values,block"`
	// IssuancePolicyIdentityConstraints: optional
	IdentityConstraints *IssuancePolicyIdentityConstraints `hcl:"identity_constraints,block"`
}

type IssuancePolicyAllowedIssuanceModes

type IssuancePolicyAllowedIssuanceModes struct {
	// AllowConfigBasedIssuance: bool, required
	AllowConfigBasedIssuance terra.BoolValue `hcl:"allow_config_based_issuance,attr" validate:"required"`
	// AllowCsrBasedIssuance: bool, required
	AllowCsrBasedIssuance terra.BoolValue `hcl:"allow_csr_based_issuance,attr" validate:"required"`
}

type IssuancePolicyAllowedIssuanceModesAttributes

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

func (IssuancePolicyAllowedIssuanceModesAttributes) AllowConfigBasedIssuance

func (aim IssuancePolicyAllowedIssuanceModesAttributes) AllowConfigBasedIssuance() terra.BoolValue

func (IssuancePolicyAllowedIssuanceModesAttributes) AllowCsrBasedIssuance

func (aim IssuancePolicyAllowedIssuanceModesAttributes) AllowCsrBasedIssuance() terra.BoolValue

func (IssuancePolicyAllowedIssuanceModesAttributes) InternalRef

func (IssuancePolicyAllowedIssuanceModesAttributes) InternalTokens

func (IssuancePolicyAllowedIssuanceModesAttributes) InternalWithRef

type IssuancePolicyAllowedIssuanceModesState

type IssuancePolicyAllowedIssuanceModesState struct {
	AllowConfigBasedIssuance bool `json:"allow_config_based_issuance"`
	AllowCsrBasedIssuance    bool `json:"allow_csr_based_issuance"`
}

type IssuancePolicyAllowedKeyTypes

type IssuancePolicyAllowedKeyTypes struct {
	// IssuancePolicyAllowedKeyTypesEllipticCurve: optional
	EllipticCurve *IssuancePolicyAllowedKeyTypesEllipticCurve `hcl:"elliptic_curve,block"`
	// IssuancePolicyAllowedKeyTypesRsa: optional
	Rsa *IssuancePolicyAllowedKeyTypesRsa `hcl:"rsa,block"`
}

type IssuancePolicyAllowedKeyTypesAttributes

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

func (IssuancePolicyAllowedKeyTypesAttributes) EllipticCurve

func (IssuancePolicyAllowedKeyTypesAttributes) InternalRef

func (IssuancePolicyAllowedKeyTypesAttributes) InternalTokens

func (IssuancePolicyAllowedKeyTypesAttributes) InternalWithRef

func (IssuancePolicyAllowedKeyTypesAttributes) Rsa

type IssuancePolicyAllowedKeyTypesEllipticCurve

type IssuancePolicyAllowedKeyTypesEllipticCurve struct {
	// SignatureAlgorithm: string, required
	SignatureAlgorithm terra.StringValue `hcl:"signature_algorithm,attr" validate:"required"`
}

type IssuancePolicyAllowedKeyTypesEllipticCurveAttributes

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

func (IssuancePolicyAllowedKeyTypesEllipticCurveAttributes) InternalRef

func (IssuancePolicyAllowedKeyTypesEllipticCurveAttributes) InternalTokens

func (IssuancePolicyAllowedKeyTypesEllipticCurveAttributes) InternalWithRef

func (IssuancePolicyAllowedKeyTypesEllipticCurveAttributes) SignatureAlgorithm

type IssuancePolicyAllowedKeyTypesEllipticCurveState

type IssuancePolicyAllowedKeyTypesEllipticCurveState struct {
	SignatureAlgorithm string `json:"signature_algorithm"`
}

type IssuancePolicyAllowedKeyTypesRsa

type IssuancePolicyAllowedKeyTypesRsa struct {
	// MaxModulusSize: string, optional
	MaxModulusSize terra.StringValue `hcl:"max_modulus_size,attr"`
	// MinModulusSize: string, optional
	MinModulusSize terra.StringValue `hcl:"min_modulus_size,attr"`
}

type IssuancePolicyAllowedKeyTypesRsaAttributes

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

func (IssuancePolicyAllowedKeyTypesRsaAttributes) InternalRef

func (IssuancePolicyAllowedKeyTypesRsaAttributes) InternalTokens

func (IssuancePolicyAllowedKeyTypesRsaAttributes) InternalWithRef

func (IssuancePolicyAllowedKeyTypesRsaAttributes) MaxModulusSize

func (IssuancePolicyAllowedKeyTypesRsaAttributes) MinModulusSize

type IssuancePolicyAllowedKeyTypesRsaState

type IssuancePolicyAllowedKeyTypesRsaState struct {
	MaxModulusSize string `json:"max_modulus_size"`
	MinModulusSize string `json:"min_modulus_size"`
}

type IssuancePolicyAllowedKeyTypesState

type IssuancePolicyAllowedKeyTypesState struct {
	EllipticCurve []IssuancePolicyAllowedKeyTypesEllipticCurveState `json:"elliptic_curve"`
	Rsa           []IssuancePolicyAllowedKeyTypesRsaState           `json:"rsa"`
}

type IssuancePolicyAttributes

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

func (IssuancePolicyAttributes) AllowedIssuanceModes

func (IssuancePolicyAttributes) AllowedKeyTypes

func (IssuancePolicyAttributes) BaselineValues

func (IssuancePolicyAttributes) IdentityConstraints

func (IssuancePolicyAttributes) InternalRef

func (ip IssuancePolicyAttributes) InternalRef() (terra.Reference, error)

func (IssuancePolicyAttributes) InternalTokens

func (ip IssuancePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (IssuancePolicyAttributes) InternalWithRef

func (IssuancePolicyAttributes) MaximumLifetime

func (ip IssuancePolicyAttributes) MaximumLifetime() terra.StringValue

type IssuancePolicyBaselineValues

type IssuancePolicyBaselineValues struct {
	// AiaOcspServers: list of string, optional
	AiaOcspServers terra.ListValue[terra.StringValue] `hcl:"aia_ocsp_servers,attr"`
	// IssuancePolicyBaselineValuesAdditionalExtensions: min=0
	AdditionalExtensions []IssuancePolicyBaselineValuesAdditionalExtensions `hcl:"additional_extensions,block" validate:"min=0"`
	// IssuancePolicyBaselineValuesCaOptions: required
	CaOptions *IssuancePolicyBaselineValuesCaOptions `hcl:"ca_options,block" validate:"required"`
	// IssuancePolicyBaselineValuesKeyUsage: required
	KeyUsage *IssuancePolicyBaselineValuesKeyUsage `hcl:"key_usage,block" validate:"required"`
	// IssuancePolicyBaselineValuesNameConstraints: optional
	NameConstraints *IssuancePolicyBaselineValuesNameConstraints `hcl:"name_constraints,block"`
	// IssuancePolicyBaselineValuesPolicyIds: min=0
	PolicyIds []IssuancePolicyBaselineValuesPolicyIds `hcl:"policy_ids,block" validate:"min=0"`
}

type IssuancePolicyBaselineValuesAdditionalExtensions

type IssuancePolicyBaselineValuesAdditionalExtensions struct {
	// Critical: bool, required
	Critical terra.BoolValue `hcl:"critical,attr" validate:"required"`
	// Value: string, required
	Value terra.StringValue `hcl:"value,attr" validate:"required"`
	// IssuancePolicyBaselineValuesAdditionalExtensionsObjectId: required
	ObjectId *IssuancePolicyBaselineValuesAdditionalExtensionsObjectId `hcl:"object_id,block" validate:"required"`
}

type IssuancePolicyBaselineValuesAdditionalExtensionsAttributes

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

func (IssuancePolicyBaselineValuesAdditionalExtensionsAttributes) Critical

func (IssuancePolicyBaselineValuesAdditionalExtensionsAttributes) InternalRef

func (IssuancePolicyBaselineValuesAdditionalExtensionsAttributes) InternalTokens

func (IssuancePolicyBaselineValuesAdditionalExtensionsAttributes) InternalWithRef

func (IssuancePolicyBaselineValuesAdditionalExtensionsAttributes) Value

type IssuancePolicyBaselineValuesAdditionalExtensionsObjectId

type IssuancePolicyBaselineValuesAdditionalExtensionsObjectId struct {
	// ObjectIdPath: list of number, required
	ObjectIdPath terra.ListValue[terra.NumberValue] `hcl:"object_id_path,attr" validate:"required"`
}

type IssuancePolicyBaselineValuesAdditionalExtensionsObjectIdAttributes

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

func (IssuancePolicyBaselineValuesAdditionalExtensionsObjectIdAttributes) InternalRef

func (IssuancePolicyBaselineValuesAdditionalExtensionsObjectIdAttributes) InternalTokens

func (IssuancePolicyBaselineValuesAdditionalExtensionsObjectIdAttributes) InternalWithRef

func (IssuancePolicyBaselineValuesAdditionalExtensionsObjectIdAttributes) ObjectIdPath

type IssuancePolicyBaselineValuesAdditionalExtensionsObjectIdState

type IssuancePolicyBaselineValuesAdditionalExtensionsObjectIdState struct {
	ObjectIdPath []float64 `json:"object_id_path"`
}

type IssuancePolicyBaselineValuesAdditionalExtensionsState

type IssuancePolicyBaselineValuesAdditionalExtensionsState struct {
	Critical bool                                                            `json:"critical"`
	Value    string                                                          `json:"value"`
	ObjectId []IssuancePolicyBaselineValuesAdditionalExtensionsObjectIdState `json:"object_id"`
}

type IssuancePolicyBaselineValuesAttributes

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

func (IssuancePolicyBaselineValuesAttributes) AiaOcspServers

func (IssuancePolicyBaselineValuesAttributes) CaOptions

func (IssuancePolicyBaselineValuesAttributes) InternalRef

func (IssuancePolicyBaselineValuesAttributes) InternalTokens

func (IssuancePolicyBaselineValuesAttributes) InternalWithRef

func (IssuancePolicyBaselineValuesAttributes) KeyUsage

func (IssuancePolicyBaselineValuesAttributes) NameConstraints

func (IssuancePolicyBaselineValuesAttributes) PolicyIds

type IssuancePolicyBaselineValuesCaOptions

type IssuancePolicyBaselineValuesCaOptions struct {
	// IsCa: bool, optional
	IsCa terra.BoolValue `hcl:"is_ca,attr"`
	// MaxIssuerPathLength: number, optional
	MaxIssuerPathLength terra.NumberValue `hcl:"max_issuer_path_length,attr"`
	// NonCa: bool, optional
	NonCa terra.BoolValue `hcl:"non_ca,attr"`
	// ZeroMaxIssuerPathLength: bool, optional
	ZeroMaxIssuerPathLength terra.BoolValue `hcl:"zero_max_issuer_path_length,attr"`
}

type IssuancePolicyBaselineValuesCaOptionsAttributes

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

func (IssuancePolicyBaselineValuesCaOptionsAttributes) InternalRef

func (IssuancePolicyBaselineValuesCaOptionsAttributes) InternalTokens

func (IssuancePolicyBaselineValuesCaOptionsAttributes) InternalWithRef

func (IssuancePolicyBaselineValuesCaOptionsAttributes) IsCa

func (IssuancePolicyBaselineValuesCaOptionsAttributes) MaxIssuerPathLength

func (IssuancePolicyBaselineValuesCaOptionsAttributes) NonCa

func (IssuancePolicyBaselineValuesCaOptionsAttributes) ZeroMaxIssuerPathLength

type IssuancePolicyBaselineValuesCaOptionsState

type IssuancePolicyBaselineValuesCaOptionsState struct {
	IsCa                    bool    `json:"is_ca"`
	MaxIssuerPathLength     float64 `json:"max_issuer_path_length"`
	NonCa                   bool    `json:"non_ca"`
	ZeroMaxIssuerPathLength bool    `json:"zero_max_issuer_path_length"`
}

type IssuancePolicyBaselineValuesKeyUsage

type IssuancePolicyBaselineValuesKeyUsage struct {
	// IssuancePolicyBaselineValuesKeyUsageBaseKeyUsage: required
	BaseKeyUsage *IssuancePolicyBaselineValuesKeyUsageBaseKeyUsage `hcl:"base_key_usage,block" validate:"required"`
	// IssuancePolicyBaselineValuesKeyUsageExtendedKeyUsage: required
	ExtendedKeyUsage *IssuancePolicyBaselineValuesKeyUsageExtendedKeyUsage `hcl:"extended_key_usage,block" validate:"required"`
	// IssuancePolicyBaselineValuesKeyUsageUnknownExtendedKeyUsages: min=0
	UnknownExtendedKeyUsages []IssuancePolicyBaselineValuesKeyUsageUnknownExtendedKeyUsages `hcl:"unknown_extended_key_usages,block" validate:"min=0"`
}

type IssuancePolicyBaselineValuesKeyUsageAttributes

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

func (IssuancePolicyBaselineValuesKeyUsageAttributes) InternalRef

func (IssuancePolicyBaselineValuesKeyUsageAttributes) InternalTokens

func (IssuancePolicyBaselineValuesKeyUsageAttributes) InternalWithRef

type IssuancePolicyBaselineValuesKeyUsageBaseKeyUsage

type IssuancePolicyBaselineValuesKeyUsageBaseKeyUsage struct {
	// CertSign: bool, optional
	CertSign terra.BoolValue `hcl:"cert_sign,attr"`
	// ContentCommitment: bool, optional
	ContentCommitment terra.BoolValue `hcl:"content_commitment,attr"`
	// CrlSign: bool, optional
	CrlSign terra.BoolValue `hcl:"crl_sign,attr"`
	// DataEncipherment: bool, optional
	DataEncipherment terra.BoolValue `hcl:"data_encipherment,attr"`
	// DecipherOnly: bool, optional
	DecipherOnly terra.BoolValue `hcl:"decipher_only,attr"`
	// DigitalSignature: bool, optional
	DigitalSignature terra.BoolValue `hcl:"digital_signature,attr"`
	// EncipherOnly: bool, optional
	EncipherOnly terra.BoolValue `hcl:"encipher_only,attr"`
	// KeyAgreement: bool, optional
	KeyAgreement terra.BoolValue `hcl:"key_agreement,attr"`
	// KeyEncipherment: bool, optional
	KeyEncipherment terra.BoolValue `hcl:"key_encipherment,attr"`
}

type IssuancePolicyBaselineValuesKeyUsageBaseKeyUsageAttributes

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

func (IssuancePolicyBaselineValuesKeyUsageBaseKeyUsageAttributes) CertSign

func (IssuancePolicyBaselineValuesKeyUsageBaseKeyUsageAttributes) ContentCommitment

func (IssuancePolicyBaselineValuesKeyUsageBaseKeyUsageAttributes) CrlSign

func (IssuancePolicyBaselineValuesKeyUsageBaseKeyUsageAttributes) DataEncipherment

func (IssuancePolicyBaselineValuesKeyUsageBaseKeyUsageAttributes) DecipherOnly

func (IssuancePolicyBaselineValuesKeyUsageBaseKeyUsageAttributes) DigitalSignature

func (IssuancePolicyBaselineValuesKeyUsageBaseKeyUsageAttributes) EncipherOnly

func (IssuancePolicyBaselineValuesKeyUsageBaseKeyUsageAttributes) InternalRef

func (IssuancePolicyBaselineValuesKeyUsageBaseKeyUsageAttributes) InternalTokens

func (IssuancePolicyBaselineValuesKeyUsageBaseKeyUsageAttributes) InternalWithRef

func (IssuancePolicyBaselineValuesKeyUsageBaseKeyUsageAttributes) KeyAgreement

func (IssuancePolicyBaselineValuesKeyUsageBaseKeyUsageAttributes) KeyEncipherment

type IssuancePolicyBaselineValuesKeyUsageBaseKeyUsageState

type IssuancePolicyBaselineValuesKeyUsageBaseKeyUsageState struct {
	CertSign          bool `json:"cert_sign"`
	ContentCommitment bool `json:"content_commitment"`
	CrlSign           bool `json:"crl_sign"`
	DataEncipherment  bool `json:"data_encipherment"`
	DecipherOnly      bool `json:"decipher_only"`
	DigitalSignature  bool `json:"digital_signature"`
	EncipherOnly      bool `json:"encipher_only"`
	KeyAgreement      bool `json:"key_agreement"`
	KeyEncipherment   bool `json:"key_encipherment"`
}

type IssuancePolicyBaselineValuesKeyUsageExtendedKeyUsage

type IssuancePolicyBaselineValuesKeyUsageExtendedKeyUsage struct {
	// ClientAuth: bool, optional
	ClientAuth terra.BoolValue `hcl:"client_auth,attr"`
	// CodeSigning: bool, optional
	CodeSigning terra.BoolValue `hcl:"code_signing,attr"`
	// EmailProtection: bool, optional
	EmailProtection terra.BoolValue `hcl:"email_protection,attr"`
	// OcspSigning: bool, optional
	OcspSigning terra.BoolValue `hcl:"ocsp_signing,attr"`
	// ServerAuth: bool, optional
	ServerAuth terra.BoolValue `hcl:"server_auth,attr"`
	// TimeStamping: bool, optional
	TimeStamping terra.BoolValue `hcl:"time_stamping,attr"`
}

type IssuancePolicyBaselineValuesKeyUsageExtendedKeyUsageAttributes

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

func (IssuancePolicyBaselineValuesKeyUsageExtendedKeyUsageAttributes) ClientAuth

func (IssuancePolicyBaselineValuesKeyUsageExtendedKeyUsageAttributes) CodeSigning

func (IssuancePolicyBaselineValuesKeyUsageExtendedKeyUsageAttributes) EmailProtection

func (IssuancePolicyBaselineValuesKeyUsageExtendedKeyUsageAttributes) InternalRef

func (IssuancePolicyBaselineValuesKeyUsageExtendedKeyUsageAttributes) InternalTokens

func (IssuancePolicyBaselineValuesKeyUsageExtendedKeyUsageAttributes) InternalWithRef

func (IssuancePolicyBaselineValuesKeyUsageExtendedKeyUsageAttributes) OcspSigning

func (IssuancePolicyBaselineValuesKeyUsageExtendedKeyUsageAttributes) ServerAuth

func (IssuancePolicyBaselineValuesKeyUsageExtendedKeyUsageAttributes) TimeStamping

type IssuancePolicyBaselineValuesKeyUsageExtendedKeyUsageState

type IssuancePolicyBaselineValuesKeyUsageExtendedKeyUsageState struct {
	ClientAuth      bool `json:"client_auth"`
	CodeSigning     bool `json:"code_signing"`
	EmailProtection bool `json:"email_protection"`
	OcspSigning     bool `json:"ocsp_signing"`
	ServerAuth      bool `json:"server_auth"`
	TimeStamping    bool `json:"time_stamping"`
}

type IssuancePolicyBaselineValuesKeyUsageState

type IssuancePolicyBaselineValuesKeyUsageState struct {
	BaseKeyUsage             []IssuancePolicyBaselineValuesKeyUsageBaseKeyUsageState             `json:"base_key_usage"`
	ExtendedKeyUsage         []IssuancePolicyBaselineValuesKeyUsageExtendedKeyUsageState         `json:"extended_key_usage"`
	UnknownExtendedKeyUsages []IssuancePolicyBaselineValuesKeyUsageUnknownExtendedKeyUsagesState `json:"unknown_extended_key_usages"`
}

type IssuancePolicyBaselineValuesKeyUsageUnknownExtendedKeyUsages

type IssuancePolicyBaselineValuesKeyUsageUnknownExtendedKeyUsages struct {
	// ObjectIdPath: list of number, required
	ObjectIdPath terra.ListValue[terra.NumberValue] `hcl:"object_id_path,attr" validate:"required"`
}

type IssuancePolicyBaselineValuesKeyUsageUnknownExtendedKeyUsagesAttributes

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

func (IssuancePolicyBaselineValuesKeyUsageUnknownExtendedKeyUsagesAttributes) InternalRef

func (IssuancePolicyBaselineValuesKeyUsageUnknownExtendedKeyUsagesAttributes) InternalTokens

func (IssuancePolicyBaselineValuesKeyUsageUnknownExtendedKeyUsagesAttributes) InternalWithRef

func (IssuancePolicyBaselineValuesKeyUsageUnknownExtendedKeyUsagesAttributes) ObjectIdPath

type IssuancePolicyBaselineValuesKeyUsageUnknownExtendedKeyUsagesState

type IssuancePolicyBaselineValuesKeyUsageUnknownExtendedKeyUsagesState struct {
	ObjectIdPath []float64 `json:"object_id_path"`
}

type IssuancePolicyBaselineValuesNameConstraints

type IssuancePolicyBaselineValuesNameConstraints struct {
	// Critical: bool, required
	Critical terra.BoolValue `hcl:"critical,attr" validate:"required"`
	// ExcludedDnsNames: list of string, optional
	ExcludedDnsNames terra.ListValue[terra.StringValue] `hcl:"excluded_dns_names,attr"`
	// ExcludedEmailAddresses: list of string, optional
	ExcludedEmailAddresses terra.ListValue[terra.StringValue] `hcl:"excluded_email_addresses,attr"`
	// ExcludedIpRanges: list of string, optional
	ExcludedIpRanges terra.ListValue[terra.StringValue] `hcl:"excluded_ip_ranges,attr"`
	// ExcludedUris: list of string, optional
	ExcludedUris terra.ListValue[terra.StringValue] `hcl:"excluded_uris,attr"`
	// PermittedDnsNames: list of string, optional
	PermittedDnsNames terra.ListValue[terra.StringValue] `hcl:"permitted_dns_names,attr"`
	// PermittedEmailAddresses: list of string, optional
	PermittedEmailAddresses terra.ListValue[terra.StringValue] `hcl:"permitted_email_addresses,attr"`
	// PermittedIpRanges: list of string, optional
	PermittedIpRanges terra.ListValue[terra.StringValue] `hcl:"permitted_ip_ranges,attr"`
	// PermittedUris: list of string, optional
	PermittedUris terra.ListValue[terra.StringValue] `hcl:"permitted_uris,attr"`
}

type IssuancePolicyBaselineValuesNameConstraintsAttributes

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

func (IssuancePolicyBaselineValuesNameConstraintsAttributes) Critical

func (IssuancePolicyBaselineValuesNameConstraintsAttributes) ExcludedDnsNames

func (IssuancePolicyBaselineValuesNameConstraintsAttributes) ExcludedEmailAddresses

func (IssuancePolicyBaselineValuesNameConstraintsAttributes) ExcludedIpRanges

func (IssuancePolicyBaselineValuesNameConstraintsAttributes) ExcludedUris

func (IssuancePolicyBaselineValuesNameConstraintsAttributes) InternalRef

func (IssuancePolicyBaselineValuesNameConstraintsAttributes) InternalTokens

func (IssuancePolicyBaselineValuesNameConstraintsAttributes) InternalWithRef

func (IssuancePolicyBaselineValuesNameConstraintsAttributes) PermittedDnsNames

func (IssuancePolicyBaselineValuesNameConstraintsAttributes) PermittedEmailAddresses

func (IssuancePolicyBaselineValuesNameConstraintsAttributes) PermittedIpRanges

func (IssuancePolicyBaselineValuesNameConstraintsAttributes) PermittedUris

type IssuancePolicyBaselineValuesNameConstraintsState

type IssuancePolicyBaselineValuesNameConstraintsState struct {
	Critical                bool     `json:"critical"`
	ExcludedDnsNames        []string `json:"excluded_dns_names"`
	ExcludedEmailAddresses  []string `json:"excluded_email_addresses"`
	ExcludedIpRanges        []string `json:"excluded_ip_ranges"`
	ExcludedUris            []string `json:"excluded_uris"`
	PermittedDnsNames       []string `json:"permitted_dns_names"`
	PermittedEmailAddresses []string `json:"permitted_email_addresses"`
	PermittedIpRanges       []string `json:"permitted_ip_ranges"`
	PermittedUris           []string `json:"permitted_uris"`
}

type IssuancePolicyBaselineValuesPolicyIds

type IssuancePolicyBaselineValuesPolicyIds struct {
	// ObjectIdPath: list of number, required
	ObjectIdPath terra.ListValue[terra.NumberValue] `hcl:"object_id_path,attr" validate:"required"`
}

type IssuancePolicyBaselineValuesPolicyIdsAttributes

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

func (IssuancePolicyBaselineValuesPolicyIdsAttributes) InternalRef

func (IssuancePolicyBaselineValuesPolicyIdsAttributes) InternalTokens

func (IssuancePolicyBaselineValuesPolicyIdsAttributes) InternalWithRef

func (IssuancePolicyBaselineValuesPolicyIdsAttributes) ObjectIdPath

type IssuancePolicyBaselineValuesPolicyIdsState

type IssuancePolicyBaselineValuesPolicyIdsState struct {
	ObjectIdPath []float64 `json:"object_id_path"`
}

type IssuancePolicyBaselineValuesState

type IssuancePolicyBaselineValuesState struct {
	AiaOcspServers       []string                                                `json:"aia_ocsp_servers"`
	AdditionalExtensions []IssuancePolicyBaselineValuesAdditionalExtensionsState `json:"additional_extensions"`
	CaOptions            []IssuancePolicyBaselineValuesCaOptionsState            `json:"ca_options"`
	KeyUsage             []IssuancePolicyBaselineValuesKeyUsageState             `json:"key_usage"`
	NameConstraints      []IssuancePolicyBaselineValuesNameConstraintsState      `json:"name_constraints"`
	PolicyIds            []IssuancePolicyBaselineValuesPolicyIdsState            `json:"policy_ids"`
}

type IssuancePolicyIdentityConstraints

type IssuancePolicyIdentityConstraints struct {
	// AllowSubjectAltNamesPassthrough: bool, required
	AllowSubjectAltNamesPassthrough terra.BoolValue `hcl:"allow_subject_alt_names_passthrough,attr" validate:"required"`
	// AllowSubjectPassthrough: bool, required
	AllowSubjectPassthrough terra.BoolValue `hcl:"allow_subject_passthrough,attr" validate:"required"`
	// IssuancePolicyIdentityConstraintsCelExpression: optional
	CelExpression *IssuancePolicyIdentityConstraintsCelExpression `hcl:"cel_expression,block"`
}

type IssuancePolicyIdentityConstraintsAttributes

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

func (IssuancePolicyIdentityConstraintsAttributes) AllowSubjectAltNamesPassthrough

func (ic IssuancePolicyIdentityConstraintsAttributes) AllowSubjectAltNamesPassthrough() terra.BoolValue

func (IssuancePolicyIdentityConstraintsAttributes) AllowSubjectPassthrough

func (ic IssuancePolicyIdentityConstraintsAttributes) AllowSubjectPassthrough() terra.BoolValue

func (IssuancePolicyIdentityConstraintsAttributes) InternalRef

func (IssuancePolicyIdentityConstraintsAttributes) InternalTokens

func (IssuancePolicyIdentityConstraintsAttributes) InternalWithRef

type IssuancePolicyIdentityConstraintsCelExpression

type IssuancePolicyIdentityConstraintsCelExpression struct {
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Expression: string, required
	Expression terra.StringValue `hcl:"expression,attr" validate:"required"`
	// Location: string, optional
	Location terra.StringValue `hcl:"location,attr"`
	// Title: string, optional
	Title terra.StringValue `hcl:"title,attr"`
}

type IssuancePolicyIdentityConstraintsCelExpressionAttributes

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

func (IssuancePolicyIdentityConstraintsCelExpressionAttributes) Description

func (IssuancePolicyIdentityConstraintsCelExpressionAttributes) Expression

func (IssuancePolicyIdentityConstraintsCelExpressionAttributes) InternalRef

func (IssuancePolicyIdentityConstraintsCelExpressionAttributes) InternalTokens

func (IssuancePolicyIdentityConstraintsCelExpressionAttributes) InternalWithRef

func (IssuancePolicyIdentityConstraintsCelExpressionAttributes) Location

func (IssuancePolicyIdentityConstraintsCelExpressionAttributes) Title

type IssuancePolicyIdentityConstraintsCelExpressionState

type IssuancePolicyIdentityConstraintsCelExpressionState struct {
	Description string `json:"description"`
	Expression  string `json:"expression"`
	Location    string `json:"location"`
	Title       string `json:"title"`
}

type IssuancePolicyIdentityConstraintsState

type IssuancePolicyIdentityConstraintsState struct {
	AllowSubjectAltNamesPassthrough bool                                                  `json:"allow_subject_alt_names_passthrough"`
	AllowSubjectPassthrough         bool                                                  `json:"allow_subject_passthrough"`
	CelExpression                   []IssuancePolicyIdentityConstraintsCelExpressionState `json:"cel_expression"`
}

type IssuancePolicyState

type IssuancePolicyState struct {
	MaximumLifetime      string                                    `json:"maximum_lifetime"`
	AllowedIssuanceModes []IssuancePolicyAllowedIssuanceModesState `json:"allowed_issuance_modes"`
	AllowedKeyTypes      []IssuancePolicyAllowedKeyTypesState      `json:"allowed_key_types"`
	BaselineValues       []IssuancePolicyBaselineValuesState       `json:"baseline_values"`
	IdentityConstraints  []IssuancePolicyIdentityConstraintsState  `json:"identity_constraints"`
}

type PublishingOptions

type PublishingOptions struct {
	// EncodingFormat: string, optional
	EncodingFormat terra.StringValue `hcl:"encoding_format,attr"`
	// PublishCaCert: bool, required
	PublishCaCert terra.BoolValue `hcl:"publish_ca_cert,attr" validate:"required"`
	// PublishCrl: bool, required
	PublishCrl terra.BoolValue `hcl:"publish_crl,attr" validate:"required"`
}

type PublishingOptionsAttributes

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

func (PublishingOptionsAttributes) EncodingFormat

func (po PublishingOptionsAttributes) EncodingFormat() terra.StringValue

func (PublishingOptionsAttributes) InternalRef

func (po PublishingOptionsAttributes) InternalRef() (terra.Reference, error)

func (PublishingOptionsAttributes) InternalTokens

func (po PublishingOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PublishingOptionsAttributes) InternalWithRef

func (PublishingOptionsAttributes) PublishCaCert

func (po PublishingOptionsAttributes) PublishCaCert() terra.BoolValue

func (PublishingOptionsAttributes) PublishCrl

type PublishingOptionsState

type PublishingOptionsState struct {
	EncodingFormat string `json:"encoding_format"`
	PublishCaCert  bool   `json:"publish_ca_cert"`
	PublishCrl     bool   `json:"publish_crl"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gpcp *Resource) Attributes() googlePrivatecaCaPoolAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gpcp *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gpcp *Resource) State() (*googlePrivatecaCaPoolState, bool)

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

func (*Resource) StateMust

func (gpcp *Resource) StateMust() *googlePrivatecaCaPoolState

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

func (*Resource) Type

func (gpcp *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