akeyless.EventForwarderEmail
Explore with Pulumi AI
Event Forwarder Email resource
Create EventForwarderEmail Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EventForwarderEmail(name: string, args?: EventForwarderEmailArgs, opts?: CustomResourceOptions);
@overload
def EventForwarderEmail(resource_name: str,
args: Optional[EventForwarderEmailArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def EventForwarderEmail(resource_name: str,
opts: Optional[ResourceOptions] = None,
auth_methods_event_source_locations: Optional[Sequence[str]] = None,
description: Optional[str] = None,
email_to: Optional[str] = None,
event_forwarder_email_id: Optional[str] = None,
event_types: Optional[Sequence[str]] = None,
every: Optional[str] = None,
gateways_event_source_locations: Optional[Sequence[str]] = None,
include_error: Optional[str] = None,
items_event_source_locations: Optional[Sequence[str]] = None,
key: Optional[str] = None,
name: Optional[str] = None,
override_url: Optional[str] = None,
runner_type: Optional[str] = None,
targets_event_source_locations: Optional[Sequence[str]] = None)
func NewEventForwarderEmail(ctx *Context, name string, args *EventForwarderEmailArgs, opts ...ResourceOption) (*EventForwarderEmail, error)
public EventForwarderEmail(string name, EventForwarderEmailArgs? args = null, CustomResourceOptions? opts = null)
public EventForwarderEmail(String name, EventForwarderEmailArgs args)
public EventForwarderEmail(String name, EventForwarderEmailArgs args, CustomResourceOptions options)
type: akeyless:EventForwarderEmail
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 EventForwarderEmailArgs
- 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 EventForwarderEmailArgs
- 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 EventForwarderEmailArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EventForwarderEmailArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EventForwarderEmailArgs
- 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 eventForwarderEmailResource = new Akeyless.EventForwarderEmail("eventForwarderEmailResource", new()
{
AuthMethodsEventSourceLocations = new[]
{
"string",
},
Description = "string",
EmailTo = "string",
EventForwarderEmailId = "string",
EventTypes = new[]
{
"string",
},
Every = "string",
GatewaysEventSourceLocations = new[]
{
"string",
},
IncludeError = "string",
ItemsEventSourceLocations = new[]
{
"string",
},
Key = "string",
Name = "string",
OverrideUrl = "string",
RunnerType = "string",
TargetsEventSourceLocations = new[]
{
"string",
},
});
example, err := akeyless.NewEventForwarderEmail(ctx, "eventForwarderEmailResource", &akeyless.EventForwarderEmailArgs{
AuthMethodsEventSourceLocations: pulumi.StringArray{
pulumi.String("string"),
},
Description: pulumi.String("string"),
EmailTo: pulumi.String("string"),
EventForwarderEmailId: pulumi.String("string"),
EventTypes: pulumi.StringArray{
pulumi.String("string"),
},
Every: pulumi.String("string"),
GatewaysEventSourceLocations: pulumi.StringArray{
pulumi.String("string"),
},
IncludeError: pulumi.String("string"),
ItemsEventSourceLocations: pulumi.StringArray{
pulumi.String("string"),
},
Key: pulumi.String("string"),
Name: pulumi.String("string"),
OverrideUrl: pulumi.String("string"),
RunnerType: pulumi.String("string"),
TargetsEventSourceLocations: pulumi.StringArray{
pulumi.String("string"),
},
})
var eventForwarderEmailResource = new EventForwarderEmail("eventForwarderEmailResource", EventForwarderEmailArgs.builder()
.authMethodsEventSourceLocations("string")
.description("string")
.emailTo("string")
.eventForwarderEmailId("string")
.eventTypes("string")
.every("string")
.gatewaysEventSourceLocations("string")
.includeError("string")
.itemsEventSourceLocations("string")
.key("string")
.name("string")
.overrideUrl("string")
.runnerType("string")
.targetsEventSourceLocations("string")
.build());
event_forwarder_email_resource = akeyless.EventForwarderEmail("eventForwarderEmailResource",
auth_methods_event_source_locations=["string"],
description="string",
email_to="string",
event_forwarder_email_id="string",
event_types=["string"],
every="string",
gateways_event_source_locations=["string"],
include_error="string",
items_event_source_locations=["string"],
key="string",
name="string",
override_url="string",
runner_type="string",
targets_event_source_locations=["string"])
const eventForwarderEmailResource = new akeyless.EventForwarderEmail("eventForwarderEmailResource", {
authMethodsEventSourceLocations: ["string"],
description: "string",
emailTo: "string",
eventForwarderEmailId: "string",
eventTypes: ["string"],
every: "string",
gatewaysEventSourceLocations: ["string"],
includeError: "string",
itemsEventSourceLocations: ["string"],
key: "string",
name: "string",
overrideUrl: "string",
runnerType: "string",
targetsEventSourceLocations: ["string"],
});
type: akeyless:EventForwarderEmail
properties:
authMethodsEventSourceLocations:
- string
description: string
emailTo: string
eventForwarderEmailId: string
eventTypes:
- string
every: string
gatewaysEventSourceLocations:
- string
includeError: string
itemsEventSourceLocations:
- string
key: string
name: string
overrideUrl: string
runnerType: string
targetsEventSourceLocations:
- string
EventForwarderEmail 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 EventForwarderEmail resource accepts the following input properties:
- Auth
Methods List<string>Event Source Locations - Auth Methods event sources to forward events about, for example: /abc/*
- Description string
- Description of the object
- Email
To string - A comma seperated list of email addresses to send event to
- Event
Forwarder stringEmail 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.
- Include
Error string - Set this option to include event errors details [true/false]
- 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
- Override
Url string - Override Akeyless default URL with your Gateway url (port 18888)
- 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/*
- Auth
Methods []stringEvent Source Locations - Auth Methods event sources to forward events about, for example: /abc/*
- Description string
- Description of the object
- Email
To string - A comma seperated list of email addresses to send event to
- Event
Forwarder stringEmail 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.
- Include
Error string - Set this option to include event errors details [true/false]
- 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
- Override
Url string - Override Akeyless default URL with your Gateway url (port 18888)
- Runner
Type string - Event Forwarder runner type [immediate/periodic]
- Targets
Event []stringSource Locations - Targets event sources to forward events about, for example: /abc/*
- auth
Methods List<String>Event Source Locations - Auth Methods event sources to forward events about, for example: /abc/*
- description String
- Description of the object
- email
To String - A comma seperated list of email addresses to send event to
- event
Forwarder StringEmail 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.
- include
Error String - Set this option to include event errors details [true/false]
- 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
- override
Url String - Override Akeyless default URL with your Gateway url (port 18888)
- 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/*
- auth
Methods string[]Event Source Locations - Auth Methods event sources to forward events about, for example: /abc/*
- description string
- Description of the object
- email
To string - A comma seperated list of email addresses to send event to
- event
Forwarder stringEmail 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.
- include
Error string - Set this option to include event errors details [true/false]
- 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
- override
Url string - Override Akeyless default URL with your Gateway url (port 18888)
- runner
Type string - Event Forwarder runner type [immediate/periodic]
- targets
Event string[]Source Locations - Targets event sources to forward events about, for example: /abc/*
- auth_
methods_ Sequence[str]event_ source_ locations - Auth Methods event sources to forward events about, for example: /abc/*
- description str
- Description of the object
- email_
to str - A comma seperated list of email addresses to send event to
- event_
forwarder_ stremail_ 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.
- include_
error str - Set this option to include event errors details [true/false]
- 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
- override_
url str - Override Akeyless default URL with your Gateway url (port 18888)
- 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/*
- auth
Methods List<String>Event Source Locations - Auth Methods event sources to forward events about, for example: /abc/*
- description String
- Description of the object
- email
To String - A comma seperated list of email addresses to send event to
- event
Forwarder StringEmail 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.
- include
Error String - Set this option to include event errors details [true/false]
- 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
- override
Url String - Override Akeyless default URL with your Gateway url (port 18888)
- 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 EventForwarderEmail 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 EventForwarderEmail Resource
Get an existing EventForwarderEmail 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?: EventForwarderEmailState, opts?: CustomResourceOptions): EventForwarderEmail
@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,
email_to: Optional[str] = None,
event_forwarder_email_id: Optional[str] = None,
event_types: Optional[Sequence[str]] = None,
every: Optional[str] = None,
gateways_event_source_locations: Optional[Sequence[str]] = None,
include_error: Optional[str] = None,
items_event_source_locations: Optional[Sequence[str]] = None,
key: Optional[str] = None,
name: Optional[str] = None,
override_url: Optional[str] = None,
runner_type: Optional[str] = None,
targets_event_source_locations: Optional[Sequence[str]] = None) -> EventForwarderEmail
func GetEventForwarderEmail(ctx *Context, name string, id IDInput, state *EventForwarderEmailState, opts ...ResourceOption) (*EventForwarderEmail, error)
public static EventForwarderEmail Get(string name, Input<string> id, EventForwarderEmailState? state, CustomResourceOptions? opts = null)
public static EventForwarderEmail get(String name, Output<String> id, EventForwarderEmailState state, CustomResourceOptions options)
resources: _: type: akeyless:EventForwarderEmail 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
- Email
To string - A comma seperated list of email addresses to send event to
- Event
Forwarder stringEmail 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.
- Include
Error string - Set this option to include event errors details [true/false]
- 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
- Override
Url string - Override Akeyless default URL with your Gateway url (port 18888)
- 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/*
- Auth
Methods []stringEvent Source Locations - Auth Methods event sources to forward events about, for example: /abc/*
- Description string
- Description of the object
- Email
To string - A comma seperated list of email addresses to send event to
- Event
Forwarder stringEmail 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.
- Include
Error string - Set this option to include event errors details [true/false]
- 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
- Override
Url string - Override Akeyless default URL with your Gateway url (port 18888)
- Runner
Type string - Event Forwarder runner type [immediate/periodic]
- Targets
Event []stringSource Locations - Targets event sources to forward events about, for example: /abc/*
- auth
Methods List<String>Event Source Locations - Auth Methods event sources to forward events about, for example: /abc/*
- description String
- Description of the object
- email
To String - A comma seperated list of email addresses to send event to
- event
Forwarder StringEmail 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.
- include
Error String - Set this option to include event errors details [true/false]
- 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
- override
Url String - Override Akeyless default URL with your Gateway url (port 18888)
- 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/*
- auth
Methods string[]Event Source Locations - Auth Methods event sources to forward events about, for example: /abc/*
- description string
- Description of the object
- email
To string - A comma seperated list of email addresses to send event to
- event
Forwarder stringEmail 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.
- include
Error string - Set this option to include event errors details [true/false]
- 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
- override
Url string - Override Akeyless default URL with your Gateway url (port 18888)
- runner
Type string - Event Forwarder runner type [immediate/periodic]
- targets
Event string[]Source Locations - Targets event sources to forward events about, for example: /abc/*
- auth_
methods_ Sequence[str]event_ source_ locations - Auth Methods event sources to forward events about, for example: /abc/*
- description str
- Description of the object
- email_
to str - A comma seperated list of email addresses to send event to
- event_
forwarder_ stremail_ 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.
- include_
error str - Set this option to include event errors details [true/false]
- 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
- override_
url str - Override Akeyless default URL with your Gateway url (port 18888)
- 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/*
- auth
Methods List<String>Event Source Locations - Auth Methods event sources to forward events about, for example: /abc/*
- description String
- Description of the object
- email
To String - A comma seperated list of email addresses to send event to
- event
Forwarder StringEmail 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.
- include
Error String - Set this option to include event errors details [true/false]
- 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
- override
Url String - Override Akeyless default URL with your Gateway url (port 18888)
- 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/*
Package Details
- Repository
- akeyless akeyless-community/terraform-provider-akeyless
- License
- Notes
- This Pulumi package is based on the
akeyless
Terraform Provider.