aws_acmpca_certificate_authority

package
v5.45.0 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 {
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// PermanentDeletionTimeInDays: number, optional
	PermanentDeletionTimeInDays terra.NumberValue `hcl:"permanent_deletion_time_in_days,attr"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// TagsAll: map of string, optional
	TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,attr"`
	// Type: string, optional
	Type terra.StringValue `hcl:"type,attr"`
	// UsageMode: string, optional
	UsageMode terra.StringValue `hcl:"usage_mode,attr"`
	// CertificateAuthorityConfiguration: required
	CertificateAuthorityConfiguration *CertificateAuthorityConfiguration `hcl:"certificate_authority_configuration,block" validate:"required"`
	// RevocationConfiguration: optional
	RevocationConfiguration *RevocationConfiguration `hcl:"revocation_configuration,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for aws_acmpca_certificate_authority.

type CertificateAuthorityConfiguration

type CertificateAuthorityConfiguration struct {
	// KeyAlgorithm: string, required
	KeyAlgorithm terra.StringValue `hcl:"key_algorithm,attr" validate:"required"`
	// SigningAlgorithm: string, required
	SigningAlgorithm terra.StringValue `hcl:"signing_algorithm,attr" validate:"required"`
	// CertificateAuthorityConfigurationSubject: required
	Subject *CertificateAuthorityConfigurationSubject `hcl:"subject,block" validate:"required"`
}

type CertificateAuthorityConfigurationAttributes

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

func (CertificateAuthorityConfigurationAttributes) InternalRef

func (CertificateAuthorityConfigurationAttributes) InternalTokens

func (CertificateAuthorityConfigurationAttributes) InternalWithRef

func (CertificateAuthorityConfigurationAttributes) KeyAlgorithm

func (CertificateAuthorityConfigurationAttributes) SigningAlgorithm

func (CertificateAuthorityConfigurationAttributes) Subject

type CertificateAuthorityConfigurationState

type CertificateAuthorityConfigurationState struct {
	KeyAlgorithm     string                                          `json:"key_algorithm"`
	SigningAlgorithm string                                          `json:"signing_algorithm"`
	Subject          []CertificateAuthorityConfigurationSubjectState `json:"subject"`
}

type CertificateAuthorityConfigurationSubject

type CertificateAuthorityConfigurationSubject struct {
	// CommonName: string, optional
	CommonName terra.StringValue `hcl:"common_name,attr"`
	// Country: string, optional
	Country terra.StringValue `hcl:"country,attr"`
	// DistinguishedNameQualifier: string, optional
	DistinguishedNameQualifier terra.StringValue `hcl:"distinguished_name_qualifier,attr"`
	// GenerationQualifier: string, optional
	GenerationQualifier terra.StringValue `hcl:"generation_qualifier,attr"`
	// GivenName: string, optional
	GivenName terra.StringValue `hcl:"given_name,attr"`
	// Initials: string, optional
	Initials terra.StringValue `hcl:"initials,attr"`
	// Locality: string, optional
	Locality terra.StringValue `hcl:"locality,attr"`
	// Organization: string, optional
	Organization terra.StringValue `hcl:"organization,attr"`
	// OrganizationalUnit: string, optional
	OrganizationalUnit terra.StringValue `hcl:"organizational_unit,attr"`
	// Pseudonym: string, optional
	Pseudonym terra.StringValue `hcl:"pseudonym,attr"`
	// State: string, optional
	State terra.StringValue `hcl:"state,attr"`
	// Surname: string, optional
	Surname terra.StringValue `hcl:"surname,attr"`
	// Title: string, optional
	Title terra.StringValue `hcl:"title,attr"`
}

type CertificateAuthorityConfigurationSubjectAttributes

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

func (CertificateAuthorityConfigurationSubjectAttributes) CommonName

func (CertificateAuthorityConfigurationSubjectAttributes) Country

func (CertificateAuthorityConfigurationSubjectAttributes) DistinguishedNameQualifier

func (CertificateAuthorityConfigurationSubjectAttributes) GenerationQualifier

func (CertificateAuthorityConfigurationSubjectAttributes) GivenName

func (CertificateAuthorityConfigurationSubjectAttributes) Initials

func (CertificateAuthorityConfigurationSubjectAttributes) InternalRef

func (CertificateAuthorityConfigurationSubjectAttributes) InternalTokens

func (CertificateAuthorityConfigurationSubjectAttributes) InternalWithRef

func (CertificateAuthorityConfigurationSubjectAttributes) Locality

func (CertificateAuthorityConfigurationSubjectAttributes) Organization

func (CertificateAuthorityConfigurationSubjectAttributes) OrganizationalUnit

func (CertificateAuthorityConfigurationSubjectAttributes) Pseudonym

func (CertificateAuthorityConfigurationSubjectAttributes) State

func (CertificateAuthorityConfigurationSubjectAttributes) Surname

func (CertificateAuthorityConfigurationSubjectAttributes) Title

type CertificateAuthorityConfigurationSubjectState

type CertificateAuthorityConfigurationSubjectState struct {
	CommonName                 string `json:"common_name"`
	Country                    string `json:"country"`
	DistinguishedNameQualifier string `json:"distinguished_name_qualifier"`
	GenerationQualifier        string `json:"generation_qualifier"`
	GivenName                  string `json:"given_name"`
	Initials                   string `json:"initials"`
	Locality                   string `json:"locality"`
	Organization               string `json:"organization"`
	OrganizationalUnit         string `json:"organizational_unit"`
	Pseudonym                  string `json:"pseudonym"`
	State                      string `json:"state"`
	Surname                    string `json:"surname"`
	Title                      string `json:"title"`
}

type DataArgs

type DataArgs struct {
	// Arn: string, required
	Arn terra.StringValue `hcl:"arn,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// RevocationConfiguration: min=0
	RevocationConfiguration []DataRevocationConfiguration `hcl:"revocation_configuration,block" validate:"min=0"`
}

