sigv4

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Arguments

type Arguments struct {
	Region     string     `alloy:"region,attr,optional"`
	Service    string     `alloy:"service,attr,optional"`
	AssumeRole AssumeRole `alloy:"assume_role,block,optional"`
}

Arguments configures the otelcol.auth.sigv4 component.

func (Arguments) Convert

func (args Arguments) Convert() (otelcomponent.Config, error)

Convert implements auth.Arguments.

func (Arguments) Exporters

Exporters implements auth.Arguments.

func (Arguments) Extensions

func (args Arguments) Extensions() map[otelcomponent.ID]otelextension.Extension

Extensions implements auth.Arguments.

func (Arguments) Validate

func (args Arguments) Validate() error

Validate implements syntax.Validator.

type AssumeRole

type AssumeRole struct {
	ARN         string `alloy:"arn,attr,optional"`
	SessionName string `alloy:"session_name,attr,optional"`
	STSRegion   string `alloy:"sts_region,attr,optional"`
}

AssumeRole replicates sigv4authextension.Config.AssumeRole

func (*AssumeRole) Convert

func (args *AssumeRole) Convert() *sigv4authextension.AssumeRole

Convert converts args into the upstream type.

Jump to

Keyboard shortcuts

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