aws_apigatewayv2_domain_name

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 {
	// DomainName: string, required
	DomainName terra.StringValue `hcl:"domain_name,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"`
	// TagsAll: map of string, optional
	TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,attr"`
	// DomainNameConfiguration: required
	DomainNameConfiguration *DomainNameConfiguration `hcl:"domain_name_configuration,block" validate:"required"`
	// MutualTlsAuthentication: optional
	MutualTlsAuthentication *MutualTlsAuthentication `hcl:"mutual_tls_authentication,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for aws_apigatewayv2_domain_name.

type DomainNameConfiguration

type DomainNameConfiguration struct {
	// CertificateArn: string, required
	CertificateArn terra.StringValue `hcl:"certificate_arn,attr" validate:"required"`
	// EndpointType: string, required
	EndpointType terra.StringValue `hcl:"endpoint_type,attr" validate:"required"`
	// OwnershipVerificationCertificateArn: string, optional
	OwnershipVerificationCertificateArn terra.StringValue `hcl:"ownership_verification_certificate_arn,attr"`
	// SecurityPolicy: string, required
	SecurityPolicy terra.StringValue `hcl:"security_policy,attr" validate:"required"`
}

type DomainNameConfigurationAttributes

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

func (DomainNameConfigurationAttributes) CertificateArn

func (DomainNameConfigurationAttributes) EndpointType

func (DomainNameConfigurationAttributes) HostedZoneId

func (DomainNameConfigurationAttributes) InternalRef

func (DomainNameConfigurationAttributes) InternalTokens

func (dnc DomainNameConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DomainNameConfigurationAttributes) InternalWithRef

func (DomainNameConfigurationAttributes) OwnershipVerificationCertificateArn

func (dnc DomainNameConfigurationAttributes) OwnershipVerificationCertificateArn() terra.StringValue

func (DomainNameConfigurationAttributes) SecurityPolicy

func (DomainNameConfigurationAttributes) TargetDomainName

func (dnc DomainNameConfigurationAttributes) TargetDomainName() terra.StringValue

type DomainNameConfigurationState

type DomainNameConfigurationState struct {
	CertificateArn                      string `json:"certificate_arn"`
	EndpointType                        string `json:"endpoint_type"`
	HostedZoneId                        string `json:"hosted_zone_id"`
	OwnershipVerificationCertificateArn string `json:"ownership_verification_certificate_arn"`
	SecurityPolicy                      string `json:"security_policy"`
	TargetDomainName                    string `json:"target_domain_name"`
}

type MutualTlsAuthentication

type MutualTlsAuthentication struct {
	// TruststoreUri: string, required
	TruststoreUri terra.StringValue `hcl:"truststore_uri,attr" validate:"required"`
	// TruststoreVersion: string, optional
	TruststoreVersion terra.StringValue `hcl:"truststore_version,attr"`
}

type MutualTlsAuthenticationAttributes

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

func (MutualTlsAuthenticationAttributes) InternalRef

func (MutualTlsAuthenticationAttributes) InternalTokens

func (mta MutualTlsAuthenticationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MutualTlsAuthenticationAttributes) InternalWithRef

func (MutualTlsAuthenticationAttributes) TruststoreUri

func (MutualTlsAuthenticationAttributes) TruststoreVersion

func (mta MutualTlsAuthenticationAttributes) TruststoreVersion() terra.StringValue

type MutualTlsAuthenticationState

type MutualTlsAuthenticationState struct {
	TruststoreUri     string `json:"truststore_uri"`
	TruststoreVersion string `json:"truststore_version"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (aadn *Resource) Attributes() awsApigatewayv2DomainNameAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (aadn *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (aadn *Resource) State() (*awsApigatewayv2DomainNameState, bool)

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

func (*Resource) StateMust

func (aadn *Resource) StateMust() *awsApigatewayv2DomainNameState

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

func (*Resource) Type

func (aadn *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"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,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

func (TimeoutsAttributes) Update

type TimeoutsState

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

Jump to

Keyboard shortcuts

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