Skip to main content

instance_access_control_attribute_configurations

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

Overview

Nameinstance_access_control_attribute_configurations
TypeResource
Idaws.sso_admin.instance_access_control_attribute_configurations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
instance_access_control_attribute_configurationobjectGets the list of IAM Identity Center identity store attributes that have been added to your ABAC configuration.
statusstringThe status of the attribute configuration process. (ENABLED, CREATION_IN_PROGRESS, CREATION_FAILED)
status_reasonstringProvides more details about the current status of the specified attribute.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_instance_access_control_attribute_configurationselectregionReturns the list of IAM Identity Center identity store attributes that have been configured to work with attributes-based access control (ABAC) for the specified IAM Identity Center instance. This will not return attributes configured and sent by an external identity provider. For more information about ABAC, see Attribute-Based Access Control in the IAM Identity Center User Guide.
create_instance_access_control_attribute_configurationinsertregion, InstanceArn, InstanceAccessControlAttributeConfigurationEnables the attributes-based access control (ABAC) feature for the specified IAM Identity Center instance. You can also specify new attributes to add to your ABAC configuration during the enabling process. For more information about ABAC, see Attribute-Based Access Control in the IAM Identity Center User Guide. After a successful response, call DescribeInstanceAccessControlAttributeConfiguration to validate that InstanceAccessControlAttributeConfiguration was created.
update_instance_access_control_attribute_configurationupdateregion, InstanceArn, InstanceAccessControlAttributeConfigurationUpdates the IAM Identity Center identity store attributes that you can use with the IAM Identity Center instance for attributes-based access control (ABAC). When using an external identity provider as an identity source, you can pass attributes through the SAML assertion as an alternative to configuring attributes from the IAM Identity Center identity store. If a SAML assertion passes any of these attributes, IAM Identity Center replaces the attribute value with the value from the IAM Identity Center identity store. For more information about ABAC, see Attribute-Based Access Control in the IAM Identity Center User Guide.
delete_instance_access_control_attribute_configurationdeleteregionDisables the attributes-based access control (ABAC) feature for the specified IAM Identity Center instance and deletes all of the attribute mappings that have been configured. Once deleted, any attributes that are received from an identity source and any custom attributes you have previously configured will not be passed. For more information about ABAC, see Attribute-Based Access Control in the IAM Identity Center User Guide.

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

Returns the list of IAM Identity Center identity store attributes that have been configured to work with attributes-based access control (ABAC) for the specified IAM Identity Center instance. This will not return attributes configured and sent by an external identity provider. For more information about ABAC, see Attribute-Based Access Control in the IAM Identity Center User Guide.

SELECT
instance_access_control_attribute_configuration,
status,
status_reason
FROM aws.sso_admin.instance_access_control_attribute_configurations
WHERE region = '{{ region }}' -- required
;

INSERT examples

Enables the attributes-based access control (ABAC) feature for the specified IAM Identity Center instance. You can also specify new attributes to add to your ABAC configuration during the enabling process. For more information about ABAC, see Attribute-Based Access Control in the IAM Identity Center User Guide. After a successful response, call DescribeInstanceAccessControlAttributeConfiguration to validate that InstanceAccessControlAttributeConfiguration was created.

INSERT INTO aws.sso_admin.instance_access_control_attribute_configurations (
InstanceArn,
InstanceAccessControlAttributeConfiguration,
region
)
SELECT
'{{ InstanceArn }}' /* required */,
'{{ InstanceAccessControlAttributeConfiguration }}' /* required */,
'{{ region }}'
;

UPDATE examples

Updates the IAM Identity Center identity store attributes that you can use with the IAM Identity Center instance for attributes-based access control (ABAC). When using an external identity provider as an identity source, you can pass attributes through the SAML assertion as an alternative to configuring attributes from the IAM Identity Center identity store. If a SAML assertion passes any of these attributes, IAM Identity Center replaces the attribute value with the value from the IAM Identity Center identity store. For more information about ABAC, see Attribute-Based Access Control in the IAM Identity Center User Guide.

UPDATE aws.sso_admin.instance_access_control_attribute_configurations
SET
InstanceArn = '{{ InstanceArn }}',
InstanceAccessControlAttributeConfiguration = '{{ InstanceAccessControlAttributeConfiguration }}'
WHERE
region = '{{ region }}' --required
AND InstanceArn = '{{ InstanceArn }}' --required
AND InstanceAccessControlAttributeConfiguration = '{{ InstanceAccessControlAttributeConfiguration }}' --required;

DELETE examples

Disables the attributes-based access control (ABAC) feature for the specified IAM Identity Center instance and deletes all of the attribute mappings that have been configured. Once deleted, any attributes that are received from an identity source and any custom attributes you have previously configured will not be passed. For more information about ABAC, see Attribute-Based Access Control in the IAM Identity Center User Guide.

DELETE FROM aws.sso_admin.instance_access_control_attribute_configurations
WHERE region = '{{ region }}' --required
;