DataArgs contains the configurations for aws_acmpca_certificate_authority.

type DataRevocationConfiguration

type DataRevocationConfiguration struct {
	// RevocationConfigurationCrlConfiguration: min=0
	CrlConfiguration []DataRevocationConfigurationCrlConfiguration `hcl:"crl_configuration,block" validate:"min=0"`
	// RevocationConfigurationOcspConfiguration: min=0
	OcspConfiguration []DataRevocationConfigurationOcspConfiguration `hcl:"ocsp_configuration,block" validate:"min=0"`
}

type DataRevocationConfigurationAttributes

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

func (DataRevocationConfigurationAttributes) CrlConfiguration

func (DataRevocationConfigurationAttributes) InternalRef

func (DataRevocationConfigurationAttributes) InternalTokens

func (DataRevocationConfigurationAttributes) InternalWithRef

func (DataRevocationConfigurationAttributes) OcspConfiguration

type DataRevocationConfigurationCrlConfiguration

type DataRevocationConfigurationCrlConfiguration struct{}

type DataRevocationConfigurationCrlConfigurationAttributes

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

func (DataRevocationConfigurationCrlConfigurationAttributes) CustomCname

func (DataRevocationConfigurationCrlConfigurationAttributes) Enabled

func (DataRevocationConfigurationCrlConfigurationAttributes) ExpirationInDays

func (DataRevocationConfigurationCrlConfigurationAttributes) InternalRef

func (DataRevocationConfigurationCrlConfigurationAttributes) InternalTokens

func (DataRevocationConfigurationCrlConfigurationAttributes) InternalWithRef

func (DataRevocationConfigurationCrlConfigurationAttributes) S3BucketName

func (DataRevocationConfigurationCrlConfigurationAttributes) S3ObjectAcl

type DataRevocationConfigurationCrlConfigurationState

type DataRevocationConfigurationCrlConfigurationState struct {
	CustomCname      string  `json:"custom_cname"`
	Enabled          bool    `json:"enabled"`
	ExpirationInDays float64 `json:"expiration_in_days"`
	S3BucketName     string  `json:"s3_bucket_name"`
	S3ObjectAcl      string  `json:"s3_object_acl"`
}

type DataRevocationConfigurationOcspConfiguration

type DataRevocationConfigurationOcspConfiguration struct{}

type DataRevocationConfigurationOcspConfigurationAttributes

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

func (DataRevocationConfigurationOcspConfigurationAttributes) Enabled

func (DataRevocationConfigurationOcspConfigurationAttributes) InternalRef

func (DataRevocationConfigurationOcspConfigurationAttributes) InternalTokens

func (DataRevocationConfigurationOcspConfigurationAttributes) InternalWithRef

func (DataRevocationConfigurationOcspConfigurationAttributes) OcspCustomCname

type DataRevocationConfigurationOcspConfigurationState

type DataRevocationConfigurationOcspConfigurationState struct {
	Enabled         bool   `json:"enabled"`
	OcspCustomCname string `json:"ocsp_custom_cname"`
}

type DataRevocationConfigurationState

