Documentation
¶
Index ¶
- type Args
- type Constraints
- type ConstraintsAttributes
- func (c ConstraintsAttributes) EncryptionContextEquals() terra.MapValue[terra.StringValue]
- func (c ConstraintsAttributes) EncryptionContextSubset() terra.MapValue[terra.StringValue]
- func (c ConstraintsAttributes) InternalRef() (terra.Reference, error)
- func (c ConstraintsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c ConstraintsAttributes) InternalWithRef(ref terra.Reference) ConstraintsAttributes
- type ConstraintsState
- type Resource
- func (akg *Resource) Attributes() awsKmsGrantAttributes
- func (akg *Resource) Configuration() interface{}
- func (akg *Resource) DependOn() terra.Reference
- func (akg *Resource) Dependencies() terra.Dependencies
- func (akg *Resource) ImportState(state io.Reader) error
- func (akg *Resource) LifecycleManagement() *terra.Lifecycle
- func (akg *Resource) LocalName() string
- func (akg *Resource) State() (*awsKmsGrantState, bool)
- func (akg *Resource) StateMust() *awsKmsGrantState
- func (akg *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // GrantCreationTokens: set of string, optional GrantCreationTokens terra.SetValue[terra.StringValue] `hcl:"grant_creation_tokens,attr"` // GranteePrincipal: string, required GranteePrincipal terra.StringValue `hcl:"grantee_principal,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // KeyId: string, required KeyId terra.StringValue `hcl:"key_id,attr" validate:"required"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // Operations: set of string, required Operations terra.SetValue[terra.StringValue] `hcl:"operations,attr" validate:"required"` // RetireOnDelete: bool, optional RetireOnDelete terra.BoolValue `hcl:"retire_on_delete,attr"` // RetiringPrincipal: string, optional RetiringPrincipal terra.StringValue `hcl:"retiring_principal,attr"` // Constraints: min=0 Constraints []Constraints `hcl:"constraints,block" validate:"min=0"` }
Args contains the configurations for aws_kms_grant.
type Constraints ¶
type Constraints struct { // EncryptionContextEquals: map of string, optional EncryptionContextEquals terra.MapValue[terra.StringValue] `hcl:"encryption_context_equals,attr"` // EncryptionContextSubset: map of string, optional EncryptionContextSubset terra.MapValue[terra.StringValue] `hcl:"encryption_context_subset,attr"` }
type ConstraintsAttributes ¶
type ConstraintsAttributes struct {
// contains filtered or unexported fields
}
func (ConstraintsAttributes) EncryptionContextEquals ¶
func (c ConstraintsAttributes) EncryptionContextEquals() terra.MapValue[terra.StringValue]
func (ConstraintsAttributes) EncryptionContextSubset ¶
func (c ConstraintsAttributes) EncryptionContextSubset() terra.MapValue[terra.StringValue]
func (ConstraintsAttributes) InternalRef ¶
func (c ConstraintsAttributes) InternalRef() (terra.Reference, error)
func (ConstraintsAttributes) InternalTokens ¶
func (c ConstraintsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConstraintsAttributes) InternalWithRef ¶
func (c ConstraintsAttributes) InternalWithRef(ref terra.Reference) ConstraintsAttributes
type ConstraintsState ¶
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_kms_grant.
func (*Resource) Attributes ¶
func (akg *Resource) Attributes() awsKmsGrantAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (akg *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (akg *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
Click to show internal directories.
Click to hide internal directories.