IdentitySourceParametersProperty Struct
Contains details for the resource that provides identities to the identity source.
For example, an IAM Identity Center instance.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mpa as mpa } from 'aws-cdk-lib';
const identitySourceParametersProperty: mpa.CfnIdentitySource.IdentitySourceParametersProperty = {
iamIdentityCenter: {
instanceArn: 'instanceArn',
region: 'region',
// the properties below are optional
approvalPortalUrl: 'approvalPortalUrl',
},
};
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_mpa as mpa
identity_source_parameters_property = mpa.CfnIdentitySource.IdentitySourceParametersProperty(
iam_identity_center=mpa.CfnIdentitySource.IamIdentityCenterProperty(
instance_arn="instanceArn",
region="region",
# the properties below are optional
approval_portal_url="approvalPortalUrl"
)
)
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.mpa.*;
IdentitySourceParametersProperty identitySourceParametersProperty = IdentitySourceParametersProperty.builder()
.iamIdentityCenter(IamIdentityCenterProperty.builder()
.instanceArn("instanceArn")
.region("region")
// the properties below are optional
.approvalPortalUrl("approvalPortalUrl")
.build())
.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.MPA;
var identitySourceParametersProperty = new IdentitySourceParametersProperty {
IamIdentityCenter = new IamIdentityCenterProperty {
InstanceArn = "instanceArn",
Region = "region",
// the properties below are optional
ApprovalPortalUrl = "approvalPortalUrl"
}
};
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"
identitySourceParametersProperty := &IdentitySourceParametersProperty{
IamIdentityCenter: &IamIdentityCenterProperty{
InstanceArn: jsii.String("instanceArn"),
Region: jsii.String("region"),
// the properties below are optional
ApprovalPortalUrl: jsii.String("approvalPortalUrl"),
},
}
Properties
iamIdentityCenterIResolvable | CfnIdentitySource.iam_identity_centertyping.Union[IResolvable, IamIdentityCenterProperty]iamIdentityCenterIResolvableIamIdentityCenterIResolvableIamIdentityCenterinterface{} required #SSOlong credentials.