Documentation ¶
Index ¶
- type Args
- type Resource
- func (acocpr *Resource) Attributes() awsConfigOrganizationCustomPolicyRuleAttributes
- func (acocpr *Resource) Configuration() interface{}
- func (acocpr *Resource) DependOn() terra.Reference
- func (acocpr *Resource) Dependencies() terra.Dependencies
- func (acocpr *Resource) ImportState(state io.Reader) error
- func (acocpr *Resource) LifecycleManagement() *terra.Lifecycle
- func (acocpr *Resource) LocalName() string
- func (acocpr *Resource) State() (*awsConfigOrganizationCustomPolicyRuleState, bool)
- func (acocpr *Resource) StateMust() *awsConfigOrganizationCustomPolicyRuleState
- func (acocpr *Resource) Type() string
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // DebugLogDeliveryAccounts: set of string, optional DebugLogDeliveryAccounts terra.SetValue[terra.StringValue] `hcl:"debug_log_delivery_accounts,attr"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // ExcludedAccounts: set of string, optional ExcludedAccounts terra.SetValue[terra.StringValue] `hcl:"excluded_accounts,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // InputParameters: string, optional InputParameters terra.StringValue `hcl:"input_parameters,attr"` // MaximumExecutionFrequency: string, optional MaximumExecutionFrequency terra.StringValue `hcl:"maximum_execution_frequency,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // PolicyRuntime: string, required PolicyRuntime terra.StringValue `hcl:"policy_runtime,attr" validate:"required"` // PolicyText: string, required PolicyText terra.StringValue `hcl:"policy_text,attr" validate:"required"` // ResourceIdScope: string, optional ResourceIdScope terra.StringValue `hcl:"resource_id_scope,attr"` // ResourceTypesScope: set of string, optional ResourceTypesScope terra.SetValue[terra.StringValue] `hcl:"resource_types_scope,attr"` // TagKeyScope: string, optional TagKeyScope terra.StringValue `hcl:"tag_key_scope,attr"` // TagValueScope: string, optional TagValueScope terra.StringValue `hcl:"tag_value_scope,attr"` // TriggerTypes: set of string, required TriggerTypes terra.SetValue[terra.StringValue] `hcl:"trigger_types,attr" validate:"required"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for aws_config_organization_custom_policy_rule.
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_config_organization_custom_policy_rule.
func (*Resource) Attributes ¶
func (acocpr *Resource) Attributes() awsConfigOrganizationCustomPolicyRuleAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (acocpr *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (acocpr *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.
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
func (TimeoutsAttributes) InternalRef ¶
func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
func (TimeoutsAttributes) InternalTokens ¶
func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimeoutsAttributes) InternalWithRef ¶
func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
Click to show internal directories.
Click to hide internal directories.