Documentation
¶
Index ¶
- Constants
- Variables
- func IsInstanceNotFound(err error) bool
- func IsLoadBalancerNotFound(err error) bool
- func IsSecurityGroupDuplicate(err error) bool
- func IsSecurityGroupRuleDuplicate(err error) bool
- func ListAlarms(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
- func ListCustomerOwnedIPv4Pools(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
- func ListElasticIPAssociations(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
- func ListElasticIPs(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
- func ListImageOperatingSystems(_ core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
- func ListImages(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
- func ListInstanceAlarms(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
- func ListInstanceProfiles(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
- func ListInstanceTypes(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
- func ListInstances(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
- func ListIpamPools(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
- func ListKeyPairs(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
- func ListLoadBalancers(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
- func ListPublicIPv4Pools(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
- func ListSecurityGroups(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
- func ListSubnets(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
- func ListTargetGroups(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
- func ListUnassociatedElasticIPs(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
- type AMIStateChangeDetail
- type AlarmDimension
- type AllocateAddressInput
- type AllocateAddressOutput
- type AllocateElasticIP
- func (c *AllocateElasticIP) Cancel(ctx core.ExecutionContext) error
- func (c *AllocateElasticIP) Cleanup(ctx core.SetupContext) error
- func (c *AllocateElasticIP) Color() string
- func (c *AllocateElasticIP) Configuration() []configuration.Field
- func (c *AllocateElasticIP) Description() string
- func (c *AllocateElasticIP) Documentation() string
- func (c *AllocateElasticIP) ExampleOutput() map[string]any
- func (c *AllocateElasticIP) Execute(ctx core.ExecutionContext) error
- func (c *AllocateElasticIP) HandleHook(ctx core.ActionHookContext) error
- func (c *AllocateElasticIP) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *AllocateElasticIP) Hooks() []core.Hook
- func (c *AllocateElasticIP) Icon() string
- func (c *AllocateElasticIP) Label() string
- func (c *AllocateElasticIP) Name() string
- func (c *AllocateElasticIP) OutputChannels(configuration any) []core.OutputChannel
- func (c *AllocateElasticIP) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *AllocateElasticIP) Setup(ctx core.SetupContext) error
- type AllocateElasticIPConfiguration
- type AllocateElasticIPNodeMetadata
- type AssociateAddressInput
- type AssociateAddressOutput
- type BlockDeviceConfig
- type BlockDeviceConfiguration
- type Client
- func (c *Client) AllocateAddress(input AllocateAddressInput) (*AllocateAddressOutput, error)
- func (c *Client) AssociateAddress(input AssociateAddressInput) (*AssociateAddressOutput, error)
- func (c *Client) CopyImage(input CopyImageInput) (*CopyImageOutput, error)
- func (c *Client) CreateImage(input CreateImageInput) (*CreateImageOutput, error)
- func (c *Client) CreateListener(input CreateListenerInput) (*CreateListenerOutput, error)
- func (c *Client) CreateLoadBalancer(input CreateLoadBalancerInput) (*CreateLoadBalancerOutput, error)
- func (c *Client) CreateSecurityGroup(groupName, description, vpcID string) (string, error)
- func (c *Client) DeleteAlarms(alarmNames ...string) error
- func (c *Client) DeleteLoadBalancer(loadBalancerARN string) (*DeleteLoadBalancerOutput, error)
- func (c *Client) DeleteSnapshot(snapshotID string) (string, error)
- func (c *Client) DeregisterImage(imageID string) (string, error)
- func (c *Client) DescribeAlarm(alarmName string) (*MetricAlarm, error)
- func (c *Client) DescribeImage(imageID string) (*Image, error)
- func (c *Client) DescribeInstance(instanceID string) (*InstanceDetails, error)
- func (c *Client) DescribeInstanceStatus(instanceID string) (*InstanceStatusDetails, error)
- func (c *Client) DescribeLoadBalancer(loadBalancerARN string) (*LoadBalancer, error)
- func (c *Client) DescribeSubnet(subnetID string) (*Subnet, error)
- func (c *Client) DisableImage(imageID string) (string, error)
- func (c *Client) DisableImageDeprecation(imageID string) (string, error)
- func (c *Client) DisassociateAddress(associationID string) error
- func (c *Client) EnableImage(imageID string) (string, error)
- func (c *Client) EnableImageDeprecation(imageID, deprecateAt string) (*EnableImageDeprecationOutput, error)
- func (c *Client) EnsureSecurityGroupIngressRules(groupID string, rules []SecurityGroupIngressRule) error
- func (c *Client) GetMetricStatistics(input GetMetricStatisticsInput) ([]CloudWatchDatapoint, error)
- func (c *Client) HibernateInstances(instanceID string) (*StopInstancesOutput, error)
- func (c *Client) ListAddresses() ([]ElasticIP, error)
- func (c *Client) ListAlarms() ([]MetricAlarm, error)
- func (c *Client) ListAlarmsForInstance(instanceID string) ([]MetricAlarm, error)
- func (c *Client) ListCustomerOwnedIPv4Pools() ([]CustomerOwnedIPv4Pool, error)
- func (c *Client) ListImages(ownerID string, includeDisabled bool) ([]Image, error)
- func (c *Client) ListInstanceProfiles() ([]InstanceProfile, error)
- func (c *Client) ListInstanceTypes() ([]InstanceTypeInfo, error)
- func (c *Client) ListInstances() ([]Instance, error)
- func (c *Client) ListIpamPoolsForElasticIP() ([]IpamPool, error)
- func (c *Client) ListKeyPairs() ([]KeyPair, error)
- func (c *Client) ListLoadBalancers() ([]LoadBalancer, error)
- func (c *Client) ListPublicIPv4Pools() ([]PublicIPv4Pool, error)
- func (c *Client) ListPublicImages(imageOS string) ([]Image, error)
- func (c *Client) ListSecurityGroups() ([]SecurityGroup, error)
- func (c *Client) ListSecurityGroupsByVPC(vpcID string) ([]SecurityGroup, error)
- func (c *Client) ListSubnets() ([]Subnet, error)
- func (c *Client) ListTargetGroups() ([]TargetGroup, error)
- func (c *Client) ModifyInstanceType(instanceID, instanceType string) error
- func (c *Client) ModifySecurityGroups(instanceID string, groupIDs []string) error
- func (c *Client) PutMetricAlarm(input PutMetricAlarmInput) error
- func (c *Client) RebootInstances(instanceID string) error
- func (c *Client) ReleaseAddress(allocationID string) error
- func (c *Client) RunInstances(input RunInstancesInput) (*RunInstancesOutput, error)
- func (c *Client) StartInstances(instanceID string) (*StartInstancesOutput, error)
- func (c *Client) StopInstances(instanceID string) (*StopInstancesOutput, error)
- func (c *Client) TerminateInstances(instanceIDs ...string) (*TerminateInstancesOutput, error)
- type CloudWatchDatapoint
- type CopyImage
- func (c *CopyImage) Cancel(ctx core.ExecutionContext) error
- func (c *CopyImage) Cleanup(ctx core.SetupContext) error
- func (c *CopyImage) Color() string
- func (c *CopyImage) Configuration() []configuration.Field
- func (c *CopyImage) Description() string
- func (c *CopyImage) Documentation() string
- func (c *CopyImage) ExampleOutput() map[string]any
- func (c *CopyImage) Execute(ctx core.ExecutionContext) error
- func (c *CopyImage) HandleHook(ctx core.ActionHookContext) error
- func (c *CopyImage) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *CopyImage) Hooks() []core.Hook
- func (c *CopyImage) Icon() string
- func (c *CopyImage) Label() string
- func (c *CopyImage) Name() string
- func (c *CopyImage) OnIntegrationMessage(ctx core.IntegrationMessageContext) error
- func (c *CopyImage) OutputChannels(configuration any) []core.OutputChannel
- func (c *CopyImage) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *CopyImage) Setup(ctx core.SetupContext) error
- type CopyImageConfiguration
- type CopyImageExecutionMetadata
- type CopyImageInput
- type CopyImageNodeMetadata
- type CopyImageOutput
- type CreateAlarm
- func (c *CreateAlarm) Cancel(_ core.ExecutionContext) error
- func (c *CreateAlarm) Cleanup(_ core.SetupContext) error
- func (c *CreateAlarm) Color() string
- func (c *CreateAlarm) Configuration() []configuration.Field
- func (c *CreateAlarm) Description() string
- func (c *CreateAlarm) Documentation() string
- func (c *CreateAlarm) ExampleOutput() map[string]any
- func (c *CreateAlarm) Execute(ctx core.ExecutionContext) error
- func (c *CreateAlarm) HandleHook(_ core.ActionHookContext) error
- func (c *CreateAlarm) HandleWebhook(_ core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *CreateAlarm) Hooks() []core.Hook
- func (c *CreateAlarm) Icon() string
- func (c *CreateAlarm) Label() string
- func (c *CreateAlarm) Name() string
- func (c *CreateAlarm) OutputChannels(_ any) []core.OutputChannel
- func (c *CreateAlarm) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *CreateAlarm) Setup(ctx core.SetupContext) error
- type CreateAlarmConfiguration
- type CreateAlarmNodeMetadata
- type CreateImage
- func (c *CreateImage) Cancel(ctx core.ExecutionContext) error
- func (c *CreateImage) Cleanup(ctx core.SetupContext) error
- func (c *CreateImage) Color() string
- func (c *CreateImage) Configuration() []configuration.Field
- func (c *CreateImage) Description() string
- func (c *CreateImage) Documentation() string
- func (c *CreateImage) ExampleOutput() map[string]any
- func (c *CreateImage) Execute(ctx core.ExecutionContext) error
- func (c *CreateImage) HandleHook(ctx core.ActionHookContext) error
- func (c *CreateImage) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *CreateImage) Hooks() []core.Hook
- func (c *CreateImage) Icon() string
- func (c *CreateImage) Label() string
- func (c *CreateImage) Name() string
- func (c *CreateImage) OnIntegrationMessage(ctx core.IntegrationMessageContext) error
- func (c *CreateImage) OutputChannels(configuration any) []core.OutputChannel
- func (c *CreateImage) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *CreateImage) Setup(ctx core.SetupContext) error
- type CreateImageConfiguration
- type CreateImageExecutionMetadata
- type CreateImageInput
- type CreateImageNodeMetadata
- type CreateImageOutput
- type CreateInstance
- func (c *CreateInstance) Cancel(ctx core.ExecutionContext) error
- func (c *CreateInstance) Cleanup(ctx core.SetupContext) error
- func (c *CreateInstance) Color() string
- func (c *CreateInstance) Configuration() []configuration.Field
- func (c *CreateInstance) Description() string
- func (c *CreateInstance) Documentation() string
- func (c *CreateInstance) ExampleOutput() map[string]any
- func (c *CreateInstance) Execute(ctx core.ExecutionContext) error
- func (c *CreateInstance) HandleHook(ctx core.ActionHookContext) error
- func (c *CreateInstance) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *CreateInstance) Hooks() []core.Hook
- func (c *CreateInstance) Icon() string
- func (c *CreateInstance) Label() string
- func (c *CreateInstance) Name() string
- func (c *CreateInstance) OutputChannels(configuration any) []core.OutputChannel
- func (c *CreateInstance) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *CreateInstance) Setup(ctx core.SetupContext) error
- type CreateInstanceConfiguration
- type CreateInstanceExecutionMetadata
- type CreateInstanceNodeMetadata
- type CreateListenerInput
- type CreateListenerOutput
- type CreateLoadBalancer
- func (c *CreateLoadBalancer) Cancel(ctx core.ExecutionContext) error
- func (c *CreateLoadBalancer) Cleanup(ctx core.SetupContext) error
- func (c *CreateLoadBalancer) Color() string
- func (c *CreateLoadBalancer) Configuration() []configuration.Field
- func (c *CreateLoadBalancer) Description() string
- func (c *CreateLoadBalancer) Documentation() string
- func (c *CreateLoadBalancer) ExampleOutput() map[string]any
- func (c *CreateLoadBalancer) Execute(ctx core.ExecutionContext) error
- func (c *CreateLoadBalancer) HandleHook(ctx core.ActionHookContext) error
- func (c *CreateLoadBalancer) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *CreateLoadBalancer) Hooks() []core.Hook
- func (c *CreateLoadBalancer) Icon() string
- func (c *CreateLoadBalancer) Label() string
- func (c *CreateLoadBalancer) Name() string
- func (c *CreateLoadBalancer) OutputChannels(configuration any) []core.OutputChannel
- func (c *CreateLoadBalancer) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *CreateLoadBalancer) Setup(ctx core.SetupContext) error
- type CreateLoadBalancerConfiguration
- type CreateLoadBalancerExecutionMetadata
- type CreateLoadBalancerInput
- type CreateLoadBalancerNodeMetadata
- type CreateLoadBalancerOutput
- type CustomerOwnedIPv4Pool
- type DeleteAlarm
- func (c *DeleteAlarm) Cancel(_ core.ExecutionContext) error
- func (c *DeleteAlarm) Cleanup(_ core.SetupContext) error
- func (c *DeleteAlarm) Color() string
- func (c *DeleteAlarm) Configuration() []configuration.Field
- func (c *DeleteAlarm) Description() string
- func (c *DeleteAlarm) Documentation() string
- func (c *DeleteAlarm) ExampleOutput() map[string]any
- func (c *DeleteAlarm) Execute(ctx core.ExecutionContext) error
- func (c *DeleteAlarm) HandleHook(_ core.ActionHookContext) error
- func (c *DeleteAlarm) HandleWebhook(_ core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *DeleteAlarm) Hooks() []core.Hook
- func (c *DeleteAlarm) Icon() string
- func (c *DeleteAlarm) Label() string
- func (c *DeleteAlarm) Name() string
- func (c *DeleteAlarm) OutputChannels(_ any) []core.OutputChannel
- func (c *DeleteAlarm) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *DeleteAlarm) Setup(ctx core.SetupContext) error
- type DeleteAlarmConfiguration
- type DeleteAlarmNodeMetadata
- type DeleteInstance
- func (c *DeleteInstance) Cancel(ctx core.ExecutionContext) error
- func (c *DeleteInstance) Cleanup(ctx core.SetupContext) error
- func (c *DeleteInstance) Color() string
- func (c *DeleteInstance) Configuration() []configuration.Field
- func (c *DeleteInstance) Description() string
- func (c *DeleteInstance) Documentation() string
- func (c *DeleteInstance) ExampleOutput() map[string]any
- func (c *DeleteInstance) Execute(ctx core.ExecutionContext) error
- func (c *DeleteInstance) HandleHook(ctx core.ActionHookContext) error
- func (c *DeleteInstance) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *DeleteInstance) Hooks() []core.Hook
- func (c *DeleteInstance) Icon() string
- func (c *DeleteInstance) Label() string
- func (c *DeleteInstance) Name() string
- func (c *DeleteInstance) OutputChannels(configuration any) []core.OutputChannel
- func (c *DeleteInstance) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *DeleteInstance) Setup(ctx core.SetupContext) error
- type DeleteInstanceConfiguration
- type DeleteInstanceExecutionMetadata
- type DeleteInstanceNodeMetadata
- type DeleteLoadBalancer
- func (c *DeleteLoadBalancer) Cancel(ctx core.ExecutionContext) error
- func (c *DeleteLoadBalancer) Cleanup(ctx core.SetupContext) error
- func (c *DeleteLoadBalancer) Color() string
- func (c *DeleteLoadBalancer) Configuration() []configuration.Field
- func (c *DeleteLoadBalancer) Description() string
- func (c *DeleteLoadBalancer) Documentation() string
- func (c *DeleteLoadBalancer) ExampleOutput() map[string]any
- func (c *DeleteLoadBalancer) Execute(ctx core.ExecutionContext) error
- func (c *DeleteLoadBalancer) HandleHook(ctx core.ActionHookContext) error
- func (c *DeleteLoadBalancer) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *DeleteLoadBalancer) Hooks() []core.Hook
- func (c *DeleteLoadBalancer) Icon() string
- func (c *DeleteLoadBalancer) Label() string
- func (c *DeleteLoadBalancer) Name() string
- func (c *DeleteLoadBalancer) OutputChannels(configuration any) []core.OutputChannel
- func (c *DeleteLoadBalancer) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *DeleteLoadBalancer) Setup(ctx core.SetupContext) error
- type DeleteLoadBalancerConfiguration
- type DeleteLoadBalancerExecutionMetadata
- type DeleteLoadBalancerNodeMetadata
- type DeleteLoadBalancerOutput
- type DeregisterImage
- func (c *DeregisterImage) Cancel(ctx core.ExecutionContext) error
- func (c *DeregisterImage) Cleanup(ctx core.SetupContext) error
- func (c *DeregisterImage) Color() string
- func (c *DeregisterImage) Configuration() []configuration.Field
- func (c *DeregisterImage) Description() string
- func (c *DeregisterImage) Documentation() string
- func (c *DeregisterImage) ExampleOutput() map[string]any
- func (c *DeregisterImage) Execute(ctx core.ExecutionContext) error
- func (c *DeregisterImage) HandleHook(ctx core.ActionHookContext) error
- func (c *DeregisterImage) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *DeregisterImage) Hooks() []core.Hook
- func (c *DeregisterImage) Icon() string
- func (c *DeregisterImage) Label() string
- func (c *DeregisterImage) Name() string
- func (c *DeregisterImage) OutputChannels(configuration any) []core.OutputChannel
- func (c *DeregisterImage) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *DeregisterImage) Setup(ctx core.SetupContext) error
- type DeregisterImageConfiguration
- type DisableImage
- func (c *DisableImage) Cancel(ctx core.ExecutionContext) error
- func (c *DisableImage) Cleanup(ctx core.SetupContext) error
- func (c *DisableImage) Color() string
- func (c *DisableImage) Configuration() []configuration.Field
- func (c *DisableImage) Description() string
- func (c *DisableImage) Documentation() string
- func (c *DisableImage) ExampleOutput() map[string]any
- func (c *DisableImage) Execute(ctx core.ExecutionContext) error
- func (c *DisableImage) HandleHook(ctx core.ActionHookContext) error
- func (c *DisableImage) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *DisableImage) Hooks() []core.Hook
- func (c *DisableImage) Icon() string
- func (c *DisableImage) Label() string
- func (c *DisableImage) Name() string
- func (c *DisableImage) OutputChannels(configuration any) []core.OutputChannel
- func (c *DisableImage) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *DisableImage) Setup(ctx core.SetupContext) error
- type DisableImageConfiguration
- type DisableImageDeprecation
- func (c *DisableImageDeprecation) Cancel(ctx core.ExecutionContext) error
- func (c *DisableImageDeprecation) Cleanup(ctx core.SetupContext) error
- func (c *DisableImageDeprecation) Color() string
- func (c *DisableImageDeprecation) Configuration() []configuration.Field
- func (c *DisableImageDeprecation) Description() string
- func (c *DisableImageDeprecation) Documentation() string
- func (c *DisableImageDeprecation) ExampleOutput() map[string]any
- func (c *DisableImageDeprecation) Execute(ctx core.ExecutionContext) error
- func (c *DisableImageDeprecation) HandleHook(ctx core.ActionHookContext) error
- func (c *DisableImageDeprecation) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *DisableImageDeprecation) Hooks() []core.Hook
- func (c *DisableImageDeprecation) Icon() string
- func (c *DisableImageDeprecation) Label() string
- func (c *DisableImageDeprecation) Name() string
- func (c *DisableImageDeprecation) OutputChannels(configuration any) []core.OutputChannel
- func (c *DisableImageDeprecation) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *DisableImageDeprecation) Setup(ctx core.SetupContext) error
- type DisableImageDeprecationConfiguration
- type ElasticIP
- type EnableImage
- func (c *EnableImage) Cancel(ctx core.ExecutionContext) error
- func (c *EnableImage) Cleanup(ctx core.SetupContext) error
- func (c *EnableImage) Color() string
- func (c *EnableImage) Configuration() []configuration.Field
- func (c *EnableImage) Description() string
- func (c *EnableImage) Documentation() string
- func (c *EnableImage) ExampleOutput() map[string]any
- func (c *EnableImage) Execute(ctx core.ExecutionContext) error
- func (c *EnableImage) HandleHook(ctx core.ActionHookContext) error
- func (c *EnableImage) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *EnableImage) Hooks() []core.Hook
- func (c *EnableImage) Icon() string
- func (c *EnableImage) Label() string
- func (c *EnableImage) Name() string
- func (c *EnableImage) OutputChannels(configuration any) []core.OutputChannel
- func (c *EnableImage) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *EnableImage) Setup(ctx core.SetupContext) error
- type EnableImageConfiguration
- type EnableImageDeprecation
- func (c *EnableImageDeprecation) Cancel(ctx core.ExecutionContext) error
- func (c *EnableImageDeprecation) Cleanup(ctx core.SetupContext) error
- func (c *EnableImageDeprecation) Color() string
- func (c *EnableImageDeprecation) Configuration() []configuration.Field
- func (c *EnableImageDeprecation) Description() string
- func (c *EnableImageDeprecation) Documentation() string
- func (c *EnableImageDeprecation) ExampleOutput() map[string]any
- func (c *EnableImageDeprecation) Execute(ctx core.ExecutionContext) error
- func (c *EnableImageDeprecation) HandleHook(ctx core.ActionHookContext) error
- func (c *EnableImageDeprecation) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *EnableImageDeprecation) Hooks() []core.Hook
- func (c *EnableImageDeprecation) Icon() string
- func (c *EnableImageDeprecation) Label() string
- func (c *EnableImageDeprecation) Name() string
- func (c *EnableImageDeprecation) OutputChannels(configuration any) []core.OutputChannel
- func (c *EnableImageDeprecation) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *EnableImageDeprecation) Setup(ctx core.SetupContext) error
- type EnableImageDeprecationConfiguration
- type EnableImageDeprecationOutput
- type GetAlarm
- func (c *GetAlarm) Cancel(_ core.ExecutionContext) error
- func (c *GetAlarm) Cleanup(_ core.SetupContext) error
- func (c *GetAlarm) Color() string
- func (c *GetAlarm) Configuration() []configuration.Field
- func (c *GetAlarm) Description() string
- func (c *GetAlarm) Documentation() string
- func (c *GetAlarm) ExampleOutput() map[string]any
- func (c *GetAlarm) Execute(ctx core.ExecutionContext) error
- func (c *GetAlarm) HandleHook(_ core.ActionHookContext) error
- func (c *GetAlarm) HandleWebhook(_ core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *GetAlarm) Hooks() []core.Hook
- func (c *GetAlarm) Icon() string
- func (c *GetAlarm) Label() string
- func (c *GetAlarm) Name() string
- func (c *GetAlarm) OutputChannels(_ any) []core.OutputChannel
- func (c *GetAlarm) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *GetAlarm) Setup(ctx core.SetupContext) error
- type GetAlarmConfiguration
- type GetAlarmNodeMetadata
- type GetImage
- func (c *GetImage) Cancel(ctx core.ExecutionContext) error
- func (c *GetImage) Cleanup(ctx core.SetupContext) error
- func (c *GetImage) Color() string
- func (c *GetImage) Configuration() []configuration.Field
- func (c *GetImage) Description() string
- func (c *GetImage) Documentation() string
- func (c *GetImage) ExampleOutput() map[string]any
- func (c *GetImage) Execute(ctx core.ExecutionContext) error
- func (c *GetImage) HandleHook(ctx core.ActionHookContext) error
- func (c *GetImage) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *GetImage) Hooks() []core.Hook
- func (c *GetImage) Icon() string
- func (c *GetImage) Label() string
- func (c *GetImage) Name() string
- func (c *GetImage) OutputChannels(configuration any) []core.OutputChannel
- func (c *GetImage) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *GetImage) Setup(ctx core.SetupContext) error
- type GetImageConfiguration
- type GetInstance
- func (c *GetInstance) Cancel(ctx core.ExecutionContext) error
- func (c *GetInstance) Cleanup(ctx core.SetupContext) error
- func (c *GetInstance) Color() string
- func (c *GetInstance) Configuration() []configuration.Field
- func (c *GetInstance) Description() string
- func (c *GetInstance) Documentation() string
- func (c *GetInstance) ExampleOutput() map[string]any
- func (c *GetInstance) Execute(ctx core.ExecutionContext) error
- func (c *GetInstance) HandleHook(ctx core.ActionHookContext) error
- func (c *GetInstance) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *GetInstance) Hooks() []core.Hook
- func (c *GetInstance) Icon() string
- func (c *GetInstance) Label() string
- func (c *GetInstance) Name() string
- func (c *GetInstance) OutputChannels(configuration any) []core.OutputChannel
- func (c *GetInstance) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *GetInstance) Setup(ctx core.SetupContext) error
- type GetInstanceConfiguration
- type GetInstanceMetrics
- func (c *GetInstanceMetrics) Cancel(ctx core.ExecutionContext) error
- func (c *GetInstanceMetrics) Cleanup(ctx core.SetupContext) error
- func (c *GetInstanceMetrics) Color() string
- func (c *GetInstanceMetrics) Configuration() []configuration.Field
- func (c *GetInstanceMetrics) Description() string
- func (c *GetInstanceMetrics) Documentation() string
- func (c *GetInstanceMetrics) ExampleOutput() map[string]any
- func (c *GetInstanceMetrics) Execute(ctx core.ExecutionContext) error
- func (c *GetInstanceMetrics) HandleHook(ctx core.ActionHookContext) error
- func (c *GetInstanceMetrics) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *GetInstanceMetrics) Hooks() []core.Hook
- func (c *GetInstanceMetrics) Icon() string
- func (c *GetInstanceMetrics) Label() string
- func (c *GetInstanceMetrics) Name() string
- func (c *GetInstanceMetrics) OutputChannels(configuration any) []core.OutputChannel
- func (c *GetInstanceMetrics) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *GetInstanceMetrics) Setup(ctx core.SetupContext) error
- type GetInstanceMetricsConfiguration
- type GetInstanceMetricsNodeMetadata
- type GetInstanceNodeMetadata
- type GetMetricStatisticsInput
- type Image
- type ImageBlockDeviceMapping
- type ImageEbsDetails
- type Instance
- type InstanceDetails
- type InstanceProfile
- type InstanceStatusDetails
- type InstanceTypeInfo
- type IpamPool
- type KeyPair
- type LoadBalancer
- type ManageElasticIP
- func (c *ManageElasticIP) Cancel(ctx core.ExecutionContext) error
- func (c *ManageElasticIP) Cleanup(ctx core.SetupContext) error
- func (c *ManageElasticIP) Color() string
- func (c *ManageElasticIP) Configuration() []configuration.Field
- func (c *ManageElasticIP) Description() string
- func (c *ManageElasticIP) Documentation() string
- func (c *ManageElasticIP) ExampleOutput() map[string]any
- func (c *ManageElasticIP) Execute(ctx core.ExecutionContext) error
- func (c *ManageElasticIP) HandleHook(ctx core.ActionHookContext) error
- func (c *ManageElasticIP) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *ManageElasticIP) Hooks() []core.Hook
- func (c *ManageElasticIP) Icon() string
- func (c *ManageElasticIP) Label() string
- func (c *ManageElasticIP) Name() string
- func (c *ManageElasticIP) OutputChannels(configuration any) []core.OutputChannel
- func (c *ManageElasticIP) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *ManageElasticIP) Setup(ctx core.SetupContext) error
- type ManageElasticIPConfiguration
- type ManageElasticIPNodeMetadata
- type ManageInstancePower
- func (c *ManageInstancePower) Cancel(ctx core.ExecutionContext) error
- func (c *ManageInstancePower) Cleanup(ctx core.SetupContext) error
- func (c *ManageInstancePower) Color() string
- func (c *ManageInstancePower) Configuration() []configuration.Field
- func (c *ManageInstancePower) Description() string
- func (c *ManageInstancePower) Documentation() string
- func (c *ManageInstancePower) ExampleOutput() map[string]any
- func (c *ManageInstancePower) Execute(ctx core.ExecutionContext) error
- func (c *ManageInstancePower) HandleHook(ctx core.ActionHookContext) error
- func (c *ManageInstancePower) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *ManageInstancePower) Hooks() []core.Hook
- func (c *ManageInstancePower) Icon() string
- func (c *ManageInstancePower) Label() string
- func (c *ManageInstancePower) Name() string
- func (c *ManageInstancePower) OutputChannels(configuration any) []core.OutputChannel
- func (c *ManageInstancePower) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *ManageInstancePower) Setup(ctx core.SetupContext) error
- type ManageInstancePowerConfiguration
- type ManageInstancePowerExecutionMetadata
- type ManageInstancePowerNodeMetadata
- type MetricAlarm
- type OnAlarm
- func (p *OnAlarm) Cleanup(_ core.TriggerContext) error
- func (p *OnAlarm) Color() string
- func (p *OnAlarm) Configuration() []configuration.Field
- func (p *OnAlarm) Description() string
- func (p *OnAlarm) Documentation() string
- func (t *OnAlarm) ExampleData() map[string]any
- func (p *OnAlarm) HandleHook(ctx core.TriggerHookContext) (map[string]any, error)
- func (p *OnAlarm) HandleWebhook(_ core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (p *OnAlarm) Hooks() []core.Hook
- func (p *OnAlarm) Icon() string
- func (p *OnAlarm) Label() string
- func (p *OnAlarm) Name() string
- func (p *OnAlarm) OnIntegrationMessage(ctx core.IntegrationMessageContext) error
- func (p *OnAlarm) Setup(ctx core.TriggerContext) error
- type OnAlarmConfiguration
- type OnAlarmMetadata
- type OnImage
- func (p *OnImage) Cleanup(ctx core.TriggerContext) error
- func (p *OnImage) Color() string
- func (p *OnImage) Configuration() []configuration.Field
- func (p *OnImage) Description() string
- func (p *OnImage) Documentation() string
- func (t *OnImage) ExampleData() map[string]any
- func (p *OnImage) HandleHook(ctx core.TriggerHookContext) (map[string]any, error)
- func (p *OnImage) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (p *OnImage) Hooks() []core.Hook
- func (p *OnImage) Icon() string
- func (p *OnImage) Label() string
- func (p *OnImage) Name() string
- func (p *OnImage) OnIntegrationMessage(ctx core.IntegrationMessageContext) error
- func (p *OnImage) Setup(ctx core.TriggerContext) error
- type OnImageConfiguration
- type OnImageMetadata
- type PublicIPv4Pool
- type PutMetricAlarmInput
- type ReleaseElasticIP
- func (c *ReleaseElasticIP) Cancel(ctx core.ExecutionContext) error
- func (c *ReleaseElasticIP) Cleanup(ctx core.SetupContext) error
- func (c *ReleaseElasticIP) Color() string
- func (c *ReleaseElasticIP) Configuration() []configuration.Field
- func (c *ReleaseElasticIP) Description() string
- func (c *ReleaseElasticIP) Documentation() string
- func (c *ReleaseElasticIP) ExampleOutput() map[string]any
- func (c *ReleaseElasticIP) Execute(ctx core.ExecutionContext) error
- func (c *ReleaseElasticIP) HandleHook(ctx core.ActionHookContext) error
- func (c *ReleaseElasticIP) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *ReleaseElasticIP) Hooks() []core.Hook
- func (c *ReleaseElasticIP) Icon() string
- func (c *ReleaseElasticIP) Label() string
- func (c *ReleaseElasticIP) Name() string
- func (c *ReleaseElasticIP) OutputChannels(configuration any) []core.OutputChannel
- func (c *ReleaseElasticIP) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *ReleaseElasticIP) Setup(ctx core.SetupContext) error
- type ReleaseElasticIPConfiguration
- type ReleaseElasticIPNodeMetadata
- type RootVolumeConfig
- type RunInstancesInput
- type RunInstancesOutput
- type SecurityGroup
- type SecurityGroupIngressRule
- type StartInstancesOutput
- type StopInstancesOutput
- type Subnet
- type TargetGroup
- type TerminateInstancesOutput
- type ThresholdCondition
- type UpdateAlarm
- func (c *UpdateAlarm) Cancel(_ core.ExecutionContext) error
- func (c *UpdateAlarm) Cleanup(_ core.SetupContext) error
- func (c *UpdateAlarm) Color() string
- func (c *UpdateAlarm) Configuration() []configuration.Field
- func (c *UpdateAlarm) Description() string
- func (c *UpdateAlarm) Documentation() string
- func (c *UpdateAlarm) ExampleOutput() map[string]any
- func (c *UpdateAlarm) Execute(ctx core.ExecutionContext) error
- func (c *UpdateAlarm) HandleHook(_ core.ActionHookContext) error
- func (c *UpdateAlarm) HandleWebhook(_ core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *UpdateAlarm) Hooks() []core.Hook
- func (c *UpdateAlarm) Icon() string
- func (c *UpdateAlarm) Label() string
- func (c *UpdateAlarm) Name() string
- func (c *UpdateAlarm) OutputChannels(_ any) []core.OutputChannel
- func (c *UpdateAlarm) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *UpdateAlarm) Setup(ctx core.SetupContext) error
- type UpdateAlarmConfiguration
- type UpdateAlarmNodeMetadata
- type UpdateInstance
- func (c *UpdateInstance) Cancel(ctx core.ExecutionContext) error
- func (c *UpdateInstance) Cleanup(ctx core.SetupContext) error
- func (c *UpdateInstance) Color() string
- func (c *UpdateInstance) Configuration() []configuration.Field
- func (c *UpdateInstance) Description() string
- func (c *UpdateInstance) Documentation() string
- func (c *UpdateInstance) ExampleOutput() map[string]any
- func (c *UpdateInstance) Execute(ctx core.ExecutionContext) error
- func (c *UpdateInstance) HandleHook(ctx core.ActionHookContext) error
- func (c *UpdateInstance) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
- func (c *UpdateInstance) Hooks() []core.Hook
- func (c *UpdateInstance) Icon() string
- func (c *UpdateInstance) Label() string
- func (c *UpdateInstance) Name() string
- func (c *UpdateInstance) OutputChannels(configuration any) []core.OutputChannel
- func (c *UpdateInstance) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *UpdateInstance) Setup(ctx core.SetupContext) error
- type UpdateInstanceConfiguration
- type UpdateInstanceExecutionMetadata
- type UpdateInstanceNodeMetadata
Constants ¶
View Source
const ( ResourceTypeImageOS = "ec2.imageOS" ResourceTypeElasticIP = "ec2.elasticIp" ResourceTypeElasticIPUnassociated = "ec2.elasticIpUnassociated" ResourceTypeElasticIPAssociation = "ec2.elasticIpAssociation" ResourceTypePublicIPv4Pool = "ec2.publicIpv4Pool" ResourceTypeCustomerOwnedIPv4Pool = "ec2.customerOwnedIpv4Pool" ResourceTypeIpamPool = "ec2.ipamPool" ResourceTypeIAMInstanceProfile = "iam.instanceProfile" )
View Source
const ( Source = "aws.ec2" DetailTypeAMIStateChange = "EC2 AMI State Change" )
View Source
const ( CloudWatchSource = "aws.cloudwatch" DetailTypeCloudWatchAlarmStateChange = "CloudWatch Alarm State Change" )
View Source
const ( ImageStatePending = "pending" ImageStateAvailable = "available" ImageStateFailed = "failed" ImageStateDeregistered = "deregistered" ImageStateDisabled = "disabled" )
View Source
const ( InstanceStatePending = "pending" InstanceStateRunning = "running" InstanceStateShuttingDown = "shutting-down" InstanceStateTerminated = "terminated" InstanceStateStopping = "stopping" InstanceStateStopped = "stopped" )
View Source
const ( CreateInstancePayloadType = "aws.ec2.instance" DeleteInstancePayloadType = "aws.ec2.instance.deleted" GetInstancePayloadType = "aws.ec2.instance" GetInstanceMetricsPayloadType = "aws.ec2.instance.metrics" ManageInstancePowerStartPayloadType = "aws.ec2.instance.power.started" ManageInstancePowerStopPayloadType = "aws.ec2.instance.power.stopped" ManageInstancePowerRebootPayloadType = "aws.ec2.instance.power.rebooted" ManageInstancePowerHibernatePayloadType = "aws.ec2.instance.power.hibernated" UpdateInstancePayloadType = "aws.ec2.instance.updated" AllocateElasticIPPayloadType = "aws.ec2.elastic-ip.allocated" ReleaseElasticIPPayloadType = "aws.ec2.elastic-ip.released" ManageElasticIPAssociatePayloadType = "aws.ec2.elastic-ip.associated" ManageElasticIPDisassociatePayloadType = "aws.ec2.elastic-ip.disassociated" CreateAlarmPayloadType = "aws.ec2.alarm" GetAlarmPayloadType = "aws.ec2.alarm" UpdateAlarmPayloadType = "aws.ec2.alarm" DeleteAlarmPayloadType = "aws.ec2.alarm.deleted" CreateLoadBalancerPayloadType = "aws.ec2.loadBalancer" DeleteLoadBalancerPayloadType = "aws.ec2.loadBalancer.deleted" )
View Source
const ( LoadBalancerStateProvisioning = "provisioning" LoadBalancerStateActive = "active" LoadBalancerStateActiveImpaired = "active_impaired" LoadBalancerStateFailed = "failed" LoadBalancerStateDeleted = "deleted" LoadBalancerTypeApplication = "application" LoadBalancerTypeNetwork = "network" LoadBalancerTypeGateway = "gateway" LoadBalancerSchemeInternetFacing = "internet-facing" LoadBalancerSchemeInternal = "internal" LoadBalancerIPAddressTypeIPv4 = "ipv4" LoadBalancerIPAddressTypeDualStack = "dualstack" LoadBalancerIPAddressTypeDualStackWithoutPublicIP = "dualstack-without-public-ipv4" ListenerProtocolHTTP = "HTTP" ListenerProtocolHTTPS = "HTTPS" ListenerProtocolTCP = "TCP" ListenerProtocolTLS = "TLS" ListenerProtocolUDP = "UDP" ListenerProtocolTCPUDP = "TCP_UDP" ListenerProtocolGENEVE = "GENEVE" )
Variables ¶
View Source
var AlarmComparisonOperatorOptions = []configuration.FieldOption{
{Label: "Greater Than Threshold", Value: "GreaterThanThreshold"},
{Label: "Greater Than Or Equal To Threshold", Value: "GreaterThanOrEqualToThreshold"},
{Label: "Less Than Threshold", Value: "LessThanThreshold"},
{Label: "Less Than Or Equal To Threshold", Value: "LessThanOrEqualToThreshold"},
}
View Source
var AlarmEC2ActionOptions = []configuration.FieldOption{
{Label: "Recover", Value: "recover"},
{Label: "Reboot", Value: "reboot"},
{Label: "Stop", Value: "stop"},
{Label: "Terminate", Value: "terminate"},
}
AlarmEC2ActionOptions are EC2 automation actions that CloudWatch can trigger when an alarm enters the ALARM state. Each value maps to arn:aws:automate:<region>:ec2:<value>.
View Source
var AlarmStatisticOptions = []configuration.FieldOption{
{Label: "Average", Value: "Average"},
{Label: "Sum", Value: "Sum"},
{Label: "Minimum", Value: "Minimum"},
{Label: "Maximum", Value: "Maximum"},
{Label: "Sample Count", Value: "SampleCount"},
}
View Source
var AlarmTreatMissingDataOptions = []configuration.FieldOption{
{Label: "Missing", Value: "missing"},
{Label: "Ignore", Value: "ignore"},
{Label: "Breaching", Value: "breaching"},
{Label: "Not Breaching", Value: "notBreaching"},
}
View Source
var EC2MetricOptions = []configuration.FieldOption{
{Label: "CPU Utilization", Value: "CPUUtilization"},
{Label: "CPU Credit Usage", Value: "CPUCreditUsage"},
{Label: "CPU Credit Balance", Value: "CPUCreditBalance"},
{Label: "Disk Read Bytes", Value: "DiskReadBytes"},
{Label: "Disk Read Ops", Value: "DiskReadOps"},
{Label: "Disk Write Bytes", Value: "DiskWriteBytes"},
{Label: "Disk Write Ops", Value: "DiskWriteOps"},
{Label: "Network In", Value: "NetworkIn"},
{Label: "Network Out", Value: "NetworkOut"},
{Label: "Network Packets In", Value: "NetworkPacketsIn"},
{Label: "Network Packets Out", Value: "NetworkPacketsOut"},
{Label: "Status Check Failed", Value: "StatusCheckFailed"},
{Label: "Status Check Failed (Instance)", Value: "StatusCheckFailed_Instance"},
{Label: "Status Check Failed (System)", Value: "StatusCheckFailed_System"},
{Label: "Status Check Failed (Attached EBS)", Value: "StatusCheckFailed_AttachedEBS"},
}
Functions ¶
func IsInstanceNotFound ¶ added in v0.22.0
func IsLoadBalancerNotFound ¶ added in v0.27.0
func IsSecurityGroupDuplicate ¶ added in v0.22.0
func IsSecurityGroupRuleDuplicate ¶ added in v0.22.0
func ListAlarms ¶ added in v0.26.0
func ListAlarms(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
func ListCustomerOwnedIPv4Pools ¶ added in v0.26.0
func ListCustomerOwnedIPv4Pools(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
func ListElasticIPAssociations ¶ added in v0.26.0
func ListElasticIPAssociations(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
func ListElasticIPs ¶ added in v0.26.0
func ListElasticIPs(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
func ListImageOperatingSystems ¶ added in v0.22.0
func ListImageOperatingSystems(_ core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
func ListImages ¶
func ListImages(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
func ListInstanceAlarms ¶ added in v0.26.0
func ListInstanceAlarms(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
func ListInstanceProfiles ¶ added in v0.27.0
func ListInstanceProfiles(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
func ListInstanceTypes ¶ added in v0.22.0
func ListInstanceTypes(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
func ListInstances ¶
func ListInstances(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
func ListIpamPools ¶ added in v0.26.0
func ListIpamPools(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
func ListKeyPairs ¶ added in v0.22.0
func ListKeyPairs(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
func ListLoadBalancers ¶ added in v0.27.0
func ListLoadBalancers(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
func ListPublicIPv4Pools ¶ added in v0.26.0
func ListPublicIPv4Pools(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
func ListSecurityGroups ¶ added in v0.22.0
func ListSecurityGroups(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
func ListSubnets ¶ added in v0.22.0
func ListSubnets(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
func ListTargetGroups ¶ added in v0.27.0
func ListTargetGroups(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
func ListUnassociatedElasticIPs ¶ added in v0.26.0
func ListUnassociatedElasticIPs(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
Types ¶
type AMIStateChangeDetail ¶
type AlarmDimension ¶ added in v0.26.0
type AllocateAddressInput ¶ added in v0.26.0
type AllocateAddressOutput ¶ added in v0.26.0
type AllocateAddressOutput struct {
RequestID string `json:"requestId,omitempty" mapstructure:"requestId"`
AllocationID string `json:"allocationId" mapstructure:"allocationId"`
PublicIP string `json:"publicIp" mapstructure:"publicIp"`
Domain string `json:"domain" mapstructure:"domain"`
Region string `json:"region" mapstructure:"region"`
}
type AllocateElasticIP ¶ added in v0.26.0
type AllocateElasticIP struct{}
func (*AllocateElasticIP) Cancel ¶ added in v0.26.0
func (c *AllocateElasticIP) Cancel(ctx core.ExecutionContext) error
func (*AllocateElasticIP) Cleanup ¶ added in v0.26.0
func (c *AllocateElasticIP) Cleanup(ctx core.SetupContext) error
func (*AllocateElasticIP) Color ¶ added in v0.26.0
func (c *AllocateElasticIP) Color() string
func (*AllocateElasticIP) Configuration ¶ added in v0.26.0
func (c *AllocateElasticIP) Configuration() []configuration.Field
func (*AllocateElasticIP) Description ¶ added in v0.26.0
func (c *AllocateElasticIP) Description() string
func (*AllocateElasticIP) Documentation ¶ added in v0.26.0
func (c *AllocateElasticIP) Documentation() string
func (*AllocateElasticIP) ExampleOutput ¶ added in v0.26.0
func (c *AllocateElasticIP) ExampleOutput() map[string]any
func (*AllocateElasticIP) Execute ¶ added in v0.26.0
func (c *AllocateElasticIP) Execute(ctx core.ExecutionContext) error
func (*AllocateElasticIP) HandleHook ¶ added in v0.26.0
func (c *AllocateElasticIP) HandleHook(ctx core.ActionHookContext) error
func (*AllocateElasticIP) HandleWebhook ¶ added in v0.26.0
func (c *AllocateElasticIP) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*AllocateElasticIP) Hooks ¶ added in v0.26.0
func (c *AllocateElasticIP) Hooks() []core.Hook
func (*AllocateElasticIP) Icon ¶ added in v0.26.0
func (c *AllocateElasticIP) Icon() string
func (*AllocateElasticIP) Label ¶ added in v0.26.0
func (c *AllocateElasticIP) Label() string
func (*AllocateElasticIP) Name ¶ added in v0.26.0
func (c *AllocateElasticIP) Name() string
func (*AllocateElasticIP) OutputChannels ¶ added in v0.26.0
func (c *AllocateElasticIP) OutputChannels(configuration any) []core.OutputChannel
func (*AllocateElasticIP) ProcessQueueItem ¶ added in v0.26.0
func (c *AllocateElasticIP) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*AllocateElasticIP) Setup ¶ added in v0.26.0
func (c *AllocateElasticIP) Setup(ctx core.SetupContext) error
type AllocateElasticIPConfiguration ¶ added in v0.26.0
type AllocateElasticIPConfiguration struct {
Region string `json:"region" mapstructure:"region"`
IPSource string `json:"ipSource" mapstructure:"ipSource"`
PublicIPv4Pool string `json:"publicIpv4Pool" mapstructure:"publicIpv4Pool"`
CustomerOwnedIPv4Pool string `json:"customerOwnedIpv4Pool" mapstructure:"customerOwnedIpv4Pool"`
IpamPoolID string `json:"ipamPoolId" mapstructure:"ipamPoolId"`
Address *string `json:"address,omitempty" mapstructure:"address"`
Tags []common.Tag `json:"tags" mapstructure:"tags"`
}
type AllocateElasticIPNodeMetadata ¶ added in v0.26.0
type AssociateAddressInput ¶ added in v0.26.0
type AssociateAddressOutput ¶ added in v0.26.0
type BlockDeviceConfig ¶ added in v0.27.0
type BlockDeviceConfiguration ¶ added in v0.27.0
type BlockDeviceConfiguration struct {
DeviceName string `json:"deviceName" mapstructure:"deviceName"`
VolumeSizeGiB int `json:"volumeSizeGiB" mapstructure:"volumeSizeGiB"`
VolumeType string `json:"volumeType" mapstructure:"volumeType"`
VolumeIops int `json:"volumeIops" mapstructure:"volumeIops"`
DeleteOnTermination bool `json:"deleteOnTermination" mapstructure:"deleteOnTermination"`
Encrypted bool `json:"encrypted" mapstructure:"encrypted"`
KmsKeyID string `json:"kmsKeyId" mapstructure:"kmsKeyId"`
}
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(httpCtx core.HTTPContext, credentials *aws.Credentials, region string) *Client
func (*Client) AllocateAddress ¶ added in v0.26.0
func (c *Client) AllocateAddress(input AllocateAddressInput) (*AllocateAddressOutput, error)
func (*Client) AssociateAddress ¶ added in v0.26.0
func (c *Client) AssociateAddress(input AssociateAddressInput) (*AssociateAddressOutput, error)
func (*Client) CopyImage ¶
func (c *Client) CopyImage(input CopyImageInput) (*CopyImageOutput, error)
func (*Client) CreateImage ¶
func (c *Client) CreateImage(input CreateImageInput) (*CreateImageOutput, error)
func (*Client) CreateListener ¶ added in v0.27.0
func (c *Client) CreateListener(input CreateListenerInput) (*CreateListenerOutput, error)
func (*Client) CreateLoadBalancer ¶ added in v0.27.0
func (c *Client) CreateLoadBalancer(input CreateLoadBalancerInput) (*CreateLoadBalancerOutput, error)
func (*Client) CreateSecurityGroup ¶ added in v0.22.0
func (*Client) DeleteAlarms ¶ added in v0.28.0
func (*Client) DeleteLoadBalancer ¶ added in v0.27.0
func (c *Client) DeleteLoadBalancer(loadBalancerARN string) (*DeleteLoadBalancerOutput, error)
func (*Client) DescribeAlarm ¶ added in v0.26.0
func (c *Client) DescribeAlarm(alarmName string) (*MetricAlarm, error)
func (*Client) DescribeInstance ¶ added in v0.22.0
func (c *Client) DescribeInstance(instanceID string) (*InstanceDetails, error)
func (*Client) DescribeInstanceStatus ¶ added in v0.27.0
func (c *Client) DescribeInstanceStatus(instanceID string) (*InstanceStatusDetails, error)
func (*Client) DescribeLoadBalancer ¶ added in v0.27.0
func (c *Client) DescribeLoadBalancer(loadBalancerARN string) (*LoadBalancer, error)
func (*Client) DescribeSubnet ¶ added in v0.22.0
func (*Client) DisableImageDeprecation ¶
func (*Client) DisassociateAddress ¶ added in v0.26.0
func (*Client) EnableImageDeprecation ¶
func (c *Client) EnableImageDeprecation(imageID, deprecateAt string) (*EnableImageDeprecationOutput, error)
func (*Client) EnsureSecurityGroupIngressRules ¶ added in v0.22.0
func (c *Client) EnsureSecurityGroupIngressRules(groupID string, rules []SecurityGroupIngressRule) error
func (*Client) GetMetricStatistics ¶ added in v0.25.0
func (c *Client) GetMetricStatistics(input GetMetricStatisticsInput) ([]CloudWatchDatapoint, error)
GetMetricStatistics retrieves CloudWatch metric data points for an EC2 instance. Statistic should be "Average" for CPU/memory metrics, "Sum" for network metrics.
func (*Client) HibernateInstances ¶ added in v0.24.0
func (c *Client) HibernateInstances(instanceID string) (*StopInstancesOutput, error)
func (*Client) ListAddresses ¶ added in v0.26.0
func (*Client) ListAlarms ¶ added in v0.26.0
func (c *Client) ListAlarms() ([]MetricAlarm, error)
func (*Client) ListAlarmsForInstance ¶ added in v0.26.0
func (c *Client) ListAlarmsForInstance(instanceID string) ([]MetricAlarm, error)
func (*Client) ListCustomerOwnedIPv4Pools ¶ added in v0.26.0
func (c *Client) ListCustomerOwnedIPv4Pools() ([]CustomerOwnedIPv4Pool, error)
func (*Client) ListImages ¶
func (*Client) ListInstanceProfiles ¶ added in v0.27.0
func (c *Client) ListInstanceProfiles() ([]InstanceProfile, error)
func (*Client) ListInstanceTypes ¶ added in v0.22.0
func (c *Client) ListInstanceTypes() ([]InstanceTypeInfo, error)
func (*Client) ListInstances ¶
func (*Client) ListIpamPoolsForElasticIP ¶ added in v0.26.0
func (*Client) ListKeyPairs ¶ added in v0.22.0
func (*Client) ListLoadBalancers ¶ added in v0.27.0
func (c *Client) ListLoadBalancers() ([]LoadBalancer, error)
func (*Client) ListPublicIPv4Pools ¶ added in v0.26.0
func (c *Client) ListPublicIPv4Pools() ([]PublicIPv4Pool, error)
func (*Client) ListPublicImages ¶ added in v0.22.0
func (*Client) ListSecurityGroups ¶ added in v0.22.0
func (c *Client) ListSecurityGroups() ([]SecurityGroup, error)
func (*Client) ListSecurityGroupsByVPC ¶ added in v0.22.0
func (c *Client) ListSecurityGroupsByVPC(vpcID string) ([]SecurityGroup, error)
func (*Client) ListSubnets ¶ added in v0.22.0
func (*Client) ListTargetGroups ¶ added in v0.27.0
func (c *Client) ListTargetGroups() ([]TargetGroup, error)
func (*Client) ModifyInstanceType ¶ added in v0.25.0
func (*Client) ModifySecurityGroups ¶ added in v0.25.0
func (*Client) PutMetricAlarm ¶ added in v0.26.0
func (c *Client) PutMetricAlarm(input PutMetricAlarmInput) error
func (*Client) RebootInstances ¶ added in v0.24.0
func (*Client) ReleaseAddress ¶ added in v0.26.0
func (*Client) RunInstances ¶ added in v0.22.0
func (c *Client) RunInstances(input RunInstancesInput) (*RunInstancesOutput, error)
func (*Client) StartInstances ¶ added in v0.24.0
func (c *Client) StartInstances(instanceID string) (*StartInstancesOutput, error)
func (*Client) StopInstances ¶ added in v0.24.0
func (c *Client) StopInstances(instanceID string) (*StopInstancesOutput, error)
func (*Client) TerminateInstances ¶ added in v0.22.0
func (c *Client) TerminateInstances(instanceIDs ...string) (*TerminateInstancesOutput, error)
type CloudWatchDatapoint ¶ added in v0.25.0
type CopyImage ¶
type CopyImage struct{}
func (*CopyImage) Configuration ¶
func (c *CopyImage) Configuration() []configuration.Field
func (*CopyImage) Description ¶
func (*CopyImage) Documentation ¶
func (*CopyImage) ExampleOutput ¶
func (*CopyImage) HandleHook ¶ added in v0.18.0
func (c *CopyImage) HandleHook(ctx core.ActionHookContext) error
func (*CopyImage) HandleWebhook ¶
func (c *CopyImage) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*CopyImage) OnIntegrationMessage ¶
func (c *CopyImage) OnIntegrationMessage(ctx core.IntegrationMessageContext) error
func (*CopyImage) OutputChannels ¶
func (c *CopyImage) OutputChannels(configuration any) []core.OutputChannel
func (*CopyImage) ProcessQueueItem ¶
type CopyImageConfiguration ¶
type CopyImageConfiguration struct {
SourceRegion string `json:"sourceRegion" mapstructure:"sourceRegion"`
SourceImageID string `json:"sourceImageId" mapstructure:"sourceImageId"`
Region string `json:"region" mapstructure:"region"`
Name *string `json:"name,omitempty" mapstructure:"name,omitempty"`
Description *string `json:"description,omitempty" mapstructure:"description,omitempty"`
}
func (*CopyImageConfiguration) IsDescriptionSet ¶
func (c *CopyImageConfiguration) IsDescriptionSet() bool
func (*CopyImageConfiguration) IsNameSet ¶
func (c *CopyImageConfiguration) IsNameSet() bool
type CopyImageExecutionMetadata ¶
type CopyImageExecutionMetadata struct {
ImageID string `json:"imageId" mapstructure:"imageId"`
SourceImageID string `json:"sourceImageId" mapstructure:"sourceImageId"`
SourceRegion string `json:"sourceRegion" mapstructure:"sourceRegion"`
State string `json:"state" mapstructure:"state"`
RequestID string `json:"requestId" mapstructure:"requestId"`
}
type CopyImageInput ¶
type CopyImageNodeMetadata ¶
type CopyImageOutput ¶
type CopyImageOutput struct {
RequestID string `json:"requestId" mapstructure:"requestId"`
ImageID string `json:"imageId" mapstructure:"imageId"`
SourceImageID string `json:"sourceImageId" mapstructure:"sourceImageId"`
SourceRegion string `json:"sourceRegion" mapstructure:"sourceRegion"`
Name string `json:"name" mapstructure:"name"`
Description string `json:"description" mapstructure:"description"`
Region string `json:"region" mapstructure:"region"`
State string `json:"state" mapstructure:"state"`
}
type CreateAlarm ¶ added in v0.26.0
type CreateAlarm struct{}
func (*CreateAlarm) Cancel ¶ added in v0.26.0
func (c *CreateAlarm) Cancel(_ core.ExecutionContext) error
func (*CreateAlarm) Cleanup ¶ added in v0.26.0
func (c *CreateAlarm) Cleanup(_ core.SetupContext) error
func (*CreateAlarm) Color ¶ added in v0.26.0
func (c *CreateAlarm) Color() string
func (*CreateAlarm) Configuration ¶ added in v0.26.0
func (c *CreateAlarm) Configuration() []configuration.Field
func (*CreateAlarm) Description ¶ added in v0.26.0
func (c *CreateAlarm) Description() string
func (*CreateAlarm) Documentation ¶ added in v0.26.0
func (c *CreateAlarm) Documentation() string
func (*CreateAlarm) ExampleOutput ¶ added in v0.26.0
func (c *CreateAlarm) ExampleOutput() map[string]any
func (*CreateAlarm) Execute ¶ added in v0.26.0
func (c *CreateAlarm) Execute(ctx core.ExecutionContext) error
func (*CreateAlarm) HandleHook ¶ added in v0.26.0
func (c *CreateAlarm) HandleHook(_ core.ActionHookContext) error
func (*CreateAlarm) HandleWebhook ¶ added in v0.26.0
func (c *CreateAlarm) HandleWebhook(_ core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*CreateAlarm) Hooks ¶ added in v0.26.0
func (c *CreateAlarm) Hooks() []core.Hook
func (*CreateAlarm) Icon ¶ added in v0.26.0
func (c *CreateAlarm) Icon() string
func (*CreateAlarm) Label ¶ added in v0.26.0
func (c *CreateAlarm) Label() string
func (*CreateAlarm) Name ¶ added in v0.26.0
func (c *CreateAlarm) Name() string
func (*CreateAlarm) OutputChannels ¶ added in v0.26.0
func (c *CreateAlarm) OutputChannels(_ any) []core.OutputChannel
func (*CreateAlarm) ProcessQueueItem ¶ added in v0.26.0
func (c *CreateAlarm) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*CreateAlarm) Setup ¶ added in v0.26.0
func (c *CreateAlarm) Setup(ctx core.SetupContext) error
type CreateAlarmConfiguration ¶ added in v0.26.0
type CreateAlarmConfiguration struct {
Region string `json:"region" mapstructure:"region"`
InstanceID string `json:"instance" mapstructure:"instance"`
AlarmName string `json:"alarmName" mapstructure:"alarmName"`
MetricName string `json:"metricName" mapstructure:"metricName"`
Statistic string `json:"statistic" mapstructure:"statistic"`
ComparisonOperator string `json:"comparisonOperator" mapstructure:"comparisonOperator"`
Threshold float64 `json:"threshold" mapstructure:"threshold"`
Period int `json:"period" mapstructure:"period"`
EvaluationPeriods int `json:"evaluationPeriods" mapstructure:"evaluationPeriods"`
AlarmDescription string `json:"alarmDescription" mapstructure:"alarmDescription"`
TreatMissingData string `json:"treatMissingData" mapstructure:"treatMissingData"`
SNSTopicARN string `json:"snsTopic" mapstructure:"snsTopic"`
AlarmAction string `json:"alarmAction" mapstructure:"alarmAction"`
}
type CreateAlarmNodeMetadata ¶ added in v0.26.0
type CreateAlarmNodeMetadata struct {
Region string `json:"region" mapstructure:"region"`
InstanceID string `json:"instanceId" mapstructure:"instanceId"`
InstanceName string `json:"instanceName" mapstructure:"instanceName"`
AlarmName string `json:"alarmName" mapstructure:"alarmName"`
MetricName string `json:"metricName" mapstructure:"metricName"`
}
type CreateImage ¶
type CreateImage struct{}
func (*CreateImage) Cancel ¶
func (c *CreateImage) Cancel(ctx core.ExecutionContext) error
func (*CreateImage) Cleanup ¶
func (c *CreateImage) Cleanup(ctx core.SetupContext) error
func (*CreateImage) Color ¶
func (c *CreateImage) Color() string
func (*CreateImage) Configuration ¶
func (c *CreateImage) Configuration() []configuration.Field
func (*CreateImage) Description ¶
func (c *CreateImage) Description() string
func (*CreateImage) Documentation ¶
func (c *CreateImage) Documentation() string
func (*CreateImage) ExampleOutput ¶
func (c *CreateImage) ExampleOutput() map[string]any
func (*CreateImage) Execute ¶
func (c *CreateImage) Execute(ctx core.ExecutionContext) error
func (*CreateImage) HandleHook ¶ added in v0.18.0
func (c *CreateImage) HandleHook(ctx core.ActionHookContext) error
func (*CreateImage) HandleWebhook ¶
func (c *CreateImage) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*CreateImage) Hooks ¶ added in v0.18.0
func (c *CreateImage) Hooks() []core.Hook
func (*CreateImage) Icon ¶
func (c *CreateImage) Icon() string
func (*CreateImage) Label ¶
func (c *CreateImage) Label() string
func (*CreateImage) Name ¶
func (c *CreateImage) Name() string
func (*CreateImage) OnIntegrationMessage ¶
func (c *CreateImage) OnIntegrationMessage(ctx core.IntegrationMessageContext) error
func (*CreateImage) OutputChannels ¶
func (c *CreateImage) OutputChannels(configuration any) []core.OutputChannel
func (*CreateImage) ProcessQueueItem ¶
func (c *CreateImage) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*CreateImage) Setup ¶
func (c *CreateImage) Setup(ctx core.SetupContext) error
type CreateImageConfiguration ¶
type CreateImageConfiguration struct {
Region string `json:"region" mapstructure:"region"`
InstanceID string `json:"instanceId" mapstructure:"instanceId"`
Name string `json:"name" mapstructure:"name"`
Description string `json:"description" mapstructure:"description"`
NoReboot bool `json:"noReboot" mapstructure:"noReboot"`
}
type CreateImageInput ¶
type CreateImageNodeMetadata ¶
type CreateImageOutput ¶
type CreateImageOutput struct {
RequestID string `json:"requestId" mapstructure:"requestId"`
ImageID string `json:"imageId" mapstructure:"imageId"`
InstanceID string `json:"instanceId" mapstructure:"instanceId"`
Name string `json:"name" mapstructure:"name"`
Region string `json:"region" mapstructure:"region"`
State string `json:"state" mapstructure:"state"`
}
type CreateInstance ¶ added in v0.22.0
type CreateInstance struct{}
func (*CreateInstance) Cancel ¶ added in v0.22.0
func (c *CreateInstance) Cancel(ctx core.ExecutionContext) error
func (*CreateInstance) Cleanup ¶ added in v0.22.0
func (c *CreateInstance) Cleanup(ctx core.SetupContext) error
func (*CreateInstance) Color ¶ added in v0.22.0
func (c *CreateInstance) Color() string
func (*CreateInstance) Configuration ¶ added in v0.22.0
func (c *CreateInstance) Configuration() []configuration.Field
func (*CreateInstance) Description ¶ added in v0.22.0
func (c *CreateInstance) Description() string
func (*CreateInstance) Documentation ¶ added in v0.22.0
func (c *CreateInstance) Documentation() string
func (*CreateInstance) ExampleOutput ¶ added in v0.22.0
func (c *CreateInstance) ExampleOutput() map[string]any
func (*CreateInstance) Execute ¶ added in v0.22.0
func (c *CreateInstance) Execute(ctx core.ExecutionContext) error
func (*CreateInstance) HandleHook ¶ added in v0.22.0
func (c *CreateInstance) HandleHook(ctx core.ActionHookContext) error
func (*CreateInstance) HandleWebhook ¶ added in v0.22.0
func (c *CreateInstance) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*CreateInstance) Hooks ¶ added in v0.22.0
func (c *CreateInstance) Hooks() []core.Hook
func (*CreateInstance) Icon ¶ added in v0.22.0
func (c *CreateInstance) Icon() string
func (*CreateInstance) Label ¶ added in v0.22.0
func (c *CreateInstance) Label() string
func (*CreateInstance) Name ¶ added in v0.22.0
func (c *CreateInstance) Name() string
func (*CreateInstance) OutputChannels ¶ added in v0.22.0
func (c *CreateInstance) OutputChannels(configuration any) []core.OutputChannel
func (*CreateInstance) ProcessQueueItem ¶ added in v0.22.0
func (c *CreateInstance) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*CreateInstance) Setup ¶ added in v0.22.0
func (c *CreateInstance) Setup(ctx core.SetupContext) error
type CreateInstanceConfiguration ¶ added in v0.22.0
type CreateInstanceConfiguration struct {
Name string `json:"name" mapstructure:"name"`
Region string `json:"region" mapstructure:"region"`
ImageOS string `json:"imageOs" mapstructure:"imageOs"`
ImageID string `json:"image" mapstructure:"image"`
InstanceType string `json:"instanceType" mapstructure:"instanceType"`
SubnetID string `json:"subnet" mapstructure:"subnet"`
SecurityGroupMode string `json:"securityGroupMode" mapstructure:"securityGroupMode"`
SecurityGroupID string `json:"-" mapstructure:"-"`
SecurityGroupIDs []string `json:"securityGroup" mapstructure:"securityGroup"`
IAMInstanceProfile string `json:"iamInstanceProfile" mapstructure:"iamInstanceProfile"`
AllowSSHFromInternet bool `json:"allowSshFromInternet" mapstructure:"allowSshFromInternet"`
AllowHTTPFromInternet bool `json:"allowHttpFromInternet" mapstructure:"allowHttpFromInternet"`
AllowHTTPSFromInternet bool `json:"allowHttpsFromInternet" mapstructure:"allowHttpsFromInternet"`
KeyName string `json:"keyName" mapstructure:"keyName"`
UserData string `json:"userData" mapstructure:"userData"`
AssociatePublicIPAddress bool `json:"associatePublicIpAddress" mapstructure:"associatePublicIpAddress"`
ConfigureRootVolume bool `json:"configureRootVolume" mapstructure:"configureRootVolume"`
RootDeviceName string `json:"rootDeviceName" mapstructure:"rootDeviceName"`
VolumeSizeGiB int `json:"volumeSizeGiB" mapstructure:"volumeSizeGiB"`
VolumeType string `json:"volumeType" mapstructure:"volumeType"`
VolumeIops int `json:"volumeIops" mapstructure:"volumeIops"`
RootDeleteOnTermination bool `json:"rootDeleteOnTermination" mapstructure:"rootDeleteOnTermination"`
RootEncrypted bool `json:"rootEncrypted" mapstructure:"rootEncrypted"`
RootKmsKeyID string `json:"rootKmsKeyId" mapstructure:"rootKmsKeyId"`
Tags []common.Tag `json:"tags" mapstructure:"tags"`
AdditionalBlockDevices []BlockDeviceConfiguration `json:"additionalBlockDevices" mapstructure:"additionalBlockDevices"`
WaitForRunningTimeoutSeconds int `json:"waitForRunningTimeoutSeconds" mapstructure:"waitForRunningTimeoutSeconds"`
WaitForStatusChecks bool `json:"waitForStatusChecks" mapstructure:"waitForStatusChecks"`
}
type CreateInstanceExecutionMetadata ¶ added in v0.22.0
type CreateInstanceExecutionMetadata struct {
InstanceID string `json:"instanceId" mapstructure:"instanceId"`
PollErrors int `json:"pollErrors" mapstructure:"pollErrors"`
PollAttempts int `json:"pollAttempts" mapstructure:"pollAttempts"`
StatusPollErrors int `json:"statusPollErrors" mapstructure:"statusPollErrors"`
StartedAtUnix int64 `json:"startedAtUnix" mapstructure:"startedAtUnix"`
LastObservedState string `json:"lastObservedState,omitempty" mapstructure:"lastObservedState"`
}
type CreateInstanceNodeMetadata ¶ added in v0.22.0
type CreateInstanceNodeMetadata struct {
Region string `json:"region" mapstructure:"region"`
Name string `json:"name,omitempty" mapstructure:"name"`
ImageOS string `json:"imageOs,omitempty" mapstructure:"imageOs"`
ImageOSLabel string `json:"imageOsLabel,omitempty" mapstructure:"imageOsLabel"`
InstanceType string `json:"instanceType,omitempty" mapstructure:"instanceType"`
ImageID string `json:"image,omitempty" mapstructure:"image"`
SubnetID string `json:"subnet,omitempty" mapstructure:"subnet"`
SecurityGroupID string `json:"securityGroup,omitempty" mapstructure:"securityGroup"`
SecurityGroupIDs []string `json:"securityGroups,omitempty" mapstructure:"securityGroups"`
SecurityGroupMode string `json:"securityGroupMode,omitempty" mapstructure:"securityGroupMode"`
SubnetName string `json:"subnetName,omitempty" mapstructure:"subnetName"`
SecurityGroupName string `json:"securityGroupName,omitempty" mapstructure:"securityGroupName"`
ImageName string `json:"imageName,omitempty" mapstructure:"imageName"`
}
type CreateListenerInput ¶ added in v0.27.0
type CreateListenerOutput ¶ added in v0.27.0
type CreateLoadBalancer ¶ added in v0.27.0
type CreateLoadBalancer struct{}
func (*CreateLoadBalancer) Cancel ¶ added in v0.27.0
func (c *CreateLoadBalancer) Cancel(ctx core.ExecutionContext) error
func (*CreateLoadBalancer) Cleanup ¶ added in v0.27.0
func (c *CreateLoadBalancer) Cleanup(ctx core.SetupContext) error
func (*CreateLoadBalancer) Color ¶ added in v0.27.0
func (c *CreateLoadBalancer) Color() string
func (*CreateLoadBalancer) Configuration ¶ added in v0.27.0
func (c *CreateLoadBalancer) Configuration() []configuration.Field
func (*CreateLoadBalancer) Description ¶ added in v0.27.0
func (c *CreateLoadBalancer) Description() string
func (*CreateLoadBalancer) Documentation ¶ added in v0.27.0
func (c *CreateLoadBalancer) Documentation() string
func (*CreateLoadBalancer) ExampleOutput ¶ added in v0.27.0
func (c *CreateLoadBalancer) ExampleOutput() map[string]any
func (*CreateLoadBalancer) Execute ¶ added in v0.27.0
func (c *CreateLoadBalancer) Execute(ctx core.ExecutionContext) error
func (*CreateLoadBalancer) HandleHook ¶ added in v0.27.0
func (c *CreateLoadBalancer) HandleHook(ctx core.ActionHookContext) error
func (*CreateLoadBalancer) HandleWebhook ¶ added in v0.27.0
func (c *CreateLoadBalancer) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*CreateLoadBalancer) Hooks ¶ added in v0.27.0
func (c *CreateLoadBalancer) Hooks() []core.Hook
func (*CreateLoadBalancer) Icon ¶ added in v0.27.0
func (c *CreateLoadBalancer) Icon() string
func (*CreateLoadBalancer) Label ¶ added in v0.27.0
func (c *CreateLoadBalancer) Label() string
func (*CreateLoadBalancer) Name ¶ added in v0.27.0
func (c *CreateLoadBalancer) Name() string
func (*CreateLoadBalancer) OutputChannels ¶ added in v0.27.0
func (c *CreateLoadBalancer) OutputChannels(configuration any) []core.OutputChannel
func (*CreateLoadBalancer) ProcessQueueItem ¶ added in v0.27.0
func (c *CreateLoadBalancer) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*CreateLoadBalancer) Setup ¶ added in v0.27.0
func (c *CreateLoadBalancer) Setup(ctx core.SetupContext) error
type CreateLoadBalancerConfiguration ¶ added in v0.27.0
type CreateLoadBalancerConfiguration struct {
Region string `json:"region" mapstructure:"region"`
Name string `json:"name" mapstructure:"name"`
Type string `json:"type" mapstructure:"type"`
Scheme string `json:"scheme" mapstructure:"scheme"`
IPAddressType string `json:"ipAddressType" mapstructure:"ipAddressType"`
Subnets []string `json:"subnets" mapstructure:"subnets"`
SecurityGroups []string `json:"securityGroups" mapstructure:"securityGroups"`
ListenerProtocol string `json:"listenerProtocol" mapstructure:"listenerProtocol"`
ListenerPort int `json:"listenerPort" mapstructure:"listenerPort"`
ListenerTargetGroup string `json:"listenerTargetGroup" mapstructure:"listenerTargetGroup"`
ListenerCertificateArn string `json:"listenerCertificateArn" mapstructure:"listenerCertificateArn"`
}
type CreateLoadBalancerExecutionMetadata ¶ added in v0.27.0
type CreateLoadBalancerExecutionMetadata struct {
LoadBalancerARN string `json:"loadBalancerArn" mapstructure:"loadBalancerArn"`
ListenerCreated bool `json:"listenerCreated" mapstructure:"listenerCreated"`
ListenerErrors int `json:"listenerErrors" mapstructure:"listenerErrors"`
PollErrors int `json:"pollErrors" mapstructure:"pollErrors"`
PollAttempts int `json:"pollAttempts" mapstructure:"pollAttempts"`
}
type CreateLoadBalancerInput ¶ added in v0.27.0
type CreateLoadBalancerNodeMetadata ¶ added in v0.27.0
type CreateLoadBalancerOutput ¶ added in v0.27.0
type CreateLoadBalancerOutput struct {
RequestID string `json:"requestId" mapstructure:"requestId"`
LoadBalancerARN string `json:"loadBalancerArn" mapstructure:"loadBalancerArn"`
Name string `json:"name" mapstructure:"name"`
DNSName string `json:"dnsName" mapstructure:"dnsName"`
Scheme string `json:"scheme" mapstructure:"scheme"`
Type string `json:"type" mapstructure:"type"`
State string `json:"state" mapstructure:"state"`
VpcID string `json:"vpcId" mapstructure:"vpcId"`
Region string `json:"region" mapstructure:"region"`
}
type CustomerOwnedIPv4Pool ¶ added in v0.26.0
type DeleteAlarm ¶ added in v0.28.0
type DeleteAlarm struct{}
func (*DeleteAlarm) Cancel ¶ added in v0.28.0
func (c *DeleteAlarm) Cancel(_ core.ExecutionContext) error
func (*DeleteAlarm) Cleanup ¶ added in v0.28.0
func (c *DeleteAlarm) Cleanup(_ core.SetupContext) error
func (*DeleteAlarm) Color ¶ added in v0.28.0
func (c *DeleteAlarm) Color() string
func (*DeleteAlarm) Configuration ¶ added in v0.28.0
func (c *DeleteAlarm) Configuration() []configuration.Field
func (*DeleteAlarm) Description ¶ added in v0.28.0
func (c *DeleteAlarm) Description() string
func (*DeleteAlarm) Documentation ¶ added in v0.28.0
func (c *DeleteAlarm) Documentation() string
func (*DeleteAlarm) ExampleOutput ¶ added in v0.28.0
func (c *DeleteAlarm) ExampleOutput() map[string]any
func (*DeleteAlarm) Execute ¶ added in v0.28.0
func (c *DeleteAlarm) Execute(ctx core.ExecutionContext) error
func (*DeleteAlarm) HandleHook ¶ added in v0.28.0
func (c *DeleteAlarm) HandleHook(_ core.ActionHookContext) error
func (*DeleteAlarm) HandleWebhook ¶ added in v0.28.0
func (c *DeleteAlarm) HandleWebhook(_ core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*DeleteAlarm) Hooks ¶ added in v0.28.0
func (c *DeleteAlarm) Hooks() []core.Hook
func (*DeleteAlarm) Icon ¶ added in v0.28.0
func (c *DeleteAlarm) Icon() string
func (*DeleteAlarm) Label ¶ added in v0.28.0
func (c *DeleteAlarm) Label() string
func (*DeleteAlarm) Name ¶ added in v0.28.0
func (c *DeleteAlarm) Name() string
func (*DeleteAlarm) OutputChannels ¶ added in v0.28.0
func (c *DeleteAlarm) OutputChannels(_ any) []core.OutputChannel
func (*DeleteAlarm) ProcessQueueItem ¶ added in v0.28.0
func (c *DeleteAlarm) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*DeleteAlarm) Setup ¶ added in v0.28.0
func (c *DeleteAlarm) Setup(ctx core.SetupContext) error
type DeleteAlarmConfiguration ¶ added in v0.28.0
type DeleteAlarmNodeMetadata ¶ added in v0.28.0
type DeleteInstance ¶ added in v0.22.0
type DeleteInstance struct{}
func (*DeleteInstance) Cancel ¶ added in v0.22.0
func (c *DeleteInstance) Cancel(ctx core.ExecutionContext) error
func (*DeleteInstance) Cleanup ¶ added in v0.22.0
func (c *DeleteInstance) Cleanup(ctx core.SetupContext) error
func (*DeleteInstance) Color ¶ added in v0.22.0
func (c *DeleteInstance) Color() string
func (*DeleteInstance) Configuration ¶ added in v0.22.0
func (c *DeleteInstance) Configuration() []configuration.Field
func (*DeleteInstance) Description ¶ added in v0.22.0
func (c *DeleteInstance) Description() string
func (*DeleteInstance) Documentation ¶ added in v0.22.0
func (c *DeleteInstance) Documentation() string
func (*DeleteInstance) ExampleOutput ¶ added in v0.22.0
func (c *DeleteInstance) ExampleOutput() map[string]any
func (*DeleteInstance) Execute ¶ added in v0.22.0
func (c *DeleteInstance) Execute(ctx core.ExecutionContext) error
func (*DeleteInstance) HandleHook ¶ added in v0.22.0
func (c *DeleteInstance) HandleHook(ctx core.ActionHookContext) error
func (*DeleteInstance) HandleWebhook ¶ added in v0.22.0
func (c *DeleteInstance) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*DeleteInstance) Hooks ¶ added in v0.22.0
func (c *DeleteInstance) Hooks() []core.Hook
func (*DeleteInstance) Icon ¶ added in v0.22.0
func (c *DeleteInstance) Icon() string
func (*DeleteInstance) Label ¶ added in v0.22.0
func (c *DeleteInstance) Label() string
func (*DeleteInstance) Name ¶ added in v0.22.0
func (c *DeleteInstance) Name() string
func (*DeleteInstance) OutputChannels ¶ added in v0.22.0
func (c *DeleteInstance) OutputChannels(configuration any) []core.OutputChannel
func (*DeleteInstance) ProcessQueueItem ¶ added in v0.22.0
func (c *DeleteInstance) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*DeleteInstance) Setup ¶ added in v0.22.0
func (c *DeleteInstance) Setup(ctx core.SetupContext) error
type DeleteInstanceConfiguration ¶ added in v0.22.0
type DeleteInstanceExecutionMetadata ¶ added in v0.22.0
type DeleteInstanceNodeMetadata ¶ added in v0.22.0
type DeleteLoadBalancer ¶ added in v0.27.0
type DeleteLoadBalancer struct{}
func (*DeleteLoadBalancer) Cancel ¶ added in v0.27.0
func (c *DeleteLoadBalancer) Cancel(ctx core.ExecutionContext) error
func (*DeleteLoadBalancer) Cleanup ¶ added in v0.27.0
func (c *DeleteLoadBalancer) Cleanup(ctx core.SetupContext) error
func (*DeleteLoadBalancer) Color ¶ added in v0.27.0
func (c *DeleteLoadBalancer) Color() string
func (*DeleteLoadBalancer) Configuration ¶ added in v0.27.0
func (c *DeleteLoadBalancer) Configuration() []configuration.Field
func (*DeleteLoadBalancer) Description ¶ added in v0.27.0
func (c *DeleteLoadBalancer) Description() string
func (*DeleteLoadBalancer) Documentation ¶ added in v0.27.0
func (c *DeleteLoadBalancer) Documentation() string
func (*DeleteLoadBalancer) ExampleOutput ¶ added in v0.27.0
func (c *DeleteLoadBalancer) ExampleOutput() map[string]any
func (*DeleteLoadBalancer) Execute ¶ added in v0.27.0
func (c *DeleteLoadBalancer) Execute(ctx core.ExecutionContext) error
func (*DeleteLoadBalancer) HandleHook ¶ added in v0.27.0
func (c *DeleteLoadBalancer) HandleHook(ctx core.ActionHookContext) error
func (*DeleteLoadBalancer) HandleWebhook ¶ added in v0.27.0
func (c *DeleteLoadBalancer) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*DeleteLoadBalancer) Hooks ¶ added in v0.27.0
func (c *DeleteLoadBalancer) Hooks() []core.Hook
func (*DeleteLoadBalancer) Icon ¶ added in v0.27.0
func (c *DeleteLoadBalancer) Icon() string
func (*DeleteLoadBalancer) Label ¶ added in v0.27.0
func (c *DeleteLoadBalancer) Label() string
func (*DeleteLoadBalancer) Name ¶ added in v0.27.0
func (c *DeleteLoadBalancer) Name() string
func (*DeleteLoadBalancer) OutputChannels ¶ added in v0.27.0
func (c *DeleteLoadBalancer) OutputChannels(configuration any) []core.OutputChannel
func (*DeleteLoadBalancer) ProcessQueueItem ¶ added in v0.27.0
func (c *DeleteLoadBalancer) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*DeleteLoadBalancer) Setup ¶ added in v0.27.0
func (c *DeleteLoadBalancer) Setup(ctx core.SetupContext) error
type DeleteLoadBalancerConfiguration ¶ added in v0.27.0
type DeleteLoadBalancerExecutionMetadata ¶ added in v0.27.0
type DeleteLoadBalancerNodeMetadata ¶ added in v0.27.0
type DeleteLoadBalancerOutput ¶ added in v0.27.0
type DeregisterImage ¶
type DeregisterImage struct{}
func (*DeregisterImage) Cancel ¶
func (c *DeregisterImage) Cancel(ctx core.ExecutionContext) error
func (*DeregisterImage) Cleanup ¶
func (c *DeregisterImage) Cleanup(ctx core.SetupContext) error
func (*DeregisterImage) Color ¶
func (c *DeregisterImage) Color() string
func (*DeregisterImage) Configuration ¶
func (c *DeregisterImage) Configuration() []configuration.Field
func (*DeregisterImage) Description ¶
func (c *DeregisterImage) Description() string
func (*DeregisterImage) Documentation ¶
func (c *DeregisterImage) Documentation() string
func (*DeregisterImage) ExampleOutput ¶
func (c *DeregisterImage) ExampleOutput() map[string]any
func (*DeregisterImage) Execute ¶
func (c *DeregisterImage) Execute(ctx core.ExecutionContext) error
func (*DeregisterImage) HandleHook ¶ added in v0.18.0
func (c *DeregisterImage) HandleHook(ctx core.ActionHookContext) error
func (*DeregisterImage) HandleWebhook ¶
func (c *DeregisterImage) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*DeregisterImage) Hooks ¶ added in v0.18.0
func (c *DeregisterImage) Hooks() []core.Hook
func (*DeregisterImage) Icon ¶
func (c *DeregisterImage) Icon() string
func (*DeregisterImage) Label ¶
func (c *DeregisterImage) Label() string
func (*DeregisterImage) Name ¶
func (c *DeregisterImage) Name() string
func (*DeregisterImage) OutputChannels ¶
func (c *DeregisterImage) OutputChannels(configuration any) []core.OutputChannel
func (*DeregisterImage) ProcessQueueItem ¶
func (c *DeregisterImage) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*DeregisterImage) Setup ¶
func (c *DeregisterImage) Setup(ctx core.SetupContext) error
type DisableImage ¶
type DisableImage struct{}
func (*DisableImage) Cancel ¶
func (c *DisableImage) Cancel(ctx core.ExecutionContext) error
func (*DisableImage) Cleanup ¶
func (c *DisableImage) Cleanup(ctx core.SetupContext) error
func (*DisableImage) Color ¶
func (c *DisableImage) Color() string
func (*DisableImage) Configuration ¶
func (c *DisableImage) Configuration() []configuration.Field
func (*DisableImage) Description ¶
func (c *DisableImage) Description() string
func (*DisableImage) Documentation ¶
func (c *DisableImage) Documentation() string
func (*DisableImage) ExampleOutput ¶
func (c *DisableImage) ExampleOutput() map[string]any
func (*DisableImage) Execute ¶
func (c *DisableImage) Execute(ctx core.ExecutionContext) error
func (*DisableImage) HandleHook ¶ added in v0.18.0
func (c *DisableImage) HandleHook(ctx core.ActionHookContext) error
func (*DisableImage) HandleWebhook ¶
func (c *DisableImage) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*DisableImage) Hooks ¶ added in v0.18.0
func (c *DisableImage) Hooks() []core.Hook
func (*DisableImage) Icon ¶
func (c *DisableImage) Icon() string
func (*DisableImage) Label ¶
func (c *DisableImage) Label() string
func (*DisableImage) Name ¶
func (c *DisableImage) Name() string
func (*DisableImage) OutputChannels ¶
func (c *DisableImage) OutputChannels(configuration any) []core.OutputChannel
func (*DisableImage) ProcessQueueItem ¶
func (c *DisableImage) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*DisableImage) Setup ¶
func (c *DisableImage) Setup(ctx core.SetupContext) error
type DisableImageDeprecation ¶
type DisableImageDeprecation struct{}
func (*DisableImageDeprecation) Cancel ¶
func (c *DisableImageDeprecation) Cancel(ctx core.ExecutionContext) error
func (*DisableImageDeprecation) Cleanup ¶
func (c *DisableImageDeprecation) Cleanup(ctx core.SetupContext) error
func (*DisableImageDeprecation) Color ¶
func (c *DisableImageDeprecation) Color() string
func (*DisableImageDeprecation) Configuration ¶
func (c *DisableImageDeprecation) Configuration() []configuration.Field
func (*DisableImageDeprecation) Description ¶
func (c *DisableImageDeprecation) Description() string
func (*DisableImageDeprecation) Documentation ¶
func (c *DisableImageDeprecation) Documentation() string
func (*DisableImageDeprecation) ExampleOutput ¶
func (c *DisableImageDeprecation) ExampleOutput() map[string]any
func (*DisableImageDeprecation) Execute ¶
func (c *DisableImageDeprecation) Execute(ctx core.ExecutionContext) error
func (*DisableImageDeprecation) HandleHook ¶ added in v0.18.0
func (c *DisableImageDeprecation) HandleHook(ctx core.ActionHookContext) error
func (*DisableImageDeprecation) HandleWebhook ¶
func (c *DisableImageDeprecation) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*DisableImageDeprecation) Hooks ¶ added in v0.18.0
func (c *DisableImageDeprecation) Hooks() []core.Hook
func (*DisableImageDeprecation) Icon ¶
func (c *DisableImageDeprecation) Icon() string
func (*DisableImageDeprecation) Label ¶
func (c *DisableImageDeprecation) Label() string
func (*DisableImageDeprecation) Name ¶
func (c *DisableImageDeprecation) Name() string
func (*DisableImageDeprecation) OutputChannels ¶
func (c *DisableImageDeprecation) OutputChannels(configuration any) []core.OutputChannel
func (*DisableImageDeprecation) ProcessQueueItem ¶
func (c *DisableImageDeprecation) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*DisableImageDeprecation) Setup ¶
func (c *DisableImageDeprecation) Setup(ctx core.SetupContext) error
type ElasticIP ¶ added in v0.26.0
type ElasticIP struct {
AllocationID string `json:"allocationId" mapstructure:"allocationId"`
AssociationID string `json:"associationId,omitempty" mapstructure:"associationId"`
PublicIP string `json:"publicIp" mapstructure:"publicIp"`
InstanceID string `json:"instanceId,omitempty" mapstructure:"instanceId"`
Domain string `json:"domain" mapstructure:"domain"`
}
type EnableImage ¶
type EnableImage struct{}
func (*EnableImage) Cancel ¶
func (c *EnableImage) Cancel(ctx core.ExecutionContext) error
func (*EnableImage) Cleanup ¶
func (c *EnableImage) Cleanup(ctx core.SetupContext) error
func (*EnableImage) Color ¶
func (c *EnableImage) Color() string
func (*EnableImage) Configuration ¶
func (c *EnableImage) Configuration() []configuration.Field
func (*EnableImage) Description ¶
func (c *EnableImage) Description() string
func (*EnableImage) Documentation ¶
func (c *EnableImage) Documentation() string
func (*EnableImage) ExampleOutput ¶
func (c *EnableImage) ExampleOutput() map[string]any
func (*EnableImage) Execute ¶
func (c *EnableImage) Execute(ctx core.ExecutionContext) error
func (*EnableImage) HandleHook ¶ added in v0.18.0
func (c *EnableImage) HandleHook(ctx core.ActionHookContext) error
func (*EnableImage) HandleWebhook ¶
func (c *EnableImage) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*EnableImage) Hooks ¶ added in v0.18.0
func (c *EnableImage) Hooks() []core.Hook
func (*EnableImage) Icon ¶
func (c *EnableImage) Icon() string
func (*EnableImage) Label ¶
func (c *EnableImage) Label() string
func (*EnableImage) Name ¶
func (c *EnableImage) Name() string
func (*EnableImage) OutputChannels ¶
func (c *EnableImage) OutputChannels(configuration any) []core.OutputChannel
func (*EnableImage) ProcessQueueItem ¶
func (c *EnableImage) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*EnableImage) Setup ¶
func (c *EnableImage) Setup(ctx core.SetupContext) error
type EnableImageDeprecation ¶
type EnableImageDeprecation struct{}
func (*EnableImageDeprecation) Cancel ¶
func (c *EnableImageDeprecation) Cancel(ctx core.ExecutionContext) error
func (*EnableImageDeprecation) Cleanup ¶
func (c *EnableImageDeprecation) Cleanup(ctx core.SetupContext) error
func (*EnableImageDeprecation) Color ¶
func (c *EnableImageDeprecation) Color() string
func (*EnableImageDeprecation) Configuration ¶
func (c *EnableImageDeprecation) Configuration() []configuration.Field
func (*EnableImageDeprecation) Description ¶
func (c *EnableImageDeprecation) Description() string
func (*EnableImageDeprecation) Documentation ¶
func (c *EnableImageDeprecation) Documentation() string
func (*EnableImageDeprecation) ExampleOutput ¶
func (c *EnableImageDeprecation) ExampleOutput() map[string]any
func (*EnableImageDeprecation) Execute ¶
func (c *EnableImageDeprecation) Execute(ctx core.ExecutionContext) error
func (*EnableImageDeprecation) HandleHook ¶ added in v0.18.0
func (c *EnableImageDeprecation) HandleHook(ctx core.ActionHookContext) error
func (*EnableImageDeprecation) HandleWebhook ¶
func (c *EnableImageDeprecation) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*EnableImageDeprecation) Hooks ¶ added in v0.18.0
func (c *EnableImageDeprecation) Hooks() []core.Hook
func (*EnableImageDeprecation) Icon ¶
func (c *EnableImageDeprecation) Icon() string
func (*EnableImageDeprecation) Label ¶
func (c *EnableImageDeprecation) Label() string
func (*EnableImageDeprecation) Name ¶
func (c *EnableImageDeprecation) Name() string
func (*EnableImageDeprecation) OutputChannels ¶
func (c *EnableImageDeprecation) OutputChannels(configuration any) []core.OutputChannel
func (*EnableImageDeprecation) ProcessQueueItem ¶
func (c *EnableImageDeprecation) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*EnableImageDeprecation) Setup ¶
func (c *EnableImageDeprecation) Setup(ctx core.SetupContext) error
type GetAlarm ¶ added in v0.26.0
type GetAlarm struct{}
func (*GetAlarm) Configuration ¶ added in v0.26.0
func (c *GetAlarm) Configuration() []configuration.Field
func (*GetAlarm) Description ¶ added in v0.26.0
func (*GetAlarm) Documentation ¶ added in v0.26.0
func (*GetAlarm) ExampleOutput ¶ added in v0.26.0
func (*GetAlarm) Execute ¶ added in v0.26.0
func (c *GetAlarm) Execute(ctx core.ExecutionContext) error
func (*GetAlarm) HandleHook ¶ added in v0.26.0
func (c *GetAlarm) HandleHook(_ core.ActionHookContext) error
func (*GetAlarm) HandleWebhook ¶ added in v0.26.0
func (c *GetAlarm) HandleWebhook(_ core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*GetAlarm) OutputChannels ¶ added in v0.26.0
func (c *GetAlarm) OutputChannels(_ any) []core.OutputChannel
func (*GetAlarm) ProcessQueueItem ¶ added in v0.26.0
type GetAlarmConfiguration ¶ added in v0.26.0
type GetAlarmNodeMetadata ¶ added in v0.26.0
type GetImage ¶
type GetImage struct{}
func (*GetImage) Configuration ¶
func (c *GetImage) Configuration() []configuration.Field
func (*GetImage) Description ¶
func (*GetImage) Documentation ¶
func (*GetImage) ExampleOutput ¶
func (*GetImage) HandleHook ¶ added in v0.18.0
func (c *GetImage) HandleHook(ctx core.ActionHookContext) error
func (*GetImage) HandleWebhook ¶
func (c *GetImage) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*GetImage) OutputChannels ¶
func (c *GetImage) OutputChannels(configuration any) []core.OutputChannel
func (*GetImage) ProcessQueueItem ¶
type GetImageConfiguration ¶
type GetInstance ¶ added in v0.24.0
type GetInstance struct{}
func (*GetInstance) Cancel ¶ added in v0.24.0
func (c *GetInstance) Cancel(ctx core.ExecutionContext) error
func (*GetInstance) Cleanup ¶ added in v0.24.0
func (c *GetInstance) Cleanup(ctx core.SetupContext) error
func (*GetInstance) Color ¶ added in v0.24.0
func (c *GetInstance) Color() string
func (*GetInstance) Configuration ¶ added in v0.24.0
func (c *GetInstance) Configuration() []configuration.Field
func (*GetInstance) Description ¶ added in v0.24.0
func (c *GetInstance) Description() string
func (*GetInstance) Documentation ¶ added in v0.24.0
func (c *GetInstance) Documentation() string
func (*GetInstance) ExampleOutput ¶ added in v0.24.0
func (c *GetInstance) ExampleOutput() map[string]any
func (*GetInstance) Execute ¶ added in v0.24.0
func (c *GetInstance) Execute(ctx core.ExecutionContext) error
func (*GetInstance) HandleHook ¶ added in v0.24.0
func (c *GetInstance) HandleHook(ctx core.ActionHookContext) error
func (*GetInstance) HandleWebhook ¶ added in v0.24.0
func (c *GetInstance) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*GetInstance) Hooks ¶ added in v0.24.0
func (c *GetInstance) Hooks() []core.Hook
func (*GetInstance) Icon ¶ added in v0.24.0
func (c *GetInstance) Icon() string
func (*GetInstance) Label ¶ added in v0.24.0
func (c *GetInstance) Label() string
func (*GetInstance) Name ¶ added in v0.24.0
func (c *GetInstance) Name() string
func (*GetInstance) OutputChannels ¶ added in v0.24.0
func (c *GetInstance) OutputChannels(configuration any) []core.OutputChannel
func (*GetInstance) ProcessQueueItem ¶ added in v0.24.0
func (c *GetInstance) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*GetInstance) Setup ¶ added in v0.24.0
func (c *GetInstance) Setup(ctx core.SetupContext) error
type GetInstanceConfiguration ¶ added in v0.24.0
type GetInstanceMetrics ¶ added in v0.25.0
type GetInstanceMetrics struct{}
func (*GetInstanceMetrics) Cancel ¶ added in v0.25.0
func (c *GetInstanceMetrics) Cancel(ctx core.ExecutionContext) error
func (*GetInstanceMetrics) Cleanup ¶ added in v0.25.0
func (c *GetInstanceMetrics) Cleanup(ctx core.SetupContext) error
func (*GetInstanceMetrics) Color ¶ added in v0.25.0
func (c *GetInstanceMetrics) Color() string
func (*GetInstanceMetrics) Configuration ¶ added in v0.25.0
func (c *GetInstanceMetrics) Configuration() []configuration.Field
func (*GetInstanceMetrics) Description ¶ added in v0.25.0
func (c *GetInstanceMetrics) Description() string
func (*GetInstanceMetrics) Documentation ¶ added in v0.25.0
func (c *GetInstanceMetrics) Documentation() string
func (*GetInstanceMetrics) ExampleOutput ¶ added in v0.25.0
func (c *GetInstanceMetrics) ExampleOutput() map[string]any
func (*GetInstanceMetrics) Execute ¶ added in v0.25.0
func (c *GetInstanceMetrics) Execute(ctx core.ExecutionContext) error
func (*GetInstanceMetrics) HandleHook ¶ added in v0.25.0
func (c *GetInstanceMetrics) HandleHook(ctx core.ActionHookContext) error
func (*GetInstanceMetrics) HandleWebhook ¶ added in v0.25.0
func (c *GetInstanceMetrics) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*GetInstanceMetrics) Hooks ¶ added in v0.25.0
func (c *GetInstanceMetrics) Hooks() []core.Hook
func (*GetInstanceMetrics) Icon ¶ added in v0.25.0
func (c *GetInstanceMetrics) Icon() string
func (*GetInstanceMetrics) Label ¶ added in v0.25.0
func (c *GetInstanceMetrics) Label() string
func (*GetInstanceMetrics) Name ¶ added in v0.25.0
func (c *GetInstanceMetrics) Name() string
func (*GetInstanceMetrics) OutputChannels ¶ added in v0.25.0
func (c *GetInstanceMetrics) OutputChannels(configuration any) []core.OutputChannel
func (*GetInstanceMetrics) ProcessQueueItem ¶ added in v0.25.0
func (c *GetInstanceMetrics) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*GetInstanceMetrics) Setup ¶ added in v0.25.0
func (c *GetInstanceMetrics) Setup(ctx core.SetupContext) error
type GetInstanceMetricsConfiguration ¶ added in v0.25.0
type GetInstanceMetricsConfiguration struct {
Region string `json:"region" mapstructure:"region"`
InstanceID string `json:"instance" mapstructure:"instance"`
LookbackPeriod string `json:"lookbackPeriod" mapstructure:"lookbackPeriod"`
IncludeMemory bool `json:"includeMemory" mapstructure:"includeMemory"`
}
type GetInstanceMetricsNodeMetadata ¶ added in v0.25.0
type GetInstanceNodeMetadata ¶ added in v0.24.0
type GetMetricStatisticsInput ¶ added in v0.25.0
type Image ¶
type Image struct {
RequestID string `json:"requestId" mapstructure:"requestId"`
ImageID string `json:"imageId" mapstructure:"imageId"`
ImageLocation string `json:"imageLocation" mapstructure:"imageLocation"`
Public bool `json:"public" mapstructure:"public"`
Name string `json:"name" mapstructure:"name"`
Description string `json:"description" mapstructure:"description"`
State string `json:"state" mapstructure:"state"`
CreationDate string `json:"creationDate" mapstructure:"creationDate"`
OwnerID string `json:"ownerId" mapstructure:"ownerId"`
PlatformDetails string `json:"platformDetails" mapstructure:"platformDetails"`
UsageOperation string `json:"usageOperation" mapstructure:"usageOperation"`
BlockDeviceMappings []ImageBlockDeviceMapping `json:"blockDeviceMappings" mapstructure:"blockDeviceMappings"`
EnaSupport bool `json:"enaSupport" mapstructure:"enaSupport"`
SriovNetSupport string `json:"sriovNetSupport" mapstructure:"sriovNetSupport"`
BootMode string `json:"bootMode" mapstructure:"bootMode"`
ImdsSupport string `json:"imdsSupport" mapstructure:"imdsSupport"`
Architecture string `json:"architecture" mapstructure:"architecture"`
ImageType string `json:"imageType" mapstructure:"imageType"`
RootDeviceType string `json:"rootDeviceType" mapstructure:"rootDeviceType"`
RootDeviceName string `json:"rootDeviceName" mapstructure:"rootDeviceName"`
VirtualizationType string `json:"virtualizationType" mapstructure:"virtualizationType"`
Hypervisor string `json:"hypervisor" mapstructure:"hypervisor"`
Region string `json:"region" mapstructure:"region"`
}
type ImageBlockDeviceMapping ¶
type ImageBlockDeviceMapping struct {
DeviceName string `json:"deviceName" mapstructure:"deviceName"`
Ebs ImageEbsDetails `json:"ebs" mapstructure:"ebs"`
}
type ImageEbsDetails ¶
type ImageEbsDetails struct {
DeleteOnTermination bool `json:"deleteOnTermination" mapstructure:"deleteOnTermination"`
Iops int `json:"iops" mapstructure:"iops"`
SnapshotID string `json:"snapshotId" mapstructure:"snapshotId"`
VolumeSize int `json:"volumeSize" mapstructure:"volumeSize"`
VolumeType string `json:"volumeType" mapstructure:"volumeType"`
Throughput int `json:"throughput" mapstructure:"throughput"`
Encrypted bool `json:"encrypted" mapstructure:"encrypted"`
}
type InstanceDetails ¶ added in v0.22.0
type InstanceDetails struct {
RequestID string `json:"requestId,omitempty" mapstructure:"requestId"`
InstanceID string `json:"instanceId" mapstructure:"instanceId"`
InstanceType string `json:"instanceType" mapstructure:"instanceType"`
ImageID string `json:"imageId" mapstructure:"imageId"`
State string `json:"state" mapstructure:"state"`
Name string `json:"name" mapstructure:"name"`
KeyName string `json:"keyName,omitempty" mapstructure:"keyName"`
LaunchTime string `json:"launchTime,omitempty" mapstructure:"launchTime"`
PrivateIPAddress string `json:"privateIpAddress,omitempty" mapstructure:"privateIpAddress"`
PublicIPAddress string `json:"publicIpAddress,omitempty" mapstructure:"publicIpAddress"`
PrivateDNSName string `json:"privateDnsName,omitempty" mapstructure:"privateDnsName"`
PublicDNSName string `json:"publicDnsName,omitempty" mapstructure:"publicDnsName"`
SubnetID string `json:"subnetId,omitempty" mapstructure:"subnetId"`
VpcID string `json:"vpcId,omitempty" mapstructure:"vpcId"`
AvailabilityZone string `json:"availabilityZone,omitempty" mapstructure:"availabilityZone"`
Region string `json:"region" mapstructure:"region"`
Tags []common.Tag `json:"tags,omitempty" mapstructure:"tags"`
}
type InstanceProfile ¶ added in v0.27.0
type InstanceStatusDetails ¶ added in v0.27.0
type InstanceStatusDetails struct {
InstanceID string
InstanceStatus string
SystemStatus string
InstanceState string
}
func (InstanceStatusDetails) OK ¶ added in v0.27.0
func (s InstanceStatusDetails) OK() bool
type InstanceTypeInfo ¶ added in v0.22.0
type IpamPool ¶ added in v0.26.0
type IpamPool struct {
PoolID string `json:"ipamPoolId" mapstructure:"ipamPoolId"`
Description string `json:"description,omitempty" mapstructure:"description"`
AddressFamily string `json:"addressFamily" mapstructure:"addressFamily"`
PubliclyAdvertisable bool `json:"publiclyAdvertisable" mapstructure:"publiclyAdvertisable"`
Locale string `json:"locale,omitempty" mapstructure:"locale"`
AllocationResourceType string `json:"allocationResourceType,omitempty" mapstructure:"allocationResourceType"`
}
type LoadBalancer ¶ added in v0.27.0
type LoadBalancer struct {
LoadBalancerARN string `json:"loadBalancerArn" mapstructure:"loadBalancerArn"`
Name string `json:"name" mapstructure:"name"`
DNSName string `json:"dnsName" mapstructure:"dnsName"`
Scheme string `json:"scheme" mapstructure:"scheme"`
Type string `json:"type" mapstructure:"type"`
State string `json:"state" mapstructure:"state"`
VpcID string `json:"vpcId" mapstructure:"vpcId"`
Region string `json:"region" mapstructure:"region"`
}
type ManageElasticIP ¶ added in v0.26.0
type ManageElasticIP struct{}
func (*ManageElasticIP) Cancel ¶ added in v0.26.0
func (c *ManageElasticIP) Cancel(ctx core.ExecutionContext) error
func (*ManageElasticIP) Cleanup ¶ added in v0.26.0
func (c *ManageElasticIP) Cleanup(ctx core.SetupContext) error
func (*ManageElasticIP) Color ¶ added in v0.26.0
func (c *ManageElasticIP) Color() string
func (*ManageElasticIP) Configuration ¶ added in v0.26.0
func (c *ManageElasticIP) Configuration() []configuration.Field
func (*ManageElasticIP) Description ¶ added in v0.26.0
func (c *ManageElasticIP) Description() string
func (*ManageElasticIP) Documentation ¶ added in v0.26.0
func (c *ManageElasticIP) Documentation() string
func (*ManageElasticIP) ExampleOutput ¶ added in v0.26.0
func (c *ManageElasticIP) ExampleOutput() map[string]any
func (*ManageElasticIP) Execute ¶ added in v0.26.0
func (c *ManageElasticIP) Execute(ctx core.ExecutionContext) error
func (*ManageElasticIP) HandleHook ¶ added in v0.26.0
func (c *ManageElasticIP) HandleHook(ctx core.ActionHookContext) error
func (*ManageElasticIP) HandleWebhook ¶ added in v0.26.0
func (c *ManageElasticIP) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*ManageElasticIP) Hooks ¶ added in v0.26.0
func (c *ManageElasticIP) Hooks() []core.Hook
func (*ManageElasticIP) Icon ¶ added in v0.26.0
func (c *ManageElasticIP) Icon() string
func (*ManageElasticIP) Label ¶ added in v0.26.0
func (c *ManageElasticIP) Label() string
func (*ManageElasticIP) Name ¶ added in v0.26.0
func (c *ManageElasticIP) Name() string
func (*ManageElasticIP) OutputChannels ¶ added in v0.26.0
func (c *ManageElasticIP) OutputChannels(configuration any) []core.OutputChannel
func (*ManageElasticIP) ProcessQueueItem ¶ added in v0.26.0
func (c *ManageElasticIP) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*ManageElasticIP) Setup ¶ added in v0.26.0
func (c *ManageElasticIP) Setup(ctx core.SetupContext) error
type ManageElasticIPConfiguration ¶ added in v0.26.0
type ManageElasticIPConfiguration struct {
Region string `json:"region" mapstructure:"region"`
Operation string `json:"operation" mapstructure:"operation"`
AllocationID string `json:"allocationId" mapstructure:"allocationId"`
InstanceID string `json:"instance" mapstructure:"instance"`
AssociationID string `json:"associationId" mapstructure:"associationId"`
}
type ManageElasticIPNodeMetadata ¶ added in v0.26.0
type ManageInstancePower ¶ added in v0.24.0
type ManageInstancePower struct{}
func (*ManageInstancePower) Cancel ¶ added in v0.24.0
func (c *ManageInstancePower) Cancel(ctx core.ExecutionContext) error
func (*ManageInstancePower) Cleanup ¶ added in v0.24.0
func (c *ManageInstancePower) Cleanup(ctx core.SetupContext) error
func (*ManageInstancePower) Color ¶ added in v0.24.0
func (c *ManageInstancePower) Color() string
func (*ManageInstancePower) Configuration ¶ added in v0.24.0
func (c *ManageInstancePower) Configuration() []configuration.Field
func (*ManageInstancePower) Description ¶ added in v0.24.0
func (c *ManageInstancePower) Description() string
func (*ManageInstancePower) Documentation ¶ added in v0.24.0
func (c *ManageInstancePower) Documentation() string
func (*ManageInstancePower) ExampleOutput ¶ added in v0.24.0
func (c *ManageInstancePower) ExampleOutput() map[string]any
func (*ManageInstancePower) Execute ¶ added in v0.24.0
func (c *ManageInstancePower) Execute(ctx core.ExecutionContext) error
func (*ManageInstancePower) HandleHook ¶ added in v0.24.0
func (c *ManageInstancePower) HandleHook(ctx core.ActionHookContext) error
func (*ManageInstancePower) HandleWebhook ¶ added in v0.24.0
func (c *ManageInstancePower) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*ManageInstancePower) Hooks ¶ added in v0.24.0
func (c *ManageInstancePower) Hooks() []core.Hook
func (*ManageInstancePower) Icon ¶ added in v0.24.0
func (c *ManageInstancePower) Icon() string
func (*ManageInstancePower) Label ¶ added in v0.24.0
func (c *ManageInstancePower) Label() string
func (*ManageInstancePower) Name ¶ added in v0.24.0
func (c *ManageInstancePower) Name() string
func (*ManageInstancePower) OutputChannels ¶ added in v0.24.0
func (c *ManageInstancePower) OutputChannels(configuration any) []core.OutputChannel
func (*ManageInstancePower) ProcessQueueItem ¶ added in v0.24.0
func (c *ManageInstancePower) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*ManageInstancePower) Setup ¶ added in v0.24.0
func (c *ManageInstancePower) Setup(ctx core.SetupContext) error
type ManageInstancePowerConfiguration ¶ added in v0.24.0
type ManageInstancePowerExecutionMetadata ¶ added in v0.24.0
type ManageInstancePowerExecutionMetadata struct {
InstanceID string `json:"instanceId" mapstructure:"instanceId"`
Operation string `json:"operation" mapstructure:"operation"`
PollErrors int `json:"pollErrors" mapstructure:"pollErrors"`
PollAttempts int `json:"pollAttempts" mapstructure:"pollAttempts"`
}
type ManageInstancePowerNodeMetadata ¶ added in v0.24.0
type MetricAlarm ¶ added in v0.26.0
type MetricAlarm struct {
AlarmName string `json:"alarmName" mapstructure:"alarmName"`
AlarmArn string `json:"alarmArn" mapstructure:"alarmArn"`
AlarmDescription string `json:"alarmDescription" mapstructure:"alarmDescription"`
Namespace string `json:"namespace" mapstructure:"namespace"`
MetricName string `json:"metricName" mapstructure:"metricName"`
Statistic string `json:"statistic" mapstructure:"statistic"`
Period int `json:"period" mapstructure:"period"`
EvaluationPeriods int `json:"evaluationPeriods" mapstructure:"evaluationPeriods"`
Threshold float64 `json:"threshold" mapstructure:"threshold"`
ComparisonOperator string `json:"comparisonOperator" mapstructure:"comparisonOperator"`
StateValue string `json:"stateValue" mapstructure:"stateValue"`
StateReason string `json:"stateReason" mapstructure:"stateReason"`
TreatMissingData string `json:"treatMissingData" mapstructure:"treatMissingData"`
Dimensions []AlarmDimension `json:"dimensions" mapstructure:"dimensions"`
AlarmActions []string `json:"alarmActions" mapstructure:"alarmActions"`
Region string `json:"region" mapstructure:"region"`
}
type OnAlarm ¶ added in v0.26.0
type OnAlarm struct{}
func (*OnAlarm) Configuration ¶ added in v0.26.0
func (p *OnAlarm) Configuration() []configuration.Field
func (*OnAlarm) Description ¶ added in v0.26.0
func (*OnAlarm) Documentation ¶ added in v0.26.0
func (*OnAlarm) ExampleData ¶ added in v0.26.0
func (*OnAlarm) HandleHook ¶ added in v0.26.0
func (*OnAlarm) HandleWebhook ¶ added in v0.26.0
func (p *OnAlarm) HandleWebhook(_ core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*OnAlarm) OnIntegrationMessage ¶ added in v0.26.0
func (p *OnAlarm) OnIntegrationMessage(ctx core.IntegrationMessageContext) error
type OnAlarmConfiguration ¶ added in v0.26.0
type OnAlarmMetadata ¶ added in v0.26.0
type OnImage ¶
type OnImage struct{}
func (*OnImage) Configuration ¶
func (p *OnImage) Configuration() []configuration.Field
func (*OnImage) Description ¶
func (*OnImage) Documentation ¶
func (*OnImage) ExampleData ¶
func (*OnImage) HandleHook ¶ added in v0.18.0
func (*OnImage) HandleWebhook ¶
func (p *OnImage) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*OnImage) OnIntegrationMessage ¶
func (p *OnImage) OnIntegrationMessage(ctx core.IntegrationMessageContext) error
type OnImageConfiguration ¶
type OnImageMetadata ¶
type PublicIPv4Pool ¶ added in v0.26.0
type PutMetricAlarmInput ¶ added in v0.26.0
type PutMetricAlarmInput struct {
AlarmName string
AlarmDescription string
InstanceID string
MetricName string
Statistic string
Period int
EvaluationPeriods int
Threshold float64
ComparisonOperator string
TreatMissingData string
// AlarmActions is the complete desired list of action ARNs.
// Entries may be SNS topic ARNs or EC2 automation ARNs
// (arn:aws:automate:<region>:ec2:recover|reboot|stop|terminate).
// An empty (nil) slice is sent as no members, which clears all actions in CloudWatch.
AlarmActions []string
// IncludeAlarmDescription always sends AlarmDescription, including when empty (to clear an existing description).
IncludeAlarmDescription bool
}
type ReleaseElasticIP ¶ added in v0.26.0
type ReleaseElasticIP struct{}
func (*ReleaseElasticIP) Cancel ¶ added in v0.26.0
func (c *ReleaseElasticIP) Cancel(ctx core.ExecutionContext) error
func (*ReleaseElasticIP) Cleanup ¶ added in v0.26.0
func (c *ReleaseElasticIP) Cleanup(ctx core.SetupContext) error
func (*ReleaseElasticIP) Color ¶ added in v0.26.0
func (c *ReleaseElasticIP) Color() string
func (*ReleaseElasticIP) Configuration ¶ added in v0.26.0
func (c *ReleaseElasticIP) Configuration() []configuration.Field
func (*ReleaseElasticIP) Description ¶ added in v0.26.0
func (c *ReleaseElasticIP) Description() string
func (*ReleaseElasticIP) Documentation ¶ added in v0.26.0
func (c *ReleaseElasticIP) Documentation() string
func (*ReleaseElasticIP) ExampleOutput ¶ added in v0.26.0
func (c *ReleaseElasticIP) ExampleOutput() map[string]any
func (*ReleaseElasticIP) Execute ¶ added in v0.26.0
func (c *ReleaseElasticIP) Execute(ctx core.ExecutionContext) error
func (*ReleaseElasticIP) HandleHook ¶ added in v0.26.0
func (c *ReleaseElasticIP) HandleHook(ctx core.ActionHookContext) error
func (*ReleaseElasticIP) HandleWebhook ¶ added in v0.26.0
func (c *ReleaseElasticIP) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*ReleaseElasticIP) Hooks ¶ added in v0.26.0
func (c *ReleaseElasticIP) Hooks() []core.Hook
func (*ReleaseElasticIP) Icon ¶ added in v0.26.0
func (c *ReleaseElasticIP) Icon() string
func (*ReleaseElasticIP) Label ¶ added in v0.26.0
func (c *ReleaseElasticIP) Label() string
func (*ReleaseElasticIP) Name ¶ added in v0.26.0
func (c *ReleaseElasticIP) Name() string
func (*ReleaseElasticIP) OutputChannels ¶ added in v0.26.0
func (c *ReleaseElasticIP) OutputChannels(configuration any) []core.OutputChannel
func (*ReleaseElasticIP) ProcessQueueItem ¶ added in v0.26.0
func (c *ReleaseElasticIP) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*ReleaseElasticIP) Setup ¶ added in v0.26.0
func (c *ReleaseElasticIP) Setup(ctx core.SetupContext) error
type ReleaseElasticIPConfiguration ¶ added in v0.26.0
type ReleaseElasticIPNodeMetadata ¶ added in v0.26.0
type RootVolumeConfig ¶ added in v0.22.0
type RunInstancesInput ¶ added in v0.22.0
type RunInstancesOutput ¶ added in v0.22.0
type SecurityGroup ¶ added in v0.22.0
type SecurityGroupIngressRule ¶ added in v0.22.0
type StartInstancesOutput ¶ added in v0.24.0
type StopInstancesOutput ¶ added in v0.24.0
type Subnet ¶ added in v0.22.0
type Subnet struct {
SubnetID string `json:"subnetId" mapstructure:"subnetId"`
VpcID string `json:"vpcId" mapstructure:"vpcId"`
CidrBlock string `json:"cidrBlock" mapstructure:"cidrBlock"`
AvailabilityZone string `json:"availabilityZone" mapstructure:"availabilityZone"`
Name string `json:"name" mapstructure:"name"`
}
type TargetGroup ¶ added in v0.27.0
type TargetGroup struct {
TargetGroupARN string `json:"targetGroupArn" mapstructure:"targetGroupArn"`
Name string `json:"name" mapstructure:"name"`
Protocol string `json:"protocol" mapstructure:"protocol"`
Port int `json:"port" mapstructure:"port"`
TargetType string `json:"targetType" mapstructure:"targetType"`
VpcID string `json:"vpcId" mapstructure:"vpcId"`
}
type TerminateInstancesOutput ¶ added in v0.22.0
type ThresholdCondition ¶ added in v0.28.0
type UpdateAlarm ¶ added in v0.28.0
type UpdateAlarm struct{}
func (*UpdateAlarm) Cancel ¶ added in v0.28.0
func (c *UpdateAlarm) Cancel(_ core.ExecutionContext) error
func (*UpdateAlarm) Cleanup ¶ added in v0.28.0
func (c *UpdateAlarm) Cleanup(_ core.SetupContext) error
func (*UpdateAlarm) Color ¶ added in v0.28.0
func (c *UpdateAlarm) Color() string
func (*UpdateAlarm) Configuration ¶ added in v0.28.0
func (c *UpdateAlarm) Configuration() []configuration.Field
func (*UpdateAlarm) Description ¶ added in v0.28.0
func (c *UpdateAlarm) Description() string
func (*UpdateAlarm) Documentation ¶ added in v0.28.0
func (c *UpdateAlarm) Documentation() string
func (*UpdateAlarm) ExampleOutput ¶ added in v0.28.0
func (c *UpdateAlarm) ExampleOutput() map[string]any
func (*UpdateAlarm) Execute ¶ added in v0.28.0
func (c *UpdateAlarm) Execute(ctx core.ExecutionContext) error
func (*UpdateAlarm) HandleHook ¶ added in v0.28.0
func (c *UpdateAlarm) HandleHook(_ core.ActionHookContext) error
func (*UpdateAlarm) HandleWebhook ¶ added in v0.28.0
func (c *UpdateAlarm) HandleWebhook(_ core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*UpdateAlarm) Hooks ¶ added in v0.28.0
func (c *UpdateAlarm) Hooks() []core.Hook
func (*UpdateAlarm) Icon ¶ added in v0.28.0
func (c *UpdateAlarm) Icon() string
func (*UpdateAlarm) Label ¶ added in v0.28.0
func (c *UpdateAlarm) Label() string
func (*UpdateAlarm) Name ¶ added in v0.28.0
func (c *UpdateAlarm) Name() string
func (*UpdateAlarm) OutputChannels ¶ added in v0.28.0
func (c *UpdateAlarm) OutputChannels(_ any) []core.OutputChannel
func (*UpdateAlarm) ProcessQueueItem ¶ added in v0.28.0
func (c *UpdateAlarm) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*UpdateAlarm) Setup ¶ added in v0.28.0
func (c *UpdateAlarm) Setup(ctx core.SetupContext) error
type UpdateAlarmConfiguration ¶ added in v0.28.0
type UpdateAlarmConfiguration struct {
Region string `json:"region" mapstructure:"region"`
AlarmName string `json:"alarm" mapstructure:"alarm"`
ThresholdCondition ThresholdCondition `json:"thresholdCondition" mapstructure:"thresholdCondition"`
Statistic string `json:"statistic" mapstructure:"statistic"`
Period int `json:"period" mapstructure:"period"`
EvaluationPeriods int `json:"evaluationPeriods" mapstructure:"evaluationPeriods"`
AlarmDescription string `json:"alarmDescription" mapstructure:"alarmDescription"`
TreatMissingData string `json:"treatMissingData" mapstructure:"treatMissingData"`
SNSTopicARN string `json:"snsTopic" mapstructure:"snsTopic"`
AlarmAction string `json:"alarmAction" mapstructure:"alarmAction"`
}
type UpdateAlarmNodeMetadata ¶ added in v0.28.0
type UpdateInstance ¶ added in v0.25.0
type UpdateInstance struct{}
func (*UpdateInstance) Cancel ¶ added in v0.25.0
func (c *UpdateInstance) Cancel(ctx core.ExecutionContext) error
func (*UpdateInstance) Cleanup ¶ added in v0.25.0
func (c *UpdateInstance) Cleanup(ctx core.SetupContext) error
func (*UpdateInstance) Color ¶ added in v0.25.0
func (c *UpdateInstance) Color() string
func (*UpdateInstance) Configuration ¶ added in v0.25.0
func (c *UpdateInstance) Configuration() []configuration.Field
func (*UpdateInstance) Description ¶ added in v0.25.0
func (c *UpdateInstance) Description() string
func (*UpdateInstance) Documentation ¶ added in v0.25.0
func (c *UpdateInstance) Documentation() string
func (*UpdateInstance) ExampleOutput ¶ added in v0.25.0
func (c *UpdateInstance) ExampleOutput() map[string]any
func (*UpdateInstance) Execute ¶ added in v0.25.0
func (c *UpdateInstance) Execute(ctx core.ExecutionContext) error
func (*UpdateInstance) HandleHook ¶ added in v0.25.0
func (c *UpdateInstance) HandleHook(ctx core.ActionHookContext) error
func (*UpdateInstance) HandleWebhook ¶ added in v0.25.0
func (c *UpdateInstance) HandleWebhook(ctx core.WebhookRequestContext) (int, *core.WebhookResponseBody, error)
func (*UpdateInstance) Hooks ¶ added in v0.25.0
func (c *UpdateInstance) Hooks() []core.Hook
func (*UpdateInstance) Icon ¶ added in v0.25.0
func (c *UpdateInstance) Icon() string
func (*UpdateInstance) Label ¶ added in v0.25.0
func (c *UpdateInstance) Label() string
func (*UpdateInstance) Name ¶ added in v0.25.0
func (c *UpdateInstance) Name() string
func (*UpdateInstance) OutputChannels ¶ added in v0.25.0
func (c *UpdateInstance) OutputChannels(configuration any) []core.OutputChannel
func (*UpdateInstance) ProcessQueueItem ¶ added in v0.25.0
func (c *UpdateInstance) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*UpdateInstance) Setup ¶ added in v0.25.0
func (c *UpdateInstance) Setup(ctx core.SetupContext) error
type UpdateInstanceConfiguration ¶ added in v0.25.0
type UpdateInstanceConfiguration struct {
Region string `json:"region" mapstructure:"region"`
InstanceID string `json:"instance" mapstructure:"instance"`
NewInstanceType string `json:"instanceType" mapstructure:"instanceType"`
SecurityGroupID string `json:"securityGroups" mapstructure:"securityGroups"`
RestartAfterResize bool `json:"restartAfterResize" mapstructure:"restartAfterResize"`
}
type UpdateInstanceExecutionMetadata ¶ added in v0.25.0
type UpdateInstanceExecutionMetadata struct {
InstanceID string `json:"instanceId" mapstructure:"instanceId"`
NewInstanceType string `json:"newInstanceType" mapstructure:"newInstanceType"`
WasRunning bool `json:"wasRunning" mapstructure:"wasRunning"`
Phase string `json:"phase" mapstructure:"phase"`
PollErrors int `json:"pollErrors" mapstructure:"pollErrors"`
StopPollAttempts int `json:"stopPollAttempts" mapstructure:"stopPollAttempts"`
StartPollAttempts int `json:"startPollAttempts" mapstructure:"startPollAttempts"`
}
type UpdateInstanceNodeMetadata ¶ added in v0.25.0
Source Files
¶
- allocate_elastic_ip.go
- client.go
- component_validation.go
- copy_image.go
- create_alarm.go
- create_image.go
- create_instance.go
- create_load_balancer.go
- delete_alarm.go
- delete_instance.go
- delete_load_balancer.go
- deregister_image.go
- disable_image.go
- disable_image_deprecation.go
- ec2.go
- enable_image.go
- enable_image_deprecation.go
- example.go
- get_alarm.go
- get_image.go
- get_instance.go
- get_instance_metrics.go
- manage_elastic_ip.go
- manage_instance_power.go
- on_alarm.go
- on_image.go
- release_elastic_ip.go
- resources.go
- update_alarm.go
- update_instance.go
Click to show internal directories.
Click to hide internal directories.