aws_acm_certificate

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 {
	// CertificateAuthorityArn: string, optional
	CertificateAuthorityArn terra.StringValue `hcl:"certificate_authority_arn,attr"`
	// CertificateBody: string, optional
	CertificateBody terra.StringValue `hcl:"certificate_body,attr"`
	// CertificateChain: string, optional
	CertificateChain terra.StringValue `hcl:"certificate_chain,attr"`
	// DomainName: string, optional
	DomainName terra.StringValue `hcl:"domain_name,attr"`
	// EarlyRenewalDuration: string, optional
	EarlyRenewalDuration terra.StringValue `hcl:"early_renewal_duration,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// KeyAlgorithm: string, optional
	KeyAlgorithm terra.StringValue `hcl:"key_algorithm,attr"`
	// PrivateKey: string, optional
	PrivateKey terra.StringValue `hcl:"private_key,attr"`
	// SubjectAlternativeNames: set of string, optional
	SubjectAlternativeNames terra.SetValue[terra.StringValue] `hcl:"subject_alternative_names,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"`
	// ValidationMethod: string, optional
	ValidationMethod terra.StringValue `hcl:"validation_method,attr"`
	// Options: optional
	Options *Options `hcl:"options,block"`
	// ValidationOption: min=0
	ValidationOption []ValidationOption `hcl:"validation_option,block" validate:"min=0"`
}

Args contains the configurations for aws_acm_certificate.

type DataArgs

type DataArgs struct {
	// Domain: string, required
	Domain terra.StringValue `hcl:"domain,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// KeyTypes: set of string, optional
	KeyTypes terra.SetValue[terra.StringValue] `hcl:"key_types,attr"`
	// MostRecent: bool, optional
	MostRecent terra.BoolValue `hcl:"most_recent,attr"`
	// Statuses: list of string, optional
	Statuses terra.ListValue[terra.StringValue] `hcl:"statuses,attr"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// Types: list of string, optional
	Types terra.ListValue[terra.StringValue] `hcl:"types,attr"`
}

DataArgs contains the configurations for aws_acm_certificate.

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_acm_certificate.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (aac *DataSource) Attributes() dataAwsAcmCertificateAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

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

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (aac *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (aac *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type DomainValidationOptionsAttributes

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

func (DomainValidationOptionsAttributes) DomainName

func (DomainValidationOptionsAttributes) InternalRef

func (DomainValidationOptionsAttributes) InternalTokens

func (dvo DomainValidationOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DomainValidationOptionsAttributes) InternalWithRef

func (DomainValidationOptionsAttributes) ResourceRecordName

func (dvo DomainValidationOptionsAttributes) ResourceRecordName() terra.StringValue

func (DomainValidationOptionsAttributes) ResourceRecordType

func (dvo DomainValidationOptionsAttributes) ResourceRecordType() terra.StringValue

func (DomainValidationOptionsAttributes) ResourceRecordValue

func (dvo DomainValidationOptionsAttributes) ResourceRecordValue() terra.StringValue

type DomainValidationOptionsState

type DomainValidationOptionsState struct {
	DomainName          string `json:"domain_name"`
	ResourceRecordName  string `json:"resource_record_name"`
	ResourceRecordType  string `json:"resource_record_type"`
	ResourceRecordValue string `json:"resource_record_value"`
}

type Options

type Options struct {
	// CertificateTransparencyLoggingPreference: string, optional
	CertificateTransparencyLoggingPreference terra.StringValue `hcl:"certificate_transparency_logging_preference,attr"`
}

type OptionsAttributes

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

func (OptionsAttributes) CertificateTransparencyLoggingPreference

func (o OptionsAttributes) CertificateTransparencyLoggingPreference() terra.StringValue

func (OptionsAttributes) InternalRef

func (o OptionsAttributes) InternalRef() (terra.Reference, error)

func (OptionsAttributes) InternalTokens

func (o OptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OptionsAttributes) InternalWithRef

func (o OptionsAttributes) InternalWithRef(ref terra.Reference) OptionsAttributes

type OptionsState

type OptionsState struct {
	CertificateTransparencyLoggingPreference string `json:"certificate_transparency_logging_preference"`
}

type RenewalSummaryAttributes

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

func (RenewalSummaryAttributes) InternalRef

func (rs RenewalSummaryAttributes) InternalRef() (terra.Reference, error)

func (RenewalSummaryAttributes) InternalTokens

func (rs RenewalSummaryAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RenewalSummaryAttributes) InternalWithRef

func (RenewalSummaryAttributes) RenewalStatus

func (rs RenewalSummaryAttributes) RenewalStatus() terra.StringValue

func (RenewalSummaryAttributes) RenewalStatusReason

func (rs RenewalSummaryAttributes) RenewalStatusReason() terra.StringValue

func (RenewalSummaryAttributes) UpdatedAt

type RenewalSummaryState

type RenewalSummaryState struct {
	RenewalStatus       string `json:"renewal_status"`
	RenewalStatusReason string `json:"renewal_status_reason"`
	UpdatedAt           string `json:"updated_at"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (aac *Resource) Attributes() awsAcmCertificateAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (aac *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (aac *Resource) State() (*awsAcmCertificateState, bool)

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

func (*Resource) StateMust

func (aac *Resource) StateMust() *awsAcmCertificateState

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

func (*Resource) Type

func (aac *Resource) Type() string

Type returns the Terraform object type for Resource.

type ValidationOption

type ValidationOption struct {
	// DomainName: string, required
	DomainName terra.StringValue `hcl:"domain_name,attr" validate:"required"`
	// ValidationDomain: string, required
	ValidationDomain terra.StringValue `hcl:"validation_domain,attr" validate:"required"`
}

type ValidationOptionAttributes

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

func (ValidationOptionAttributes) DomainName

func (ValidationOptionAttributes) InternalRef

func (vo ValidationOptionAttributes) InternalRef() (terra.Reference, error)

func (ValidationOptionAttributes) InternalTokens

func (vo ValidationOptionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ValidationOptionAttributes) InternalWithRef

func (ValidationOptionAttributes) ValidationDomain

func (vo ValidationOptionAttributes) ValidationDomain() terra.StringValue

type ValidationOptionState

type ValidationOptionState struct {
	DomainName       string `json:"domain_name"`
	ValidationDomain string `json:"validation_domain"`
}

Jump to

Keyboard shortcuts

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