syntheticscanary

package
v0.0.0-...-917d9f1 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 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 ArtifactConfig

type ArtifactConfig struct {
	// S3Encryption: optional
	S3Encryption *S3Encryption `hcl:"s3_encryption,block"`
}

type ArtifactConfigAttributes

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

func (ArtifactConfigAttributes) InternalRef

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

func (ArtifactConfigAttributes) InternalTokens

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

func (ArtifactConfigAttributes) InternalWithRef

func (ArtifactConfigAttributes) S3Encryption

type ArtifactConfigState

type ArtifactConfigState struct {
	S3Encryption []S3EncryptionState `json:"s3_encryption"`
}

type RunConfig

type RunConfig struct {
	// ActiveTracing: bool, optional
	ActiveTracing terra.BoolValue `hcl:"active_tracing,attr"`
	// EnvironmentVariables: map of string, optional
	EnvironmentVariables terra.MapValue[terra.StringValue] `hcl:"environment_variables,attr"`
	// MemoryInMb: number, optional
	MemoryInMb terra.NumberValue `hcl:"memory_in_mb,attr"`
	// TimeoutInSeconds: number, optional
	TimeoutInSeconds terra.NumberValue `hcl:"timeout_in_seconds,attr"`
}

type RunConfigAttributes

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

func (RunConfigAttributes) ActiveTracing

func (rc RunConfigAttributes) ActiveTracing() terra.BoolValue

func (RunConfigAttributes) EnvironmentVariables

func (rc RunConfigAttributes) EnvironmentVariables() terra.MapValue[terra.StringValue]

func (RunConfigAttributes) InternalRef

func (rc RunConfigAttributes) InternalRef() (terra.Reference, error)

func (RunConfigAttributes) InternalTokens

func (rc RunConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RunConfigAttributes) InternalWithRef

func (rc RunConfigAttributes) InternalWithRef(ref terra.Reference) RunConfigAttributes

func (RunConfigAttributes) MemoryInMb

func (rc RunConfigAttributes) MemoryInMb() terra.NumberValue

func (RunConfigAttributes) TimeoutInSeconds

func (rc RunConfigAttributes) TimeoutInSeconds() terra.NumberValue

type RunConfigState

type RunConfigState struct {
	ActiveTracing        bool              `json:"active_tracing"`
	EnvironmentVariables map[string]string `json:"environment_variables"`
	MemoryInMb           float64           `json:"memory_in_mb"`
	TimeoutInSeconds     float64           `json:"timeout_in_seconds"`
}

type S3Encryption

type S3Encryption struct {
	// EncryptionMode: string, optional
	EncryptionMode terra.StringValue `hcl:"encryption_mode,attr"`
	// KmsKeyArn: string, optional
	KmsKeyArn terra.StringValue `hcl:"kms_key_arn,attr"`
}

type S3EncryptionAttributes

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

func (S3EncryptionAttributes) EncryptionMode

func (se S3EncryptionAttributes) EncryptionMode() terra.StringValue

func (S3EncryptionAttributes) InternalRef

func (se S3EncryptionAttributes) InternalRef() (terra.Reference, error)

func (S3EncryptionAttributes) InternalTokens

func (se S3EncryptionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (S3EncryptionAttributes) InternalWithRef

func (S3EncryptionAttributes) KmsKeyArn

func (se S3EncryptionAttributes) KmsKeyArn() terra.StringValue

type S3EncryptionState

type S3EncryptionState struct {
	EncryptionMode string `json:"encryption_mode"`
	KmsKeyArn      string `json:"kms_key_arn"`
}

type Schedule

type Schedule struct {
	// DurationInSeconds: number, optional
	DurationInSeconds terra.NumberValue `hcl:"duration_in_seconds,attr"`
	// Expression: string, required
	Expression terra.StringValue `hcl:"expression,attr" validate:"required"`
}

type ScheduleAttributes

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

func (ScheduleAttributes) DurationInSeconds

func (s ScheduleAttributes) DurationInSeconds() terra.NumberValue

func (ScheduleAttributes) Expression

func (s ScheduleAttributes) Expression() terra.StringValue

func (ScheduleAttributes) InternalRef

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

func (ScheduleAttributes) InternalTokens

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

func (ScheduleAttributes) InternalWithRef

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

type ScheduleState

type ScheduleState struct {
	DurationInSeconds float64 `json:"duration_in_seconds"`
	Expression        string  `json:"expression"`
}

type Timeline

type Timeline struct{}

type TimelineAttributes

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

func (TimelineAttributes) Created

func (t TimelineAttributes) Created() terra.StringValue

func (TimelineAttributes) InternalRef

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

func (TimelineAttributes) InternalTokens

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

func (TimelineAttributes) InternalWithRef

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

func (TimelineAttributes) LastModified

func (t TimelineAttributes) LastModified() terra.StringValue

func (TimelineAttributes) LastStarted

func (t TimelineAttributes) LastStarted() terra.StringValue

func (TimelineAttributes) LastStopped

func (t TimelineAttributes) LastStopped() terra.StringValue

type TimelineState

type TimelineState struct {
	Created      string `json:"created"`
	LastModified string `json:"last_modified"`
	LastStarted  string `json:"last_started"`
	LastStopped  string `json:"last_stopped"`
}

type VpcConfig

type VpcConfig struct {
	// SecurityGroupIds: set of string, optional
	SecurityGroupIds terra.SetValue[terra.StringValue] `hcl:"security_group_ids,attr"`
	// SubnetIds: set of string, optional
	SubnetIds terra.SetValue[terra.StringValue] `hcl:"subnet_ids,attr"`
}

type VpcConfigAttributes

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

func (VpcConfigAttributes) InternalRef

func (vc VpcConfigAttributes) InternalRef() (terra.Reference, error)

func (VpcConfigAttributes) InternalTokens

func (vc VpcConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (VpcConfigAttributes) InternalWithRef

func (vc VpcConfigAttributes) InternalWithRef(ref terra.Reference) VpcConfigAttributes

func (VpcConfigAttributes) SecurityGroupIds

func (vc VpcConfigAttributes) SecurityGroupIds() terra.SetValue[terra.StringValue]

func (VpcConfigAttributes) SubnetIds

func (VpcConfigAttributes) VpcId

type VpcConfigState

type VpcConfigState struct {
	SecurityGroupIds []string `json:"security_group_ids"`
	SubnetIds        []string `json:"subnet_ids"`
	VpcId            string   `json:"vpc_id"`
}

Jump to

Keyboard shortcuts

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