Skip to content
v2.278.0

SamlPropertiesProperty Struct ​

Describes the enablement status, user access URL, and relay state parameter name that are used for configuring federation with an SAML 2.0 identity provider.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_workspaces as workspaces } from 'aws-cdk-lib';
const samlPropertiesProperty: workspaces.CfnDirectory.SamlPropertiesProperty = {
  relayStateParameterName: 'relayStateParameterName',
  status: 'status',
  userAccessUrl: 'userAccessUrl',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_workspaces as workspaces

saml_properties_property = workspaces.CfnDirectory.SamlPropertiesProperty(
    relay_state_parameter_name="relayStateParameterName",
    status="status",
    user_access_url="userAccessUrl"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.workspaces.*;

SamlPropertiesProperty samlPropertiesProperty = SamlPropertiesProperty.builder()
        .relayStateParameterName("relayStateParameterName")
        .status("status")
        .userAccessUrl("userAccessUrl")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.WorkSpaces;

var samlPropertiesProperty = new SamlPropertiesProperty {
    RelayStateParameterName = "relayStateParameterName",
    Status = "status",
    UserAccessUrl = "userAccessUrl"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

samlPropertiesProperty := &SamlPropertiesProperty{
	RelayStateParameterName: jsii.String("relayStateParameterName"),
	Status: jsii.String("status"),
	UserAccessUrl: jsii.String("userAccessUrl"),
}

Properties ​

relayStateParameterNameoptionalstringrelay_state_parameter_nameoptionalstrrelayStateParameterNameoptionalStringRelayStateParameterNameoptionalstringRelayStateParameterNameoptional*string #
The relay state parameter name supported by the SAML 2.0 identity provider (IdP).
statusoptionalstringstatusoptionalstrstatusoptionalStringStatusoptionalstringStatusoptional*string #
Indicates the status of SAML 2.0 authentication.
userAccessUrloptionalstringuser_access_urloptionalstruserAccessUrloptionalStringUserAccessUrloptionalstringUserAccessUrloptional*string #
The SAML 2.0 identity provider (IdP) user access URL.