workspace

package
v0.0.0-...-1f78e34 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoggingConfiguration

type LoggingConfiguration struct {

	// CloudWatch log group ARN
	LogGroupArn string `json:"LogGroupArn,omitempty"`
}

LoggingConfiguration Logging configuration

func (*LoggingConfiguration) MarshalJSON

func (strct *LoggingConfiguration) MarshalJSON() ([]byte, error)

func (*LoggingConfiguration) UnmarshalJSON

func (strct *LoggingConfiguration) UnmarshalJSON(b []byte) error

type Resource

type Resource struct {

	// The AMP Workspace alert manager definition data
	AlertManagerDefinition string `json:"AlertManagerDefinition,omitempty"`

	// AMP Workspace alias.
	Alias string `json:"Alias,omitempty"`

	// Workspace arn.
	Arn                  string                `json:"Arn,omitempty"`
	LoggingConfiguration *LoggingConfiguration `json:"LoggingConfiguration,omitempty"`

	// AMP Workspace prometheus endpoint
	PrometheusEndpoint string `json:"PrometheusEndpoint,omitempty"`

	// An array of key-value pairs to apply to this resource.
	Tags []*Tag `json:"Tags,omitempty"`

	// Required to identify a specific APS Workspace.
	WorkspaceId string `json:"WorkspaceId,omitempty"`
}

Resource Resource Type definition for AWS::APS::Workspace

func (*Resource) MarshalJSON

func (strct *Resource) MarshalJSON() ([]byte, error)

func (*Resource) UnmarshalJSON

func (strct *Resource) UnmarshalJSON(b []byte) error

type Tag

type Tag struct {

	// The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
	Key string `json:"Key"`

	// The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
	Value string `json:"Value"`
}

Tag A key-value pair to associate with a resource.

func (*Tag) MarshalJSON

func (strct *Tag) MarshalJSON() ([]byte, error)

func (*Tag) UnmarshalJSON

func (strct *Tag) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

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