selling_system_settings
Creates, updates, deletes, gets or lists a selling_system_settings resource.
Overview
| Name | selling_system_settings |
| Type | Resource |
| Id | aws.partnercentral_selling.selling_system_settings |
Fields
The following fields are returned by SELECT queries:
- get_selling_system_settings
| Name | Datatype | Description |
|---|---|---|
catalog | string | Specifies the catalog in which the settings are defined. Acceptable values include AWS for production and Sandbox for testing environments. (pattern: <code>[a-zA-Z]+</code>) |
resource_snapshot_job_role_arn | string | Specifies the ARN of the IAM Role used for resource snapshot job executions. (pattern: <code>(?=.{0,2048}$)arn:aws:iam::\d{12}:role/([-+=,.@_a-zA-Z0-9]+/)*[-+=,.@_a-zA-Z0-9]{1,64}</code>) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_selling_system_settings | select | region | Retrieves the currently set system settings, which include the IAM Role used for resource snapshot jobs. | |
put_selling_system_settings | replace | region | Updates the currently set system settings, which include the IAM Role used for resource snapshot jobs. |
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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_selling_system_settings
Retrieves the currently set system settings, which include the IAM Role used for resource snapshot jobs.
SELECT
catalog,
resource_snapshot_job_role_arn
FROM aws.partnercentral_selling.selling_system_settings
WHERE region = '{{ region }}' -- required
;
REPLACE examples
- put_selling_system_settings
Updates the currently set system settings, which include the IAM Role used for resource snapshot jobs.
REPLACE aws.partnercentral_selling.selling_system_settings
SET
Catalog = '{{ Catalog }}',
ResourceSnapshotJobRoleIdentifier = '{{ ResourceSnapshotJobRoleIdentifier }}'
WHERE
region = '{{ region }}' --required
RETURNING
catalog,
resource_snapshot_job_role_arn;