aws_opensearchserverless_security_config

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 {
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
	// SamlOptions: optional
	SamlOptions *SamlOptions `hcl:"saml_options,block"`
}

Args contains the configurations for aws_opensearchserverless_security_config.

type DataArgs

type DataArgs struct {
	// Id: string, required
	Id terra.StringValue `hcl:"id,attr" validate:"required"`
	// SamlOptions: optional
	SamlOptions *DataSamlOptions `hcl:"saml_options,block"`
}

DataArgs contains the configurations for aws_opensearchserverless_security_config.

type DataSamlOptions

type DataSamlOptions struct{}

type DataSamlOptionsAttributes

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

func (DataSamlOptionsAttributes) GroupAttribute

func (so DataSamlOptionsAttributes) GroupAttribute() terra.StringValue

func (DataSamlOptionsAttributes) InternalRef

func (so DataSamlOptionsAttributes) InternalRef() (terra.Reference, error)

func (DataSamlOptionsAttributes) InternalTokens

func (so DataSamlOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataSamlOptionsAttributes) InternalWithRef

func (DataSamlOptionsAttributes) Metadata

func (DataSamlOptionsAttributes) SessionTimeout

func (so DataSamlOptionsAttributes) SessionTimeout() terra.NumberValue

func (DataSamlOptionsAttributes) UserAttribute

func (so DataSamlOptionsAttributes) UserAttribute() terra.StringValue

type DataSamlOptionsState

type DataSamlOptionsState struct {
	GroupAttribute string  `json:"group_attribute"`
	Metadata       string  `json:"metadata"`
	SessionTimeout float64 `json:"session_timeout"`
	UserAttribute  string  `json:"user_attribute"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_opensearchserverless_security_config.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (aosc *DataSource) Attributes() dataAwsOpensearchserverlessSecurityConfigAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (aosc *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (aosc *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (aosc *DataSource) LocalName() string

LocalName returns the local name for DataSource.

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (aosc *Resource) Attributes() awsOpensearchserverlessSecurityConfigAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (aosc *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (aosc *Resource) State() (*awsOpensearchserverlessSecurityConfigState, bool)

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

func (*Resource) StateMust

func (aosc *Resource) StateMust() *awsOpensearchserverlessSecurityConfigState

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

func (*Resource) Type

func (aosc *Resource) Type() string

Type returns the Terraform object type for Resource.

type SamlOptions

type SamlOptions struct {
	// GroupAttribute: string, optional
	GroupAttribute terra.StringValue `hcl:"group_attribute,attr"`
	// Metadata: string, required
	Metadata terra.StringValue `hcl:"metadata,attr" validate:"required"`
	// SessionTimeout: number, optional
	SessionTimeout terra.NumberValue `hcl:"session_timeout,attr"`
	// UserAttribute: string, optional
	UserAttribute terra.StringValue `hcl:"user_attribute,attr"`
}

type SamlOptionsAttributes

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

func (SamlOptionsAttributes) GroupAttribute

func (so SamlOptionsAttributes) GroupAttribute() terra.StringValue

func (SamlOptionsAttributes) InternalRef

func (so SamlOptionsAttributes) InternalRef() (terra.Reference, error)

func (SamlOptionsAttributes) InternalTokens

func (so SamlOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SamlOptionsAttributes) InternalWithRef

func (SamlOptionsAttributes) Metadata

func (so SamlOptionsAttributes) Metadata() terra.StringValue

func (SamlOptionsAttributes) SessionTimeout

func (so SamlOptionsAttributes) SessionTimeout() terra.NumberValue

func (SamlOptionsAttributes) UserAttribute

func (so SamlOptionsAttributes) UserAttribute() terra.StringValue

type SamlOptionsState

type SamlOptionsState struct {
	GroupAttribute string  `json:"group_attribute"`
	Metadata       string  `json:"metadata"`
	SessionTimeout float64 `json:"session_timeout"`
	UserAttribute  string  `json:"user_attribute"`
}

Jump to

Keyboard shortcuts

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