Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultRolePolicy = `` /* 405-byte string literal not displayed */
DefaultRolePolicy represents defaul role policy
View Source
const DefaultTrustRelationship = `` /* 262-byte string literal not displayed */
DefaultTrustRelationship represents default trust relationship
View Source
const (
//ServiceID aws Cloudwatch service id.
ServiceID = "aws/cloudwatchevents"
)
Variables ¶
This section is empty.
Functions ¶
func GetClient ¶
func GetClient(context *endly.Context) (*cloudwatchevents.CloudWatchEvents, error)
GetClient returns cloudwatchevents client from context
Types ¶
type DeleteRuleInput ¶
type DeleteRuleInput struct { cloudwatchevents.DeleteRuleInput TargetArn *string }
DeleteRuleInput represents delete rule input
func (*DeleteRuleInput) Validate ¶
func (i *DeleteRuleInput) Validate() error
type DeployRuleInput ¶
type DeployRuleInput struct { cloudwatchevents.PutRuleInput ciam.SetupRolePolicyInput ` json:",inline"` Targets Targets }
DeployRuleInput represents deploy rule input
func (DeployRuleInput) Validate ¶
func (i DeployRuleInput) Validate() error
Validate checks if input is valid
type DeployRuleOutput ¶
type DeployRuleOutput GetRuleOutput
DeployRuleOutput represents deployRule rule output
type GetRuleInput ¶
type GetRuleInput struct {
Name *string
}
GetRuleInput represents get rule input
type GetRuleOutput ¶
type GetRuleOutput struct { Rule *cloudwatchevents.Rule Targets []*cloudwatchevents.Target RoleInfo *ciam.GetRoleInfoOutput }
GetRuleOutput represents get rule output
type Target ¶
type Target struct { cloudwatchevents.Target Function *string `description:"lambda function name"` }
Target represents target
Source Files ¶
Click to show internal directories.
Click to hide internal directories.