aws_internetmonitor_monitor

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"`
	// MaxCityNetworksToMonitor: number, optional
	MaxCityNetworksToMonitor terra.NumberValue `hcl:"max_city_networks_to_monitor,attr"`
	// MonitorName: string, required
	MonitorName terra.StringValue `hcl:"monitor_name,attr" validate:"required"`
	// Resources: set of string, optional
	Resources terra.SetValue[terra.StringValue] `hcl:"resources,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"`
	// TrafficPercentageToMonitor: number, optional
	TrafficPercentageToMonitor terra.NumberValue `hcl:"traffic_percentage_to_monitor,attr"`
	// HealthEventsConfig: optional
	HealthEventsConfig *HealthEventsConfig `hcl:"health_events_config,block"`
	// InternetMeasurementsLogDelivery: optional
	InternetMeasurementsLogDelivery *InternetMeasurementsLogDelivery `hcl:"internet_measurements_log_delivery,block"`
}

Args contains the configurations for aws_internetmonitor_monitor.

type HealthEventsConfig

type HealthEventsConfig struct {
	// AvailabilityScoreThreshold: number, optional
	AvailabilityScoreThreshold terra.NumberValue `hcl:"availability_score_threshold,attr"`
	// PerformanceScoreThreshold: number, optional
	PerformanceScoreThreshold terra.NumberValue `hcl:"performance_score_threshold,attr"`
}

type HealthEventsConfigAttributes

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

func (HealthEventsConfigAttributes) AvailabilityScoreThreshold

func (hec HealthEventsConfigAttributes) AvailabilityScoreThreshold() terra.NumberValue

func (HealthEventsConfigAttributes) InternalRef

func (hec HealthEventsConfigAttributes) InternalRef() (terra.Reference, error)

func (HealthEventsConfigAttributes) InternalTokens

func (hec HealthEventsConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (HealthEventsConfigAttributes) InternalWithRef

func (HealthEventsConfigAttributes) PerformanceScoreThreshold

func (hec HealthEventsConfigAttributes) PerformanceScoreThreshold() terra.NumberValue

type HealthEventsConfigState

type HealthEventsConfigState struct {
	AvailabilityScoreThreshold float64 `json:"availability_score_threshold"`
	PerformanceScoreThreshold  float64 `json:"performance_score_threshold"`
}

type InternetMeasurementsLogDelivery

type InternetMeasurementsLogDelivery struct {
	// InternetMeasurementsLogDeliveryS3Config: optional
	S3Config *InternetMeasurementsLogDeliveryS3Config `hcl:"s3_config,block"`
}

type InternetMeasurementsLogDeliveryAttributes

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

func (InternetMeasurementsLogDeliveryAttributes) InternalRef

func (InternetMeasurementsLogDeliveryAttributes) InternalTokens

func (InternetMeasurementsLogDeliveryAttributes) InternalWithRef

func (InternetMeasurementsLogDeliveryAttributes) S3Config

type InternetMeasurementsLogDeliveryS3Config

type InternetMeasurementsLogDeliveryS3Config struct {
	// BucketName: string, required
	BucketName terra.StringValue `hcl:"bucket_name,attr" validate:"required"`
	// BucketPrefix: string, optional
	BucketPrefix terra.StringValue `hcl:"bucket_prefix,attr"`
	// LogDeliveryStatus: string, optional
	LogDeliveryStatus terra.StringValue `hcl:"log_delivery_status,attr"`
}

type InternetMeasurementsLogDeliveryS3ConfigAttributes

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

func (InternetMeasurementsLogDeliveryS3ConfigAttributes) BucketName

func (InternetMeasurementsLogDeliveryS3ConfigAttributes) BucketPrefix

func (InternetMeasurementsLogDeliveryS3ConfigAttributes) InternalRef

func (InternetMeasurementsLogDeliveryS3ConfigAttributes) InternalTokens

func (InternetMeasurementsLogDeliveryS3ConfigAttributes) InternalWithRef

func (InternetMeasurementsLogDeliveryS3ConfigAttributes) LogDeliveryStatus

type InternetMeasurementsLogDeliveryS3ConfigState

type InternetMeasurementsLogDeliveryS3ConfigState struct {
	BucketName        string `json:"bucket_name"`
	BucketPrefix      string `json:"bucket_prefix"`
	LogDeliveryStatus string `json:"log_delivery_status"`
}

type InternetMeasurementsLogDeliveryState

type InternetMeasurementsLogDeliveryState struct {
	S3Config []InternetMeasurementsLogDeliveryS3ConfigState `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_internetmonitor_monitor.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (aim *Resource) Attributes() awsInternetmonitorMonitorAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (aim *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (aim *Resource) State() (*awsInternetmonitorMonitorState, bool)

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

func (*Resource) StateMust

func (aim *Resource) StateMust() *awsInternetmonitorMonitorState

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

func (*Resource) Type

func (aim *Resource) Type() string

Type returns the Terraform object type for Resource.

Jump to

Keyboard shortcuts

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