aws_connect_instance_storage_config

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"`
	// InstanceId: string, required
	InstanceId terra.StringValue `hcl:"instance_id,attr" validate:"required"`
	// ResourceType: string, required
	ResourceType terra.StringValue `hcl:"resource_type,attr" validate:"required"`
	// StorageConfig: required
	StorageConfig *StorageConfig `hcl:"storage_config,block" validate:"required"`
}

Args contains the configurations for aws_connect_instance_storage_config.

type DataArgs

type DataArgs struct {
	// AssociationId: string, required
	AssociationId terra.StringValue `hcl:"association_id,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// InstanceId: string, required
	InstanceId terra.StringValue `hcl:"instance_id,attr" validate:"required"`
	// ResourceType: string, required
	ResourceType terra.StringValue `hcl:"resource_type,attr" validate:"required"`
}

DataArgs contains the configurations for aws_connect_instance_storage_config.

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_connect_instance_storage_config.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (acisc *DataSource) Attributes() dataAwsConnectInstanceStorageConfigAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

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

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (acisc *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (acisc *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type DataStorageConfigAttributes

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

func (DataStorageConfigAttributes) InternalRef

func (sc DataStorageConfigAttributes) InternalRef() (terra.Reference, error)

func (DataStorageConfigAttributes) InternalTokens

func (sc DataStorageConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataStorageConfigAttributes) InternalWithRef

func (DataStorageConfigAttributes) KinesisFirehoseConfig

func (DataStorageConfigAttributes) KinesisStreamConfig

func (DataStorageConfigAttributes) KinesisVideoStreamConfig

func (DataStorageConfigAttributes) S3Config

func (DataStorageConfigAttributes) StorageType

type DataStorageConfigKinesisFirehoseConfigAttributes

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

func (DataStorageConfigKinesisFirehoseConfigAttributes) FirehoseArn

func (DataStorageConfigKinesisFirehoseConfigAttributes) InternalRef

func (DataStorageConfigKinesisFirehoseConfigAttributes) InternalTokens

func (DataStorageConfigKinesisFirehoseConfigAttributes) InternalWithRef

type DataStorageConfigKinesisFirehoseConfigState

type DataStorageConfigKinesisFirehoseConfigState struct {
	FirehoseArn string `json:"firehose_arn"`
}

type DataStorageConfigKinesisStreamConfigAttributes

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

func (DataStorageConfigKinesisStreamConfigAttributes) InternalRef

func (DataStorageConfigKinesisStreamConfigAttributes) InternalTokens

func (DataStorageConfigKinesisStreamConfigAttributes) InternalWithRef

func (DataStorageConfigKinesisStreamConfigAttributes) StreamArn

type DataStorageConfigKinesisStreamConfigState

type DataStorageConfigKinesisStreamConfigState struct {
	StreamArn string `json:"stream_arn"`
}

type DataStorageConfigKinesisVideoStreamConfigAttributes

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

func (DataStorageConfigKinesisVideoStreamConfigAttributes) InternalRef

func (DataStorageConfigKinesisVideoStreamConfigAttributes) InternalTokens

func (DataStorageConfigKinesisVideoStreamConfigAttributes) InternalWithRef

func (DataStorageConfigKinesisVideoStreamConfigAttributes) Prefix

func (DataStorageConfigKinesisVideoStreamConfigAttributes) RetentionPeriodHours

type DataStorageConfigKinesisVideoStreamConfigEncryptionConfigAttributes

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

func (DataStorageConfigKinesisVideoStreamConfigEncryptionConfigAttributes) EncryptionType

func (DataStorageConfigKinesisVideoStreamConfigEncryptionConfigAttributes) InternalRef

func (DataStorageConfigKinesisVideoStreamConfigEncryptionConfigAttributes) InternalTokens

func (DataStorageConfigKinesisVideoStreamConfigEncryptionConfigAttributes) InternalWithRef

func (DataStorageConfigKinesisVideoStreamConfigEncryptionConfigAttributes) KeyId

type DataStorageConfigKinesisVideoStreamConfigEncryptionConfigState

type DataStorageConfigKinesisVideoStreamConfigEncryptionConfigState struct {
	EncryptionType string `json:"encryption_type"`
	KeyId          string `json:"key_id"`
}

type DataStorageConfigKinesisVideoStreamConfigState

type DataStorageConfigKinesisVideoStreamConfigState struct {
	Prefix               string                                                           `json:"prefix"`
	RetentionPeriodHours float64                                                          `json:"retention_period_hours"`
	EncryptionConfig     []DataStorageConfigKinesisVideoStreamConfigEncryptionConfigState `json:"encryption_config"`
}

type DataStorageConfigS3ConfigAttributes

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

func (DataStorageConfigS3ConfigAttributes) BucketName

func (DataStorageConfigS3ConfigAttributes) BucketPrefix

func (DataStorageConfigS3ConfigAttributes) EncryptionConfig

func (DataStorageConfigS3ConfigAttributes) InternalRef

func (DataStorageConfigS3ConfigAttributes) InternalTokens

func (DataStorageConfigS3ConfigAttributes) InternalWithRef

type DataStorageConfigS3ConfigEncryptionConfigAttributes

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

func (DataStorageConfigS3ConfigEncryptionConfigAttributes) EncryptionType

func (DataStorageConfigS3ConfigEncryptionConfigAttributes) InternalRef

func (DataStorageConfigS3ConfigEncryptionConfigAttributes) InternalTokens

func (DataStorageConfigS3ConfigEncryptionConfigAttributes) InternalWithRef

func (DataStorageConfigS3ConfigEncryptionConfigAttributes) KeyId

type DataStorageConfigS3ConfigEncryptionConfigState

type DataStorageConfigS3ConfigEncryptionConfigState struct {
	EncryptionType string `json:"encryption_type"`
	KeyId          string `json:"key_id"`
}

type DataStorageConfigS3ConfigState

type DataStorageConfigS3ConfigState struct {
	BucketName       string                                           `json:"bucket_name"`
	BucketPrefix     string                                           `json:"bucket_prefix"`
	EncryptionConfig []DataStorageConfigS3ConfigEncryptionConfigState `json:"encryption_config"`
}

type DataStorageConfigState

type DataStorageConfigState struct {
	StorageType              string                                           `json:"storage_type"`
	KinesisFirehoseConfig    []DataStorageConfigKinesisFirehoseConfigState    `json:"kinesis_firehose_config"`
	KinesisStreamConfig      []DataStorageConfigKinesisStreamConfigState      `json:"kinesis_stream_config"`
	KinesisVideoStreamConfig []DataStorageConfigKinesisVideoStreamConfigState `json:"kinesis_video_stream_config"`
	S3Config                 []DataStorageConfigS3ConfigState                 `json:"s3_config"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (acisc *Resource) Attributes() awsConnectInstanceStorageConfigAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (acisc *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (acisc *Resource) State() (*awsConnectInstanceStorageConfigState, bool)

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

func (*Resource) StateMust

func (acisc *Resource) StateMust() *awsConnectInstanceStorageConfigState

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

func (*Resource) Type

func (acisc *Resource) Type() string

Type returns the Terraform object type for Resource.

type StorageConfig

type StorageConfig struct {
	// StorageType: string, required
	StorageType terra.StringValue `hcl:"storage_type,attr" validate:"required"`
	// StorageConfigKinesisFirehoseConfig: optional
	KinesisFirehoseConfig *StorageConfigKinesisFirehoseConfig `hcl:"kinesis_firehose_config,block"`
	// StorageConfigKinesisStreamConfig: optional
	KinesisStreamConfig *StorageConfigKinesisStreamConfig `hcl:"kinesis_stream_config,block"`
	// StorageConfigKinesisVideoStreamConfig: optional
	KinesisVideoStreamConfig *StorageConfigKinesisVideoStreamConfig `hcl:"kinesis_video_stream_config,block"`
	// StorageConfigS3Config: optional
	S3Config *StorageConfigS3Config `hcl:"s3_config,block"`
}

type StorageConfigAttributes

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

func (StorageConfigAttributes) InternalRef

func (sc StorageConfigAttributes) InternalRef() (terra.Reference, error)

func (StorageConfigAttributes) InternalTokens

func (sc StorageConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (StorageConfigAttributes) InternalWithRef

func (StorageConfigAttributes) KinesisFirehoseConfig

func (StorageConfigAttributes) KinesisStreamConfig

func (StorageConfigAttributes) KinesisVideoStreamConfig

func (StorageConfigAttributes) S3Config

func (StorageConfigAttributes) StorageType

func (sc StorageConfigAttributes) StorageType() terra.StringValue

type StorageConfigKinesisFirehoseConfig

type StorageConfigKinesisFirehoseConfig struct {
	// FirehoseArn: string, required
	FirehoseArn terra.StringValue `hcl:"firehose_arn,attr" validate:"required"`
}

type StorageConfigKinesisFirehoseConfigAttributes

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

func (StorageConfigKinesisFirehoseConfigAttributes) FirehoseArn

func (StorageConfigKinesisFirehoseConfigAttributes) InternalRef

func (StorageConfigKinesisFirehoseConfigAttributes) InternalTokens

func (StorageConfigKinesisFirehoseConfigAttributes) InternalWithRef

type StorageConfigKinesisFirehoseConfigState

type StorageConfigKinesisFirehoseConfigState struct {
	FirehoseArn string `json:"firehose_arn"`
}

type StorageConfigKinesisStreamConfig

type StorageConfigKinesisStreamConfig struct {
	// StreamArn: string, required
	StreamArn terra.StringValue `hcl:"stream_arn,attr" validate:"required"`
}

type StorageConfigKinesisStreamConfigAttributes

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

func (StorageConfigKinesisStreamConfigAttributes) InternalRef

func (StorageConfigKinesisStreamConfigAttributes) InternalTokens

func (StorageConfigKinesisStreamConfigAttributes) InternalWithRef

func (StorageConfigKinesisStreamConfigAttributes) StreamArn

type StorageConfigKinesisStreamConfigState

type StorageConfigKinesisStreamConfigState struct {
	StreamArn string `json:"stream_arn"`
}

type StorageConfigKinesisVideoStreamConfig

type StorageConfigKinesisVideoStreamConfig struct {
	// Prefix: string, required
	Prefix terra.StringValue `hcl:"prefix,attr" validate:"required"`
	// RetentionPeriodHours: number, required
	RetentionPeriodHours terra.NumberValue `hcl:"retention_period_hours,attr" validate:"required"`
	// StorageConfigKinesisVideoStreamConfigEncryptionConfig: required
	EncryptionConfig *StorageConfigKinesisVideoStreamConfigEncryptionConfig `hcl:"encryption_config,block" validate:"required"`
}

type StorageConfigKinesisVideoStreamConfigAttributes

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

func (StorageConfigKinesisVideoStreamConfigAttributes) InternalRef

func (StorageConfigKinesisVideoStreamConfigAttributes) InternalTokens

func (StorageConfigKinesisVideoStreamConfigAttributes) InternalWithRef

func (StorageConfigKinesisVideoStreamConfigAttributes) Prefix

func (StorageConfigKinesisVideoStreamConfigAttributes) RetentionPeriodHours

type StorageConfigKinesisVideoStreamConfigEncryptionConfig

type StorageConfigKinesisVideoStreamConfigEncryptionConfig struct {
	// EncryptionType: string, required
	EncryptionType terra.StringValue `hcl:"encryption_type,attr" validate:"required"`
	// KeyId: string, required
	KeyId terra.StringValue `hcl:"key_id,attr" validate:"required"`
}

type StorageConfigKinesisVideoStreamConfigEncryptionConfigAttributes

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

func (StorageConfigKinesisVideoStreamConfigEncryptionConfigAttributes) EncryptionType

func (StorageConfigKinesisVideoStreamConfigEncryptionConfigAttributes) InternalRef

func (StorageConfigKinesisVideoStreamConfigEncryptionConfigAttributes) InternalTokens

func (StorageConfigKinesisVideoStreamConfigEncryptionConfigAttributes) InternalWithRef

func (StorageConfigKinesisVideoStreamConfigEncryptionConfigAttributes) KeyId

type StorageConfigKinesisVideoStreamConfigEncryptionConfigState

type StorageConfigKinesisVideoStreamConfigEncryptionConfigState struct {
	EncryptionType string `json:"encryption_type"`
	KeyId          string `json:"key_id"`
}

type StorageConfigKinesisVideoStreamConfigState

type StorageConfigKinesisVideoStreamConfigState struct {
	Prefix               string                                                       `json:"prefix"`
	RetentionPeriodHours float64                                                      `json:"retention_period_hours"`
	EncryptionConfig     []StorageConfigKinesisVideoStreamConfigEncryptionConfigState `json:"encryption_config"`
}

type StorageConfigS3Config

type StorageConfigS3Config struct {
	// BucketName: string, required
	BucketName terra.StringValue `hcl:"bucket_name,attr" validate:"required"`
	// BucketPrefix: string, required
	BucketPrefix terra.StringValue `hcl:"bucket_prefix,attr" validate:"required"`
	// StorageConfigS3ConfigEncryptionConfig: optional
	EncryptionConfig *StorageConfigS3ConfigEncryptionConfig `hcl:"encryption_config,block"`
}

type StorageConfigS3ConfigAttributes

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

func (StorageConfigS3ConfigAttributes) BucketName

func (StorageConfigS3ConfigAttributes) BucketPrefix

func (StorageConfigS3ConfigAttributes) EncryptionConfig

func (StorageConfigS3ConfigAttributes) InternalRef

func (StorageConfigS3ConfigAttributes) InternalTokens

func (sc StorageConfigS3ConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (StorageConfigS3ConfigAttributes) InternalWithRef

type StorageConfigS3ConfigEncryptionConfig

type StorageConfigS3ConfigEncryptionConfig struct {
	// EncryptionType: string, required
	EncryptionType terra.StringValue `hcl:"encryption_type,attr" validate:"required"`
	// KeyId: string, required
	KeyId terra.StringValue `hcl:"key_id,attr" validate:"required"`
}

type StorageConfigS3ConfigEncryptionConfigAttributes

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

func (StorageConfigS3ConfigEncryptionConfigAttributes) EncryptionType

func (StorageConfigS3ConfigEncryptionConfigAttributes) InternalRef

func (StorageConfigS3ConfigEncryptionConfigAttributes) InternalTokens

func (StorageConfigS3ConfigEncryptionConfigAttributes) InternalWithRef

func (StorageConfigS3ConfigEncryptionConfigAttributes) KeyId

type StorageConfigS3ConfigEncryptionConfigState

type StorageConfigS3ConfigEncryptionConfigState struct {
	EncryptionType string `json:"encryption_type"`
	KeyId          string `json:"key_id"`
}

type StorageConfigS3ConfigState

type StorageConfigS3ConfigState struct {
	BucketName       string                                       `json:"bucket_name"`
	BucketPrefix     string                                       `json:"bucket_prefix"`
	EncryptionConfig []StorageConfigS3ConfigEncryptionConfigState `json:"encryption_config"`
}

type StorageConfigState

type StorageConfigState struct {
	StorageType              string                                       `json:"storage_type"`
	KinesisFirehoseConfig    []StorageConfigKinesisFirehoseConfigState    `json:"kinesis_firehose_config"`
	KinesisStreamConfig      []StorageConfigKinesisStreamConfigState      `json:"kinesis_stream_config"`
	KinesisVideoStreamConfig []StorageConfigKinesisVideoStreamConfigState `json:"kinesis_video_stream_config"`
	S3Config                 []StorageConfigS3ConfigState                 `json:"s3_config"`
}

Jump to

Keyboard shortcuts

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