[ aws . workspaces ]
Modifies multiple properties related to SAML 2.0 authentication, including the enablement status, user access URL, and relay state parameter name that are used for configuring federation with an SAML 2.0 identity provider.
See also: AWS API Documentation
See ‘aws help’ for descriptions of global parameters.
modify-saml-properties
--resource-id <value>
[--saml-properties <value>]
[--properties-to-delete <value>]
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
--resource-id
(string)
The directory identifier for which you want to configure SAML properties.
--saml-properties
(structure)
The properties for configuring SAML 2.0 authentication.
Status -> (string)
Indicates the status of SAML 2.0 authentication. These statuses include the following.
If the setting is
DISABLED
, end users will be directed to login with their directory credentials.If the setting is
ENABLED
, end users will be directed to login via the user access URL. Users attempting to connect to WorkSpaces from a client application that does not support SAML 2.0 authentication will not be able to connect.If the setting is
ENABLED_WITH_DIRECTORY_LOGIN_FALLBACK
, end users will be directed to login via the user access URL on supported client applications, but will not prevent clients that do not support SAML 2.0 authentication from connecting as if SAML 2.0 authentication was disabled.UserAccessUrl -> (string)
The SAML 2.0 identity provider (IdP) user access URL is the URL a user would navigate to in their web browser in order to federate from the IdP and directly access the application, without any SAML 2.0 service provider (SP) bindings.
RelayStateParameterName -> (string)
The relay state parameter name supported by the SAML 2.0 identity provider (IdP). When the end user is redirected to the user access URL from the WorkSpaces client application, this relay state parameter name is appended as a query parameter to the URL along with the relay state endpoint to return the user to the client application session.
To use SAML 2.0 authentication with WorkSpaces, the IdP must support IdP-initiated deep linking for the relay state URL. Consult your IdP documentation for more information.
Shorthand Syntax:
Status=string,UserAccessUrl=string,RelayStateParameterName=string
JSON Syntax:
{
"Status": "DISABLED"|"ENABLED"|"ENABLED_WITH_DIRECTORY_LOGIN_FALLBACK",
"UserAccessUrl": "string",
"RelayStateParameterName": "string"
}
--properties-to-delete
(list)
The SAML properties to delete as part of your request.
Specify one of the following options:
SAML_PROPERTIES_USER_ACCESS_URL
to delete the user access URL.
SAML_PROPERTIES_RELAY_STATE_PARAMETER_NAME
to delete the relay state parameter name.(string)
Syntax:
"string" "string" ...
Where valid values are:
SAML_PROPERTIES_USER_ACCESS_URL
SAML_PROPERTIES_RELAY_STATE_PARAMETER_NAME
--cli-input-json
| --cli-input-yaml
(string)
Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton
. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml
.
--generate-cli-skeleton
(string)
Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input
, prints a sample input JSON that can be used as an argument for --cli-input-json
. Similarly, if provided yaml-input
it will print a sample input YAML that can be used with --cli-input-yaml
. If provided with the value output
, it validates the command inputs and returns a sample output JSON for that command. The generated JSON skeleton is not stable between versions of the AWS CLI and there are no backwards compatibility guarantees in the JSON skeleton generated.
See ‘aws help’ for descriptions of global parameters.
None