akeyless.EventForwarderSlack
Explore with Pulumi AI
Event Forwarder Slack resource
Create EventForwarderSlack Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EventForwarderSlack(name: string, args: EventForwarderSlackArgs, opts?: CustomResourceOptions);
@overload
def EventForwarderSlack(resource_name: str,
args: EventForwarderSlackArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EventForwarderSlack(resource_name: str,
opts: Optional[ResourceOptions] = None,
url: Optional[str] = None,
auth_methods_event_source_locations: Optional[Sequence[str]] = None,
description: Optional[str] = None,
event_forwarder_slack_id: Optional[str] = None,
event_types: Optional[Sequence[str]] = None,
every: Optional[str] = None,
gateways_event_source_locations: Optional[Sequence[str]] = None,
items_event_source_locations: Optional[Sequence[str]] = None,
key: Optional[str] = None,
name: Optional[str] = None,
runner_type: Optional[str] = None,
targets_event_source_locations: Optional[Sequence[str]] = None)
func NewEventForwarderSlack(ctx *Context, name string, args EventForwarderSlackArgs, opts ...ResourceOption) (*EventForwarderSlack, error)
public EventForwarderSlack(string name, EventForwarderSlackArgs args, CustomResourceOptions? opts = null)
public EventForwarderSlack(String name, EventForwarderSlackArgs args)
public EventForwarderSlack(String name, EventForwarderSlackArgs args, CustomResourceOptions options)
type: akeyless:EventForwarderSlack
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args EventForwarderSlackArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args EventForwarderSlackArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args EventForwarderSlackArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EventForwarderSlackArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EventForwarderSlackArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var eventForwarderSlackResource = new Akeyless.EventForwarderSlack("eventForwarderSlackResource", new()
{
Url = "string",
AuthMethodsEventSourceLocations = new[]
{
"string",
},
Description = "string",
EventForwarderSlackId = "string",
EventTypes = new[]
{
"string",
},
Every = "string",
GatewaysEventSourceLocations = new[]
{
"string",
},
ItemsEventSourceLocations = new[]
{
"string",
},
Key = "string",
Name = "string",
RunnerType = "string",
TargetsEventSourceLocations = new[]
{
"string",
},
});
example, err := akeyless.NewEventForwarderSlack(ctx, "eventForwarderSlackResource", &akeyless.EventForwarderSlackArgs{
Url: pulumi.String("string"),
AuthMethodsEventSourceLocations: pulumi.StringArray{
pulumi.String("string"),
},
Description: pulumi.String("string"),
EventForwarderSlackId: pulumi.String("string"),
EventTypes: pulumi.StringArray{
pulumi.String("string"),
},
Every: pulumi.String("string"),
GatewaysEventSourceLocations: pulumi.StringArray{
pulumi.String("string"),
},
ItemsEventSourceLocations: pulumi.StringArray{
pulumi.String("string"),
},
Key: pulumi.String("string"),
Name: pulumi.String("string"),
RunnerType: pulumi.String("string"),
TargetsEventSourceLocations: pulumi.StringArray{
pulumi.String("string"),
},
})
var eventForwarderSlackResource = new EventForwarderSlack("eventForwarderSlackResource", EventForwarderSlackArgs.builder()
.url("string")
.authMethodsEventSourceLocations("string")
.description("string")
.eventForwarderSlackId("string")
.eventTypes("string")
.every("string")
.gatewaysEventSourceLocations("string")
.itemsEventSourceLocations("string")
.key("string")
.name("string")
.runnerType("string")
.targetsEventSourceLocations("string")
.build());
event_forwarder_slack_resource = akeyless.EventForwarderSlack("eventForwarderSlackResource",
url="string",
auth_methods_event_source_locations=["string"],
description="string",
event_forwarder_slack_id="string",
event_types=["string"],
every="string",
gateways_event_source_locations=["string"],
items_event_source_locations=["string"],
key="string",
name="string",
runner_type="string",
targets_event_source_locations=["string"])
const eventForwarderSlackResource = new akeyless.EventForwarderSlack("eventForwarderSlackResource", {
url: "string",
authMethodsEventSourceLocations: ["string"],
description: "string",
eventForwarderSlackId: "string",
eventTypes: ["string"],
every: "string",
gatewaysEventSourceLocations: ["string"],
itemsEventSourceLocations: ["string"],
key: "string",
name: "string",
runnerType: "string",
targetsEventSourceLocations: ["string"],
});
type: akeyless:EventForwarderSlack
properties:
authMethodsEventSourceLocations:
- string
description: string
eventForwarderSlackId: string
eventTypes:
- string
every: string
gatewaysEventSourceLocations:
- string
itemsEventSourceLocations:
- string
key: string
name: string
runnerType: string
targetsEventSourceLocations:
- string
url: string
EventForwarderSlack Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The EventForwarderSlack resource accepts the following input properties:
- Url string
- Slack Webhook URL
- Auth
Methods List<string>Event Source Locations - Auth Methods event sources to forward events about, for example: /abc/*
- Description string
- Description of the object
- Event
Forwarder stringSlack Id - The ID of this resource.
- Event
Types List<string> - A comma-separated list of types of events to notify about
- Every string
- Rate of periodic runner repetition in hours
- Gateways
Event List<string>Source Locations - Gateways event sources to forward events about,for example the relevant Gateways cluster urls,: http://localhost:8000.
- Items
Event List<string>Source Locations - Items event sources to forward events about, for example: /abc/*
- Key string
- Key name. The key will be used to encrypt the Event Forwarder secret value. If key name is not specified, the account default protection key is used
- Name string
- Event Forwarder name
- Runner
Type string - Event Forwarder runner type [immediate/periodic]
- Targets
Event List<string>Source Locations - Targets event sources to forward events about, for example: /abc/*
- Url string
- Slack Webhook URL
- Auth
Methods []stringEvent Source Locations - Auth Methods event sources to forward events about, for example: /abc/*
- Description string
- Description of the object
- Event
Forwarder stringSlack Id - The ID of this resource.
- Event
Types []string - A comma-separated list of types of events to notify about
- Every string
- Rate of periodic runner repetition in hours
- Gateways
Event []stringSource Locations - Gateways event sources to forward events about,for example the relevant Gateways cluster urls,: http://localhost:8000.
- Items
Event []stringSource Locations - Items event sources to forward events about, for example: /abc/*
- Key string
- Key name. The key will be used to encrypt the Event Forwarder secret value. If key name is not specified, the account default protection key is used
- Name string
- Event Forwarder name
- Runner
Type string - Event Forwarder runner type [immediate/periodic]
- Targets
Event []stringSource Locations - Targets event sources to forward events about, for example: /abc/*
- url String
- Slack Webhook URL
- auth
Methods List<String>Event Source Locations - Auth Methods event sources to forward events about, for example: /abc/*
- description String
- Description of the object
- event
Forwarder StringSlack Id - The ID of this resource.
- event
Types List<String> - A comma-separated list of types of events to notify about
- every String
- Rate of periodic runner repetition in hours
- gateways
Event List<String>Source Locations - Gateways event sources to forward events about,for example the relevant Gateways cluster urls,: http://localhost:8000.
- items
Event List<String>Source Locations - Items event sources to forward events about, for example: /abc/*
- key String
- Key name. The key will be used to encrypt the Event Forwarder secret value. If key name is not specified, the account default protection key is used
- name String
- Event Forwarder name
- runner
Type String - Event Forwarder runner type [immediate/periodic]
- targets
Event List<String>Source Locations - Targets event sources to forward events about, for example: /abc/*
- url string
- Slack Webhook URL
- auth
Methods string[]Event Source Locations - Auth Methods event sources to forward events about, for example: /abc/*
- description string
- Description of the object
- event
Forwarder stringSlack Id - The ID of this resource.
- event
Types string[] - A comma-separated list of types of events to notify about
- every string
- Rate of periodic runner repetition in hours
- gateways
Event string[]Source Locations - Gateways event sources to forward events about,for example the relevant Gateways cluster urls,: http://localhost:8000.
- items
Event string[]Source Locations - Items event sources to forward events about, for example: /abc/*
- key string
- Key name. The key will be used to encrypt the Event Forwarder secret value. If key name is not specified, the account default protection key is used
- name string
- Event Forwarder name
- runner
Type string - Event Forwarder runner type [immediate/periodic]
- targets
Event string[]Source Locations - Targets event sources to forward events about, for example: /abc/*
- url str
- Slack Webhook URL
- auth_
methods_ Sequence[str]event_ source_ locations - Auth Methods event sources to forward events about, for example: /abc/*
- description str
- Description of the object
- event_
forwarder_ strslack_ id - The ID of this resource.
- event_
types Sequence[str] - A comma-separated list of types of events to notify about
- every str
- Rate of periodic runner repetition in hours
- gateways_
event_ Sequence[str]source_ locations - Gateways event sources to forward events about,for example the relevant Gateways cluster urls,: http://localhost:8000.
- items_
event_ Sequence[str]source_ locations - Items event sources to forward events about, for example: /abc/*
- key str
- Key name. The key will be used to encrypt the Event Forwarder secret value. If key name is not specified, the account default protection key is used
- name str
- Event Forwarder name
- runner_
type str - Event Forwarder runner type [immediate/periodic]
- targets_
event_ Sequence[str]source_ locations - Targets event sources to forward events about, for example: /abc/*
- url String
- Slack Webhook URL
- auth
Methods List<String>Event Source Locations - Auth Methods event sources to forward events about, for example: /abc/*
- description String
- Description of the object
- event
Forwarder StringSlack Id - The ID of this resource.
- event
Types List<String> - A comma-separated list of types of events to notify about
- every String
- Rate of periodic runner repetition in hours
- gateways
Event List<String>Source Locations - Gateways event sources to forward events about,for example the relevant Gateways cluster urls,: http://localhost:8000.
- items
Event List<String>Source Locations - Items event sources to forward events about, for example: /abc/*
- key String
- Key name. The key will be used to encrypt the Event Forwarder secret value. If key name is not specified, the account default protection key is used
- name String
- Event Forwarder name
- runner
Type String - Event Forwarder runner type [immediate/periodic]
- targets
Event List<String>Source Locations - Targets event sources to forward events about, for example: /abc/*
Outputs
All input properties are implicitly available as output properties. Additionally, the EventForwarderSlack resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing EventForwarderSlack Resource
Get an existing EventForwarderSlack resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: EventForwarderSlackState, opts?: CustomResourceOptions): EventForwarderSlack
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auth_methods_event_source_locations: Optional[Sequence[str]] = None,
description: Optional[str] = None,
event_forwarder_slack_id: Optional[str] = None,
event_types: Optional[Sequence[str]] = None,
every: Optional[str] = None,
gateways_event_source_locations: Optional[Sequence[str]] = None,
items_event_source_locations: Optional[Sequence[str]] = None,
key: Optional[str] = None,
name: Optional[str] = None,
runner_type: Optional[str] = None,
targets_event_source_locations: Optional[Sequence[str]] = None,
url: Optional[str] = None) -> EventForwarderSlack
func GetEventForwarderSlack(ctx *Context, name string, id IDInput, state *EventForwarderSlackState, opts ...ResourceOption) (*EventForwarderSlack, error)
public static EventForwarderSlack Get(string name, Input<string> id, EventForwarderSlackState? state, CustomResourceOptions? opts = null)
public static EventForwarderSlack get(String name, Output<String> id, EventForwarderSlackState state, CustomResourceOptions options)
resources: _: type: akeyless:EventForwarderSlack get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Auth
Methods List<string>Event Source Locations - Auth Methods event sources to forward events about, for example: /abc/*
- Description string
- Description of the object
- Event
Forwarder stringSlack Id - The ID of this resource.
- Event
Types List<string> - A comma-separated list of types of events to notify about
- Every string
- Rate of periodic runner repetition in hours
- Gateways
Event List<string>Source Locations - Gateways event sources to forward events about,for example the relevant Gateways cluster urls,: http://localhost:8000.
- Items
Event List<string>Source Locations - Items event sources to forward events about, for example: /abc/*
- Key string
- Key name. The key will be used to encrypt the Event Forwarder secret value. If key name is not specified, the account default protection key is used
- Name string
- Event Forwarder name
- Runner
Type string - Event Forwarder runner type [immediate/periodic]
- Targets
Event List<string>Source Locations - Targets event sources to forward events about, for example: /abc/*
- Url string
- Slack Webhook URL
- Auth
Methods []stringEvent Source Locations - Auth Methods event sources to forward events about, for example: /abc/*
- Description string
- Description of the object
- Event
Forwarder stringSlack Id - The ID of this resource.
- Event
Types []string - A comma-separated list of types of events to notify about
- Every string
- Rate of periodic runner repetition in hours
- Gateways
Event []stringSource Locations - Gateways event sources to forward events about,for example the relevant Gateways cluster urls,: http://localhost:8000.
- Items
Event []stringSource Locations - Items event sources to forward events about, for example: /abc/*
- Key string
- Key name. The key will be used to encrypt the Event Forwarder secret value. If key name is not specified, the account default protection key is used
- Name string
- Event Forwarder name
- Runner
Type string - Event Forwarder runner type [immediate/periodic]
- Targets
Event []stringSource Locations - Targets event sources to forward events about, for example: /abc/*
- Url string
- Slack Webhook URL
- auth
Methods List<String>Event Source Locations - Auth Methods event sources to forward events about, for example: /abc/*
- description String
- Description of the object
- event
Forwarder StringSlack Id - The ID of this resource.
- event
Types List<String> - A comma-separated list of types of events to notify about
- every String
- Rate of periodic runner repetition in hours
- gateways
Event List<String>Source Locations - Gateways event sources to forward events about,for example the relevant Gateways cluster urls,: http://localhost:8000.
- items
Event List<String>Source Locations - Items event sources to forward events about, for example: /abc/*
- key String
- Key name. The key will be used to encrypt the Event Forwarder secret value. If key name is not specified, the account default protection key is used
- name String
- Event Forwarder name
- runner
Type String - Event Forwarder runner type [immediate/periodic]
- targets
Event List<String>Source Locations - Targets event sources to forward events about, for example: /abc/*
- url String
- Slack Webhook URL
- auth
Methods string[]Event Source Locations - Auth Methods event sources to forward events about, for example: /abc/*
- description string
- Description of the object
- event
Forwarder stringSlack Id - The ID of this resource.
- event
Types string[] - A comma-separated list of types of events to notify about
- every string
- Rate of periodic runner repetition in hours
- gateways
Event string[]Source Locations - Gateways event sources to forward events about,for example the relevant Gateways cluster urls,: http://localhost:8000.
- items
Event string[]Source Locations - Items event sources to forward events about, for example: /abc/*
- key string
- Key name. The key will be used to encrypt the Event Forwarder secret value. If key name is not specified, the account default protection key is used
- name string
- Event Forwarder name
- runner
Type string - Event Forwarder runner type [immediate/periodic]
- targets
Event string[]Source Locations - Targets event sources to forward events about, for example: /abc/*
- url string
- Slack Webhook URL
- auth_
methods_ Sequence[str]event_ source_ locations - Auth Methods event sources to forward events about, for example: /abc/*
- description str
- Description of the object
- event_
forwarder_ strslack_ id - The ID of this resource.
- event_
types Sequence[str] - A comma-separated list of types of events to notify about
- every str
- Rate of periodic runner repetition in hours
- gateways_
event_ Sequence[str]source_ locations - Gateways event sources to forward events about,for example the relevant Gateways cluster urls,: http://localhost:8000.
- items_
event_ Sequence[str]source_ locations - Items event sources to forward events about, for example: /abc/*
- key str
- Key name. The key will be used to encrypt the Event Forwarder secret value. If key name is not specified, the account default protection key is used
- name str
- Event Forwarder name
- runner_
type str - Event Forwarder runner type [immediate/periodic]
- targets_
event_ Sequence[str]source_ locations - Targets event sources to forward events about, for example: /abc/*
- url str
- Slack Webhook URL
- auth
Methods List<String>Event Source Locations - Auth Methods event sources to forward events about, for example: /abc/*
- description String
- Description of the object
- event
Forwarder StringSlack Id - The ID of this resource.
- event
Types List<String> - A comma-separated list of types of events to notify about
- every String
- Rate of periodic runner repetition in hours
- gateways
Event List<String>Source Locations - Gateways event sources to forward events about,for example the relevant Gateways cluster urls,: http://localhost:8000.
- items
Event List<String>Source Locations - Items event sources to forward events about, for example: /abc/*
- key String
- Key name. The key will be used to encrypt the Event Forwarder secret value. If key name is not specified, the account default protection key is used
- name String
- Event Forwarder name
- runner
Type String - Event Forwarder runner type [immediate/periodic]
- targets
Event List<String>Source Locations - Targets event sources to forward events about, for example: /abc/*
- url String
- Slack Webhook URL
Package Details
- Repository
- akeyless akeyless-community/terraform-provider-akeyless
- License
- Notes
- This Pulumi package is based on the
akeyless
Terraform Provider.