Skip to content
v2.278.0

FederationParametersProperty Struct ​

Configuration information when authentication mode is FEDERATED.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_finspace as finspace } from 'aws-cdk-lib';
const federationParametersProperty: finspace.CfnEnvironment.FederationParametersProperty = {
  applicationCallBackUrl: 'applicationCallBackUrl',
  attributeMap: [{
    key: 'key',
    value: 'value',
  }],
  federationProviderName: 'federationProviderName',
  federationUrn: 'federationUrn',
  samlMetadataDocument: 'samlMetadataDocument',
  samlMetadataUrl: 'samlMetadataUrl',
};
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_finspace as finspace

federation_parameters_property = finspace.CfnEnvironment.FederationParametersProperty(
    application_call_back_url="applicationCallBackUrl",
    attribute_map=[finspace.CfnEnvironment.AttributeMapItemsProperty(
        key="key",
        value="value"
    )],
    federation_provider_name="federationProviderName",
    federation_urn="federationUrn",
    saml_metadata_document="samlMetadataDocument",
    saml_metadata_url="samlMetadataUrl"
)
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.finspace.*;

FederationParametersProperty federationParametersProperty = FederationParametersProperty.builder()
        .applicationCallBackUrl("applicationCallBackUrl")
        .attributeMap(List.of(AttributeMapItemsProperty.builder()
                .key("key")
                .value("value")
                .build()))
        .federationProviderName("federationProviderName")
        .federationUrn("federationUrn")
        .samlMetadataDocument("samlMetadataDocument")
        .samlMetadataUrl("samlMetadataUrl")
        .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.FinSpace;

var federationParametersProperty = new FederationParametersProperty {
    ApplicationCallBackUrl = "applicationCallBackUrl",
    AttributeMap = new [] { new AttributeMapItemsProperty {
        Key = "key",
        Value = "value"
    } },
    FederationProviderName = "federationProviderName",
    FederationUrn = "federationUrn",
    SamlMetadataDocument = "samlMetadataDocument",
    SamlMetadataUrl = "samlMetadataUrl"
};
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"

federationParametersProperty := &FederationParametersProperty{
	ApplicationCallBackUrl: jsii.String("applicationCallBackUrl"),
	AttributeMap: []interface{}{
		&AttributeMapItemsProperty{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
	FederationProviderName: jsii.String("federationProviderName"),
	FederationUrn: jsii.String("federationUrn"),
	SamlMetadataDocument: jsii.String("samlMetadataDocument"),
	SamlMetadataUrl: jsii.String("samlMetadataUrl"),
}

Properties ​

applicationCallBackUrloptionalstringapplication_call_back_urloptionalstrapplicationCallBackUrloptionalStringApplicationCallBackUrloptionalstringApplicationCallBackUrloptional*string #
The redirect or sign-in URL that should be entered into the SAML 2.0 compliant identity provider configuration (IdP).
attributeMapoptionalIResolvable | IResolvable | CfnEnvironment.AttributeMapItemsProperty[]attribute_mapoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, AttributeMapItemsProperty]]]attributeMapoptionalIResolvableAttributeMapoptionalIResolvableAttributeMapoptionalinterface{} #
SAML attribute name and value.
notes

The name must always be Email and the value should be set to the attribute definition in which user email is set. For example, name would be Email and value http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress . Please check your SAML 2.0 compliant identity provider (IdP) documentation for details.

federationProviderNameoptionalstringfederation_provider_nameoptionalstrfederationProviderNameoptionalStringFederationProviderNameoptionalstringFederationProviderNameoptional*string #
Name of the identity provider (IdP).
federationUrnoptionalstringfederation_urnoptionalstrfederationUrnoptionalStringFederationUrnoptionalstringFederationUrnoptional*string #
The Uniform Resource Name (URN).

Also referred as Service Provider URN or Audience URI or Service Provider Entity ID.

samlMetadataDocumentoptionalstringsaml_metadata_documentoptionalstrsamlMetadataDocumentoptionalStringSamlMetadataDocumentoptionalstringSamlMetadataDocumentoptional*string #
SAML 2.0 Metadata document from identity provider (IdP).
samlMetadataUrloptionalstringsaml_metadata_urloptionalstrsamlMetadataUrloptionalStringSamlMetadataUrloptionalstringSamlMetadataUrloptional*string #
Provide the metadata URL from your SAML 2.0 compliant identity provider (IdP).