Documentation ¶
Index ¶
- type DataArgs
- type DataSecret
- type DataSecretAttributes
- func (s DataSecretAttributes) Context() terra.MapValue[terra.StringValue]
- func (s DataSecretAttributes) GrantTokens() terra.ListValue[terra.StringValue]
- func (s DataSecretAttributes) InternalRef() (terra.Reference, error)
- func (s DataSecretAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s DataSecretAttributes) InternalWithRef(ref terra.Reference) DataSecretAttributes
- func (s DataSecretAttributes) Name() terra.StringValue
- func (s DataSecretAttributes) Payload() terra.StringValue
- type DataSecretState
- type DataSource
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 (s DataSecretAttributes) Context() terra.MapValue[terra.StringValue]
func (DataSecretAttributes) GrantTokens ¶
func (s DataSecretAttributes) GrantTokens() terra.ListValue[terra.StringValue]
func (DataSecretAttributes) InternalRef ¶
func (s DataSecretAttributes) InternalRef() (terra.Reference, error)
func (DataSecretAttributes) InternalTokens ¶
func (s DataSecretAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataSecretAttributes) InternalWithRef ¶
func (s DataSecretAttributes) InternalWithRef(ref terra.Reference) DataSecretAttributes
func (DataSecretAttributes) Name ¶
func (s DataSecretAttributes) Name() terra.StringValue
func (DataSecretAttributes) Payload ¶
func (s DataSecretAttributes) Payload() terra.StringValue
type DataSecretState ¶
type DataSource ¶
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.
Click to show internal directories.
Click to hide internal directories.