Skip to content
v2.278.0

IdpMetadataProperty Struct ​

A structure containing the identity provider (IdP) metadata used to integrate the identity provider with this workspace.

You can specify the metadata either by providing a URL to its location in the url parameter, or by specifying the full metadata in XML format in the xml parameter. Specifying both will cause an error.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_grafana as grafana } from 'aws-cdk-lib';
const idpMetadataProperty: grafana.CfnWorkspace.IdpMetadataProperty = {
  url: 'url',
  xml: 'xml',
};
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_grafana as grafana

idp_metadata_property = grafana.CfnWorkspace.IdpMetadataProperty(
    url="url",
    xml="xml"
)
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.grafana.*;

IdpMetadataProperty idpMetadataProperty = IdpMetadataProperty.builder()
        .url("url")
        .xml("xml")
        .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.Grafana;

var idpMetadataProperty = new IdpMetadataProperty {
    Url = "url",
    Xml = "xml"
};
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"

idpMetadataProperty := &IdpMetadataProperty{
	Url: jsii.String("url"),
	Xml: jsii.String("xml"),
}

Properties ​

urloptionalstringurloptionalstrurloptionalStringUrloptionalstringUrloptional*string #
The URL of the location containing the IdP metadata.
xmloptionalstringxmloptionalstrxmloptionalStringXmloptionalstringXmloptional*string #
The full IdP metadata, in XML format.