type DataRevocationConfigurationState struct {
	CrlConfiguration  []DataRevocationConfigurationCrlConfigurationState  `json:"crl_configuration"`
	OcspConfiguration []DataRevocationConfigurationOcspConfigurationState `json:"ocsp_configuration"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_acmpca_certificate_authority.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (aaca *DataSource) Attributes() dataAwsAcmpcaCertificateAuthorityAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

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

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (aaca *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (aaca *DataSource) LocalName() string

LocalName returns the local name for DataSource.

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (aaca *Resource) Attributes() awsAcmpcaCertificateAuthorityAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (aaca *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (aaca *Resource) State() (*awsAcmpcaCertificateAuthorityState, bool)

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

func (*Resource) StateMust

func (aaca *Resource) StateMust() *awsAcmpcaCertificateAuthorityState

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

func (*Resource) Type

func (aaca *Resource) Type() string

Type returns the Terraform object type for Resource.

type RevocationConfiguration

type RevocationConfiguration struct {
	// RevocationConfigurationCrlConfiguration: optional
	CrlConfiguration *RevocationConfigurationCrlConfiguration `hcl:"crl_configuration,block"`
	// RevocationConfigurationOcspConfiguration: optional
	OcspConfiguration *RevocationConfigurationOcspConfiguration `hcl:"ocsp_configuration,block"`
}

type RevocationConfigurationAttributes

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

func (RevocationConfigurationAttributes) CrlConfiguration

func (RevocationConfigurationAttributes) InternalRef

func (RevocationConfigurationAttributes) InternalTokens

func (rc RevocationConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RevocationConfigurationAttributes) InternalWithRef

func (RevocationConfigurationAttributes) OcspConfiguration

type RevocationConfigurationCrlConfiguration

type RevocationConfigurationCrlConfiguration struct {
	// CustomCname: string, optional
	CustomCname terra.StringValue `hcl:"custom_cname,attr"`
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
	// ExpirationInDays: number, required
	ExpirationInDays terra.NumberValue `hcl:"expiration_in_days,attr" validate:"required"`
	// S3BucketName: string, optional
	S3BucketName terra.StringValue `hcl:"s3_bucket_name,attr"`
	// S3ObjectAcl: string, optional
	S3ObjectAcl terra.StringValue `hcl:"s3_object_acl,attr"`
}

type RevocationConfigurationCrlConfigurationAttributes

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

func (RevocationConfigurationCrlConfigurationAttributes) CustomCname

func (RevocationConfigurationCrlConfigurationAttributes) Enabled

func (RevocationConfigurationCrlConfigurationAttributes) ExpirationInDays

func (RevocationConfigurationCrlConfigurationAttributes) InternalRef

func (RevocationConfigurationCrlConfigurationAttributes) InternalTokens

func (RevocationConfigurationCrlConfigurationAttributes) InternalWithRef

func (RevocationConfigurationCrlConfigurationAttributes) S3BucketName

func (RevocationConfigurationCrlConfigurationAttributes) S3ObjectAcl

type RevocationConfigurationCrlConfigurationState

type RevocationConfigurationCrlConfigurationState struct {
	CustomCname      string  `json:"custom_cname"`
	Enabled          bool    `json:"enabled"`
	ExpirationInDays float64 `json:"expiration_in_days"`
	S3BucketName     string  `json:"s3_bucket_name"`
	S3ObjectAcl      string  `json:"s3_object_acl"`
}

type RevocationConfigurationOcspConfiguration

type RevocationConfigurationOcspConfiguration struct {
	// Enabled: bool, required
	Enabled terra.BoolValue `hcl:"enabled,attr" validate:"required"`
	// OcspCustomCname: string, optional
	OcspCustomCname terra.StringValue `hcl:"ocsp_custom_cname,attr"`
}

type RevocationConfigurationOcspConfigurationAttributes

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

func (RevocationConfigurationOcspConfigurationAttributes) Enabled

func (RevocationConfigurationOcspConfigurationAttributes) InternalRef

func (RevocationConfigurationOcspConfigurationAttributes) InternalTokens

func (RevocationConfigurationOcspConfigurationAttributes) InternalWithRef

func (RevocationConfigurationOcspConfigurationAttributes) OcspCustomCname

type RevocationConfigurationOcspConfigurationState

type RevocationConfigurationOcspConfigurationState struct {
	Enabled         bool   `json:"enabled"`
	OcspCustomCname string `json:"ocsp_custom_cname"`
}

type RevocationConfigurationState

type RevocationConfigurationState struct {
	CrlConfiguration  []RevocationConfigurationCrlConfigurationState  `json:"crl_configuration"`
	OcspConfiguration []RevocationConfigurationOcspConfigurationState `json:"ocsp_configuration"`
}

type Timeouts

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

type TimeoutsAttributes

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

func (TimeoutsAttributes) Create

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

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
}

Jump to

Keyboard shortcuts

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