aws_rum_app_monitor

package
v5.45.0 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 AppMonitorConfiguration

type AppMonitorConfiguration struct {
	// AllowCookies: bool, optional
	AllowCookies terra.BoolValue `hcl:"allow_cookies,attr"`
	// EnableXray: bool, optional
	EnableXray terra.BoolValue `hcl:"enable_xray,attr"`
	// ExcludedPages: set of string, optional
	ExcludedPages terra.SetValue[terra.StringValue] `hcl:"excluded_pages,attr"`
	// FavoritePages: set of string, optional
	FavoritePages terra.SetValue[terra.StringValue] `hcl:"favorite_pages,attr"`
	// GuestRoleArn: string, optional
	GuestRoleArn terra.StringValue `hcl:"guest_role_arn,attr"`
	// IdentityPoolId: string, optional
	IdentityPoolId terra.StringValue `hcl:"identity_pool_id,attr"`
	// IncludedPages: set of string, optional
	IncludedPages terra.SetValue[terra.StringValue] `hcl:"included_pages,attr"`
	// SessionSampleRate: number, optional
	SessionSampleRate terra.NumberValue `hcl:"session_sample_rate,attr"`
	// Telemetries: set of string, optional
	Telemetries terra.SetValue[terra.StringValue] `hcl:"telemetries,attr"`
}

type AppMonitorConfigurationAttributes

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

func (AppMonitorConfigurationAttributes) AllowCookies

func (AppMonitorConfigurationAttributes) EnableXray

func (AppMonitorConfigurationAttributes) ExcludedPages

func (AppMonitorConfigurationAttributes) FavoritePages

func (AppMonitorConfigurationAttributes) GuestRoleArn

func (AppMonitorConfigurationAttributes) IdentityPoolId

func (AppMonitorConfigurationAttributes) IncludedPages

func (AppMonitorConfigurationAttributes) InternalRef

func (AppMonitorConfigurationAttributes) InternalTokens

func (amc AppMonitorConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AppMonitorConfigurationAttributes) InternalWithRef

func (AppMonitorConfigurationAttributes) SessionSampleRate

func (amc AppMonitorConfigurationAttributes) SessionSampleRate() terra.NumberValue

func (AppMonitorConfigurationAttributes) Telemetries

type AppMonitorConfigurationState

type AppMonitorConfigurationState struct {
	AllowCookies      bool     `json:"allow_cookies"`
	EnableXray        bool     `json:"enable_xray"`
	ExcludedPages     []string `json:"excluded_pages"`
	FavoritePages     []string `json:"favorite_pages"`
	GuestRoleArn      string   `json:"guest_role_arn"`
	IdentityPoolId    string   `json:"identity_pool_id"`
	IncludedPages     []string `json:"included_pages"`
	SessionSampleRate float64  `json:"session_sample_rate"`
	Telemetries       []string `json:"telemetries"`
}

type Args

type Args struct {
	// CwLogEnabled: bool, optional
	CwLogEnabled terra.BoolValue `hcl:"cw_log_enabled,attr"`
	// Domain: string, required
	Domain terra.StringValue `hcl:"domain,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// 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"`
	// AppMonitorConfiguration: optional
	AppMonitorConfiguration *AppMonitorConfiguration `hcl:"app_monitor_configuration,block"`
}

Args contains the configurations for aws_rum_app_monitor.

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (aram *Resource) Attributes() awsRumAppMonitorAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (aram *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (aram *Resource) State() (*awsRumAppMonitorState, bool)

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

func (*Resource) StateMust

func (aram *Resource) StateMust() *awsRumAppMonitorState

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

func (*Resource) Type

func (aram *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