Documentation ¶
Index ¶
- type Args
- type Resource
- func (vrp *Resource) Attributes() vaultRgpPolicyAttributes
- func (vrp *Resource) Configuration() interface{}
- func (vrp *Resource) DependOn() terra.Reference
- func (vrp *Resource) Dependencies() terra.Dependencies
- func (vrp *Resource) ImportState(state io.Reader) error
- func (vrp *Resource) LifecycleManagement() *terra.Lifecycle
- func (vrp *Resource) LocalName() string
- func (vrp *Resource) State() (*vaultRgpPolicyState, bool)
- func (vrp *Resource) StateMust() *vaultRgpPolicyState
- func (vrp *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // EnforcementLevel: string, required EnforcementLevel terra.StringValue `hcl:"enforcement_level,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Namespace: string, optional Namespace terra.StringValue `hcl:"namespace,attr"` // Policy: string, required Policy terra.StringValue `hcl:"policy,attr" validate:"required"` }
Args contains the configurations for vault_rgp_policy.
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 vault_rgp_policy.
func (*Resource) Attributes ¶
func (vrp *Resource) Attributes() vaultRgpPolicyAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (vrp *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (vrp *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.