Skip to main content

ingress_points

Creates, updates, deletes, gets or lists an ingress_points resource.

Overview

Nameingress_points
TypeResource
Idaws.mailmanager.ingress_points

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
a_recordstringThe DNS A Record that identifies your ingress endpoint. Configure your DNS Mail Exchange (MX) record with this value to route emails to Mail Manager.
created_timestampstring (date-time)The timestamp of when the ingress endpoint was created.
ingress_point_arnstringThe Amazon Resource Name (ARN) of the ingress endpoint resource.
ingress_point_auth_configurationobjectThe authentication configuration of the ingress endpoint resource.
ingress_point_idstringThe identifier of an ingress endpoint resource.
ingress_point_namestringA user friendly name for the ingress endpoint. (pattern: <code>[A-Za-z0-9_-]+</code>)
last_updated_timestampstring (date-time)The timestamp of when the ingress endpoint was last updated.
network_configurationobjectThe network configuration for the ingress point.
rule_set_idstringThe identifier of a rule set resource associated with the ingress endpoint.
statusstringThe status of the ingress endpoint resource. (PROVISIONING, DEPROVISIONING, UPDATING, ACTIVE, CLOSED, FAILED, ASSOCIATED_VPC_ENDPOINT_DOES_NOT_EXIST)
tls_policystringThe selected Transport Layer Security (TLS) policy of the ingress point. (REQUIRED, OPTIONAL, FIPS)
traffic_policy_idstringThe identifier of the traffic policy resource associated with the ingress endpoint.
typestringThe type of ingress endpoint. (OPEN, AUTH, MTLS)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_ingress_pointselectregionFetch ingress endpoint resource attributes.
list_ingress_pointsselectregionList all ingress endpoint resources.
create_ingress_pointinsertregion, IngressPointName, RuleSetId, TrafficPolicyIdProvision a new ingress endpoint resource.
update_ingress_pointupdateregion, IngressPointIdUpdate attributes of a provisioned ingress endpoint resource.
delete_ingress_pointdeleteregionDelete an ingress endpoint resource.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Fetch ingress endpoint resource attributes.

SELECT
a_record,
created_timestamp,
ingress_point_arn,
ingress_point_auth_configuration,
ingress_point_id,
ingress_point_name,
last_updated_timestamp,
network_configuration,
rule_set_id,
status,
tls_policy,
traffic_policy_id,
type
FROM aws.mailmanager.ingress_points
WHERE region = '{{ region }}' -- required
;

INSERT examples

Provision a new ingress endpoint resource.

INSERT INTO aws.mailmanager.ingress_points (
ClientToken,
IngressPointName,
Type,
RuleSetId,
TrafficPolicyId,
IngressPointConfiguration,
NetworkConfiguration,
TlsPolicy,
Tags,
region
)
SELECT
'{{ ClientToken }}',
'{{ IngressPointName }}' /* required */,
'{{ Type }}',
'{{ RuleSetId }}' /* required */,
'{{ TrafficPolicyId }}' /* required */,
'{{ IngressPointConfiguration }}',
'{{ NetworkConfiguration }}',
'{{ TlsPolicy }}',
'{{ Tags }}',
'{{ region }}'
RETURNING
ingress_point_id
;

UPDATE examples

Update attributes of a provisioned ingress endpoint resource.

UPDATE aws.mailmanager.ingress_points
SET
IngressPointId = '{{ IngressPointId }}',
IngressPointName = '{{ IngressPointName }}',
StatusToUpdate = '{{ StatusToUpdate }}',
RuleSetId = '{{ RuleSetId }}',
TrafficPolicyId = '{{ TrafficPolicyId }}',
IngressPointConfiguration = '{{ IngressPointConfiguration }}',
TlsPolicy = '{{ TlsPolicy }}'
WHERE
region = '{{ region }}' --required
AND IngressPointId = '{{ IngressPointId }}' --required;

DELETE examples

Delete an ingress endpoint resource.

DELETE FROM aws.mailmanager.ingress_points
WHERE region = '{{ region }}' --required
;