aws_iot_domain_configuration

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 {
	// DomainName: string, optional
	DomainName terra.StringValue `hcl:"domain_name,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// ServerCertificateArns: set of string, optional
	ServerCertificateArns terra.SetValue[terra.StringValue] `hcl:"server_certificate_arns,attr"`
	// ServiceType: string, optional
	ServiceType terra.StringValue `hcl:"service_type,attr"`
	// Status: string, optional
	Status terra.StringValue `hcl:"status,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"`
	// ValidationCertificateArn: string, optional
	ValidationCertificateArn terra.StringValue `hcl:"validation_certificate_arn,attr"`
	// AuthorizerConfig: optional
	AuthorizerConfig *AuthorizerConfig `hcl:"authorizer_config,block"`
	// TlsConfig: optional
	TlsConfig *TlsConfig `hcl:"tls_config,block"`
}

Args contains the configurations for aws_iot_domain_configuration.

type AuthorizerConfig

type AuthorizerConfig struct {
	// AllowAuthorizerOverride: bool, optional
	AllowAuthorizerOverride terra.BoolValue `hcl:"allow_authorizer_override,attr"`
	// DefaultAuthorizerName: string, optional
	DefaultAuthorizerName terra.StringValue `hcl:"default_authorizer_name,attr"`
}

type AuthorizerConfigAttributes

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

func (AuthorizerConfigAttributes) AllowAuthorizerOverride

func (ac AuthorizerConfigAttributes) AllowAuthorizerOverride() terra.BoolValue

func (AuthorizerConfigAttributes) DefaultAuthorizerName

func (ac AuthorizerConfigAttributes) DefaultAuthorizerName() terra.StringValue

func (AuthorizerConfigAttributes) InternalRef

func (ac AuthorizerConfigAttributes) InternalRef() (terra.Reference, error)

func (AuthorizerConfigAttributes) InternalTokens

func (ac AuthorizerConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AuthorizerConfigAttributes) InternalWithRef

type AuthorizerConfigState

type AuthorizerConfigState struct {
	AllowAuthorizerOverride bool   `json:"allow_authorizer_override"`
	DefaultAuthorizerName   string `json:"default_authorizer_name"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (aidc *Resource) Attributes() awsIotDomainConfigurationAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (aidc *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (aidc *Resource) State() (*awsIotDomainConfigurationState, bool)

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

func (*Resource) StateMust

func (aidc *Resource) StateMust() *awsIotDomainConfigurationState

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

func (*Resource) Type

func (aidc *Resource) Type() string

Type returns the Terraform object type for Resource.

type TlsConfig

type TlsConfig struct {
	// SecurityPolicy: string, optional
	SecurityPolicy terra.StringValue `hcl:"security_policy,attr"`
}

type TlsConfigAttributes

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

func (TlsConfigAttributes) InternalRef

func (tc TlsConfigAttributes) InternalRef() (terra.Reference, error)

func (TlsConfigAttributes) InternalTokens

func (tc TlsConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TlsConfigAttributes) InternalWithRef

func (tc TlsConfigAttributes) InternalWithRef(ref terra.Reference) TlsConfigAttributes

func (TlsConfigAttributes) SecurityPolicy

func (tc TlsConfigAttributes) SecurityPolicy() terra.StringValue

type TlsConfigState

type TlsConfigState struct {
	SecurityPolicy string `json:"security_policy"`
}

Jump to

Keyboard shortcuts

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