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 ¶
func (args Arguments) Exporters() map[otelcomponent.DataType]map[otelcomponent.ID]otelcomponent.Component
Exporters implements auth.Arguments.
func (Arguments) Extensions ¶
func (args Arguments) Extensions() map[otelcomponent.ID]otelextension.Extension
Extensions implements auth.Arguments.
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.
Click to show internal directories.
Click to hide internal directories.