aws_kms_secrets

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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataArgs

type DataArgs struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Secret: min=1
	Secret []DataSecret `hcl:"secret,block" validate:"min=1"`
}

DataArgs contains the configurations for aws_kms_secrets.

type DataSecret

type DataSecret struct {
	// Context: map of string, optional
	Context terra.MapValue[terra.StringValue] `hcl:"context,attr"`
	// GrantTokens: list of string, optional
	GrantTokens terra.ListValue[terra.StringValue] `hcl:"grant_tokens,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Payload: string, required
	Payload terra.StringValue `hcl:"payload,attr" validate:"required"`
}

type DataSecretAttributes

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

func (DataSecretAttributes) Context

func (DataSecretAttributes) GrantTokens

func (DataSecretAttributes) InternalRef

func (s DataSecretAttributes) InternalRef() (terra.Reference, error)

func (DataSecretAttributes) InternalTokens

func (s DataSecretAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataSecretAttributes) InternalWithRef

func (DataSecretAttributes) Name

func (DataSecretAttributes) Payload

type DataSecretState

type DataSecretState struct {
	Context     map[string]string `json:"context"`
	GrantTokens []string          `json:"grant_tokens"`
	Name        string            `json:"name"`
	Payload     string            `json:"payload"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_kms_secrets.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (aks *DataSource) Attributes() dataAwsKmsSecretsAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

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

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (aks *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (aks *DataSource) LocalName() string

LocalName returns the local name for DataSource.

Jump to

Keyboard shortcuts

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