Documentation
¶
Index ¶
- type Args
- type Resource
- func (acer *Resource) Attributes() awsCloudwatchEventRuleAttributes
- func (acer *Resource) Configuration() interface{}
- func (acer *Resource) DependOn() terra.Reference
- func (acer *Resource) Dependencies() terra.Dependencies
- func (acer *Resource) ImportState(state io.Reader) error
- func (acer *Resource) LifecycleManagement() *terra.Lifecycle
- func (acer *Resource) LocalName() string
- func (acer *Resource) State() (*awsCloudwatchEventRuleState, bool)
- func (acer *Resource) StateMust() *awsCloudwatchEventRuleState
- func (acer *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // EventBusName: string, optional EventBusName terra.StringValue `hcl:"event_bus_name,attr"` // EventPattern: string, optional EventPattern terra.StringValue `hcl:"event_pattern,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // IsEnabled: bool, optional IsEnabled terra.BoolValue `hcl:"is_enabled,attr"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // NamePrefix: string, optional NamePrefix terra.StringValue `hcl:"name_prefix,attr"` // RoleArn: string, optional RoleArn terra.StringValue `hcl:"role_arn,attr"` // ScheduleExpression: string, optional ScheduleExpression terra.StringValue `hcl:"schedule_expression,attr"` // State: string, optional State terra.StringValue `hcl:"state,attr"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // TagsAll: map of string, optional TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,attr"` }
Args contains the configurations for aws_cloudwatch_event_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_cloudwatch_event_rule.
func (*Resource) Attributes ¶
func (acer *Resource) Attributes() awsCloudwatchEventRuleAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (acer *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (acer *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.