mskcluster

package
v0.0.0-...-c2cc54e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BrokerLogs

type BrokerLogs struct {
	// CloudwatchLogs: optional
	CloudwatchLogs *CloudwatchLogs `hcl:"cloudwatch_logs,block"`
	// Firehose: optional
	Firehose *Firehose `hcl:"firehose,block"`
	// S3: optional
	S3 *S3 `hcl:"s3,block"`
}

type BrokerLogsAttributes

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

func (BrokerLogsAttributes) CloudwatchLogs

func (BrokerLogsAttributes) Firehose

func (BrokerLogsAttributes) InternalRef

func (bl BrokerLogsAttributes) InternalRef() (terra.Reference, error)

func (BrokerLogsAttributes) InternalTokens

func (bl BrokerLogsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (BrokerLogsAttributes) InternalWithRef

func (bl BrokerLogsAttributes) InternalWithRef(ref terra.Reference) BrokerLogsAttributes

func (BrokerLogsAttributes) S3

type BrokerLogsState

type BrokerLogsState struct {
	CloudwatchLogs []CloudwatchLogsState `json:"cloudwatch_logs"`
	Firehose       []FirehoseState       `json:"firehose"`
	S3             []S3State             `json:"s3"`
}

type BrokerNodeGroupInfo

type BrokerNodeGroupInfo struct {
	// AzDistribution: string, optional
	AzDistribution terra.StringValue `hcl:"az_distribution,attr"`
	// ClientSubnets: set of string, required
	ClientSubnets terra.SetValue[terra.StringValue] `hcl:"client_subnets,attr" validate:"required"`
	// EbsVolumeSize: number, optional
	EbsVolumeSize terra.NumberValue `hcl:"ebs_volume_size,attr"`
	// InstanceType: string, required
	InstanceType terra.StringValue `hcl:"instance_type,attr" validate:"required"`
	// SecurityGroups: set of string, required
	SecurityGroups terra.SetValue[terra.StringValue] `hcl:"security_groups,attr" validate:"required"`
	// ConnectivityInfo: optional
	ConnectivityInfo *ConnectivityInfo `hcl:"connectivity_info,block"`
	// StorageInfo: optional
	StorageInfo *StorageInfo `hcl:"storage_info,block"`
}

type BrokerNodeGroupInfoAttributes

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

func (BrokerNodeGroupInfoAttributes) AzDistribution

func (bngi BrokerNodeGroupInfoAttributes) AzDistribution() terra.StringValue

func (BrokerNodeGroupInfoAttributes) ClientSubnets

func (BrokerNodeGroupInfoAttributes) ConnectivityInfo

func (BrokerNodeGroupInfoAttributes) EbsVolumeSize

func (bngi BrokerNodeGroupInfoAttributes) EbsVolumeSize() terra.NumberValue

func (BrokerNodeGroupInfoAttributes) InstanceType

func (bngi BrokerNodeGroupInfoAttributes) InstanceType() terra.StringValue

func (BrokerNodeGroupInfoAttributes) InternalRef

func (bngi BrokerNodeGroupInfoAttributes) InternalRef() (terra.Reference, error)

func (BrokerNodeGroupInfoAttributes) InternalTokens

func (bngi BrokerNodeGroupInfoAttributes) InternalTokens() (hclwrite.Tokens, error)

func (BrokerNodeGroupInfoAttributes) InternalWithRef

func (BrokerNodeGroupInfoAttributes) SecurityGroups

func (BrokerNodeGroupInfoAttributes) StorageInfo

type BrokerNodeGroupInfoState

type BrokerNodeGroupInfoState struct {
	AzDistribution   string                  `json:"az_distribution"`
	ClientSubnets    []string                `json:"client_subnets"`
	EbsVolumeSize    float64                 `json:"ebs_volume_size"`
	InstanceType     string                  `json:"instance_type"`
	SecurityGroups   []string                `json:"security_groups"`
	ConnectivityInfo []ConnectivityInfoState `json:"connectivity_info"`
	StorageInfo      []StorageInfoState      `json:"storage_info"`
}

type ClientAuthentication

type ClientAuthentication struct {
	// Unauthenticated: bool, optional
	Unauthenticated terra.BoolValue `hcl:"unauthenticated,attr"`
	// Sasl: optional
	Sasl *Sasl `hcl:"sasl,block"`
	// Tls: optional
	Tls *Tls `hcl:"tls,block"`
}

type ClientAuthenticationAttributes

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

func (ClientAuthenticationAttributes) InternalRef

func (ClientAuthenticationAttributes) InternalTokens

func (ca ClientAuthenticationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ClientAuthenticationAttributes) InternalWithRef

func (ClientAuthenticationAttributes) Sasl

func (ClientAuthenticationAttributes) Tls

func (ClientAuthenticationAttributes) Unauthenticated

func (ca ClientAuthenticationAttributes) Unauthenticated() terra.BoolValue

type ClientAuthenticationState

type ClientAuthenticationState struct {
	Unauthenticated bool        `json:"unauthenticated"`
	Sasl            []SaslState `json:"sasl"`
	Tls             []TlsState  `json:"tls"`
}

type CloudwatchLogs

type CloudwatchLogs struct {
	// Enabled: bool, required
	Enabled terra.BoolValue `hcl:"enabled,attr" validate:"required"`
	// LogGroup: string, optional
	LogGroup terra.StringValue `hcl:"log_group,attr"`
}

type CloudwatchLogsAttributes

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

func (CloudwatchLogsAttributes) Enabled

func (CloudwatchLogsAttributes) InternalRef

func (cl CloudwatchLogsAttributes) InternalRef() (terra.Reference, error)

func (CloudwatchLogsAttributes) InternalTokens

func (cl CloudwatchLogsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CloudwatchLogsAttributes) InternalWithRef

func (CloudwatchLogsAttributes) LogGroup

type CloudwatchLogsState

type CloudwatchLogsState struct {
	Enabled  bool   `json:"enabled"`
	LogGroup string `json:"log_group"`
}

type ConfigurationInfo

type ConfigurationInfo struct {
	// Arn: string, required
	Arn terra.StringValue `hcl:"arn,attr" validate:"required"`
	// Revision: number, required
	Revision terra.NumberValue `hcl:"revision,attr" validate:"required"`
}

type ConfigurationInfoAttributes

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

func (ConfigurationInfoAttributes) Arn

func (ConfigurationInfoAttributes) InternalRef

func (ci ConfigurationInfoAttributes) InternalRef() (terra.Reference, error)

func (ConfigurationInfoAttributes) InternalTokens

func (ci ConfigurationInfoAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ConfigurationInfoAttributes) InternalWithRef

func (ConfigurationInfoAttributes) Revision

type ConfigurationInfoState

type ConfigurationInfoState struct {
	Arn      string  `json:"arn"`
	Revision float64 `json:"revision"`
}

type ConnectivityInfo

type ConnectivityInfo struct {
	// PublicAccess: optional
	PublicAccess *PublicAccess `hcl:"public_access,block"`
}

type ConnectivityInfoAttributes

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

func (ConnectivityInfoAttributes) InternalRef

func (ci ConnectivityInfoAttributes) InternalRef() (terra.Reference, error)

func (ConnectivityInfoAttributes) InternalTokens

func (ci ConnectivityInfoAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ConnectivityInfoAttributes) InternalWithRef

func (ConnectivityInfoAttributes) PublicAccess

type ConnectivityInfoState

type ConnectivityInfoState struct {
	PublicAccess []PublicAccessState `json:"public_access"`
}

type EbsStorageInfo

type EbsStorageInfo struct {
	// VolumeSize: number, optional
	VolumeSize terra.NumberValue `hcl:"volume_size,attr"`
	// ProvisionedThroughput: optional
	ProvisionedThroughput *ProvisionedThroughput `hcl:"provisioned_throughput,block"`
}

type EbsStorageInfoAttributes

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

func (EbsStorageInfoAttributes) InternalRef

func (esi EbsStorageInfoAttributes) InternalRef() (terra.Reference, error)

func (EbsStorageInfoAttributes) InternalTokens

func (esi EbsStorageInfoAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EbsStorageInfoAttributes) InternalWithRef

func (EbsStorageInfoAttributes) ProvisionedThroughput

func (EbsStorageInfoAttributes) VolumeSize

func (esi EbsStorageInfoAttributes) VolumeSize() terra.NumberValue

type EbsStorageInfoState

type EbsStorageInfoState struct {
	VolumeSize            float64                      `json:"volume_size"`
	ProvisionedThroughput []ProvisionedThroughputState `json:"provisioned_throughput"`
}

type EncryptionInTransit

type EncryptionInTransit struct {
	// ClientBroker: string, optional
	ClientBroker terra.StringValue `hcl:"client_broker,attr"`
	// InCluster: bool, optional
	InCluster terra.BoolValue `hcl:"in_cluster,attr"`
}

type EncryptionInTransitAttributes

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

func (EncryptionInTransitAttributes) ClientBroker

func (eit EncryptionInTransitAttributes) ClientBroker() terra.StringValue

func (EncryptionInTransitAttributes) InCluster

func (EncryptionInTransitAttributes) InternalRef

func (eit EncryptionInTransitAttributes) InternalRef() (terra.Reference, error)

func (EncryptionInTransitAttributes) InternalTokens

func (eit EncryptionInTransitAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EncryptionInTransitAttributes) InternalWithRef

type EncryptionInTransitState

type EncryptionInTransitState struct {
	ClientBroker string `json:"client_broker"`
	InCluster    bool   `json:"in_cluster"`
}

type EncryptionInfo

type EncryptionInfo struct {
	// EncryptionAtRestKmsKeyArn: string, optional
	EncryptionAtRestKmsKeyArn terra.StringValue `hcl:"encryption_at_rest_kms_key_arn,attr"`
	// EncryptionInTransit: optional
	EncryptionInTransit *EncryptionInTransit `hcl:"encryption_in_transit,block"`
}

type EncryptionInfoAttributes

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

func (EncryptionInfoAttributes) EncryptionAtRestKmsKeyArn

func (ei EncryptionInfoAttributes) EncryptionAtRestKmsKeyArn() terra.StringValue

func (EncryptionInfoAttributes) EncryptionInTransit

func (EncryptionInfoAttributes) InternalRef

func (ei EncryptionInfoAttributes) InternalRef() (terra.Reference, error)

func (EncryptionInfoAttributes) InternalTokens

func (ei EncryptionInfoAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EncryptionInfoAttributes) InternalWithRef

type EncryptionInfoState

type EncryptionInfoState struct {
	EncryptionAtRestKmsKeyArn string                     `json:"encryption_at_rest_kms_key_arn"`
	EncryptionInTransit       []EncryptionInTransitState `json:"encryption_in_transit"`
}

type Firehose

type Firehose struct {
	// DeliveryStream: string, optional
	DeliveryStream terra.StringValue `hcl:"delivery_stream,attr"`
	// Enabled: bool, required
	Enabled terra.BoolValue `hcl:"enabled,attr" validate:"required"`
}

type FirehoseAttributes

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

func (FirehoseAttributes) DeliveryStream

func (f FirehoseAttributes) DeliveryStream() terra.StringValue

func (FirehoseAttributes) Enabled

func (f FirehoseAttributes) Enabled() terra.BoolValue

func (FirehoseAttributes) InternalRef

func (f FirehoseAttributes) InternalRef() (terra.Reference, error)

func (FirehoseAttributes) InternalTokens

func (f FirehoseAttributes) InternalTokens() (hclwrite.Tokens, error)

func (FirehoseAttributes) InternalWithRef

func (f FirehoseAttributes) InternalWithRef(ref terra.Reference) FirehoseAttributes

type FirehoseState

type FirehoseState struct {
	DeliveryStream string `json:"delivery_stream"`
	Enabled        bool   `json:"enabled"`
}

type JmxExporter

type JmxExporter struct {
	// EnabledInBroker: bool, required
	EnabledInBroker terra.BoolValue `hcl:"enabled_in_broker,attr" validate:"required"`
}

type JmxExporterAttributes

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

func (JmxExporterAttributes) EnabledInBroker

func (je JmxExporterAttributes) EnabledInBroker() terra.BoolValue

func (JmxExporterAttributes) InternalRef

func (je JmxExporterAttributes) InternalRef() (terra.Reference, error)

func (JmxExporterAttributes) InternalTokens

func (je JmxExporterAttributes) InternalTokens() (hclwrite.Tokens, error)

func (JmxExporterAttributes) InternalWithRef

type JmxExporterState

type JmxExporterState struct {
	EnabledInBroker bool `json:"enabled_in_broker"`
}

type LoggingInfo

type LoggingInfo struct {
	// BrokerLogs: required
	BrokerLogs *BrokerLogs `hcl:"broker_logs,block" validate:"required"`
}

type LoggingInfoAttributes

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

func (LoggingInfoAttributes) BrokerLogs

func (LoggingInfoAttributes) InternalRef

func (li LoggingInfoAttributes) InternalRef() (terra.Reference, error)

func (LoggingInfoAttributes) InternalTokens

func (li LoggingInfoAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LoggingInfoAttributes) InternalWithRef

type LoggingInfoState

type LoggingInfoState struct {
	BrokerLogs []BrokerLogsState `json:"broker_logs"`
}

type NodeExporter

type NodeExporter struct {
	// EnabledInBroker: bool, required
	EnabledInBroker terra.BoolValue `hcl:"enabled_in_broker,attr" validate:"required"`
}

type NodeExporterAttributes

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

func (NodeExporterAttributes) EnabledInBroker

func (ne NodeExporterAttributes) EnabledInBroker() terra.BoolValue

func (NodeExporterAttributes) InternalRef

func (ne NodeExporterAttributes) InternalRef() (terra.Reference, error)

func (NodeExporterAttributes) InternalTokens

func (ne NodeExporterAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NodeExporterAttributes) InternalWithRef

type NodeExporterState

type NodeExporterState struct {
	EnabledInBroker bool `json:"enabled_in_broker"`
}

type OpenMonitoring

type OpenMonitoring struct {
	// Prometheus: required
	Prometheus *Prometheus `hcl:"prometheus,block" validate:"required"`
}

type OpenMonitoringAttributes

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

func (OpenMonitoringAttributes) InternalRef

func (om OpenMonitoringAttributes) InternalRef() (terra.Reference, error)

func (OpenMonitoringAttributes) InternalTokens

func (om OpenMonitoringAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OpenMonitoringAttributes) InternalWithRef

func (OpenMonitoringAttributes) Prometheus

type OpenMonitoringState

type OpenMonitoringState struct {
	Prometheus []PrometheusState `json:"prometheus"`
}

type Prometheus

type Prometheus struct {
	// JmxExporter: optional
	JmxExporter *JmxExporter `hcl:"jmx_exporter,block"`
	// NodeExporter: optional
	NodeExporter *NodeExporter `hcl:"node_exporter,block"`
}

type PrometheusAttributes

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

func (PrometheusAttributes) InternalRef

func (p PrometheusAttributes) InternalRef() (terra.Reference, error)

func (PrometheusAttributes) InternalTokens

func (p PrometheusAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PrometheusAttributes) InternalWithRef

func (PrometheusAttributes) JmxExporter

func (PrometheusAttributes) NodeExporter

type PrometheusState

type PrometheusState struct {
	JmxExporter  []JmxExporterState  `json:"jmx_exporter"`
	NodeExporter []NodeExporterState `json:"node_exporter"`
}

type ProvisionedThroughput

type ProvisionedThroughput struct {
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
	// VolumeThroughput: number, optional
	VolumeThroughput terra.NumberValue `hcl:"volume_throughput,attr"`
}

type ProvisionedThroughputAttributes

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

func (ProvisionedThroughputAttributes) Enabled

func (ProvisionedThroughputAttributes) InternalRef

func (ProvisionedThroughputAttributes) InternalTokens

func (pt ProvisionedThroughputAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ProvisionedThroughputAttributes) InternalWithRef

func (ProvisionedThroughputAttributes) VolumeThroughput

func (pt ProvisionedThroughputAttributes) VolumeThroughput() terra.NumberValue

type ProvisionedThroughputState

type ProvisionedThroughputState struct {
	Enabled          bool    `json:"enabled"`
	VolumeThroughput float64 `json:"volume_throughput"`
}

type PublicAccess

type PublicAccess struct {
	// Type: string, optional
	Type terra.StringValue `hcl:"type,attr"`
}

type PublicAccessAttributes

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

func (PublicAccessAttributes) InternalRef

func (pa PublicAccessAttributes) InternalRef() (terra.Reference, error)

func (PublicAccessAttributes) InternalTokens

func (pa PublicAccessAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PublicAccessAttributes) InternalWithRef

func (PublicAccessAttributes) Type

type PublicAccessState

type PublicAccessState struct {
	Type string `json:"type"`
}

type S3

type S3 struct {
	// Bucket: string, optional
	Bucket terra.StringValue `hcl:"bucket,attr"`
	// Enabled: bool, required
	Enabled terra.BoolValue `hcl:"enabled,attr" validate:"required"`
	// Prefix: string, optional
	Prefix terra.StringValue `hcl:"prefix,attr"`
}

type S3Attributes

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

func (S3Attributes) Bucket

func (s S3Attributes) Bucket() terra.StringValue

func (S3Attributes) Enabled

func (s S3Attributes) Enabled() terra.BoolValue

func (S3Attributes) InternalRef

func (s S3Attributes) InternalRef() (terra.Reference, error)

func (S3Attributes) InternalTokens

func (s S3Attributes) InternalTokens() (hclwrite.Tokens, error)

func (S3Attributes) InternalWithRef

func (s S3Attributes) InternalWithRef(ref terra.Reference) S3Attributes

func (S3Attributes) Prefix

func (s S3Attributes) Prefix() terra.StringValue

type S3State

type S3State struct {
	Bucket  string `json:"bucket"`
	Enabled bool   `json:"enabled"`
	Prefix  string `json:"prefix"`
}

type Sasl

type Sasl struct {
	// Iam: bool, optional
	Iam terra.BoolValue `hcl:"iam,attr"`
	// Scram: bool, optional
	Scram terra.BoolValue `hcl:"scram,attr"`
}

type SaslAttributes

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

func (SaslAttributes) Iam

func (s SaslAttributes) Iam() terra.BoolValue

func (SaslAttributes) InternalRef

func (s SaslAttributes) InternalRef() (terra.Reference, error)

func (SaslAttributes) InternalTokens

func (s SaslAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SaslAttributes) InternalWithRef

func (s SaslAttributes) InternalWithRef(ref terra.Reference) SaslAttributes

func (SaslAttributes) Scram

func (s SaslAttributes) Scram() terra.BoolValue

type SaslState

type SaslState struct {
	Iam   bool `json:"iam"`
	Scram bool `json:"scram"`
}

type StorageInfo

type StorageInfo struct {
	// EbsStorageInfo: optional
	EbsStorageInfo *EbsStorageInfo `hcl:"ebs_storage_info,block"`
}

type StorageInfoAttributes

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

func (StorageInfoAttributes) EbsStorageInfo

func (StorageInfoAttributes) InternalRef

func (si StorageInfoAttributes) InternalRef() (terra.Reference, error)

func (StorageInfoAttributes) InternalTokens

func (si StorageInfoAttributes) InternalTokens() (hclwrite.Tokens, error)

func (StorageInfoAttributes) InternalWithRef

type StorageInfoState

type StorageInfoState struct {
	EbsStorageInfo []EbsStorageInfoState `json:"ebs_storage_info"`
}

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,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) Delete

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"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

type Tls

type Tls struct {
	// CertificateAuthorityArns: set of string, optional
	CertificateAuthorityArns terra.SetValue[terra.StringValue] `hcl:"certificate_authority_arns,attr"`
}

type TlsAttributes

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

func (TlsAttributes) CertificateAuthorityArns

func (t TlsAttributes) CertificateAuthorityArns() terra.SetValue[terra.StringValue]

func (TlsAttributes) InternalRef

func (t TlsAttributes) InternalRef() (terra.Reference, error)

func (TlsAttributes) InternalTokens

func (t TlsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TlsAttributes) InternalWithRef

func (t TlsAttributes) InternalWithRef(ref terra.Reference) TlsAttributes

type TlsState

type TlsState struct {
	CertificateAuthorityArns []string `json:"certificate_authority_arns"`
}

Jump to

Keyboard shortcuts

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