Documentation
¶
Index ¶
- type Args
- type Condition
- type ConditionAttributes
- func (c ConditionAttributes) InternalRef() (terra.Reference, error)
- func (c ConditionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c ConditionAttributes) InternalWithRef(ref terra.Reference) ConditionAttributes
- func (c ConditionAttributes) Key() terra.StringValue
- func (c ConditionAttributes) Type() terra.StringValue
- func (c ConditionAttributes) Value() terra.StringValue
- type ConditionState
- type Resource
- func (acep *Resource) Attributes() awsCloudwatchEventPermissionAttributes
- func (acep *Resource) Configuration() interface{}
- func (acep *Resource) DependOn() terra.Reference
- func (acep *Resource) Dependencies() terra.Dependencies
- func (acep *Resource) ImportState(state io.Reader) error
- func (acep *Resource) LifecycleManagement() *terra.Lifecycle
- func (acep *Resource) LocalName() string
- func (acep *Resource) State() (*awsCloudwatchEventPermissionState, bool)
- func (acep *Resource) StateMust() *awsCloudwatchEventPermissionState
- func (acep *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Action: string, optional Action terra.StringValue `hcl:"action,attr"` // EventBusName: string, optional EventBusName terra.StringValue `hcl:"event_bus_name,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Principal: string, required Principal terra.StringValue `hcl:"principal,attr" validate:"required"` // StatementId: string, required StatementId terra.StringValue `hcl:"statement_id,attr" validate:"required"` // Condition: optional Condition *Condition `hcl:"condition,block"` }
Args contains the configurations for aws_cloudwatch_event_permission.
type Condition ¶
type Condition struct { // Key: string, required Key terra.StringValue `hcl:"key,attr" validate:"required"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` // Value: string, required Value terra.StringValue `hcl:"value,attr" validate:"required"` }
type ConditionAttributes ¶
type ConditionAttributes struct {
// contains filtered or unexported fields
}
func (ConditionAttributes) InternalRef ¶
func (c ConditionAttributes) InternalRef() (terra.Reference, error)
func (ConditionAttributes) InternalTokens ¶
func (c ConditionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConditionAttributes) InternalWithRef ¶
func (c ConditionAttributes) InternalWithRef(ref terra.Reference) ConditionAttributes
func (ConditionAttributes) Key ¶
func (c ConditionAttributes) Key() terra.StringValue
func (ConditionAttributes) Type ¶
func (c ConditionAttributes) Type() terra.StringValue
func (ConditionAttributes) Value ¶
func (c ConditionAttributes) Value() terra.StringValue
type ConditionState ¶
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_cloudwatch_event_permission.
func (*Resource) Attributes ¶
func (acep *Resource) Attributes() awsCloudwatchEventPermissionAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (acep *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (acep *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.