IamFederationConfigOptionsProperty Struct
Describes IAM federation options for an OpenSearch Serverless security configuration in the form of a key-value map.
These options define how OpenSearch Serverless integrates with external identity providers using federation.
| 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_opensearchserverless as opensearchserverless } from 'aws-cdk-lib';
const iamFederationConfigOptionsProperty: opensearchserverless.CfnSecurityConfig.IamFederationConfigOptionsProperty = {
groupAttribute: 'groupAttribute',
userAttribute: 'userAttribute',
};
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_opensearchserverless as opensearchserverless
iam_federation_config_options_property = opensearchserverless.CfnSecurityConfig.IamFederationConfigOptionsProperty(
group_attribute="groupAttribute",
user_attribute="userAttribute"
)
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.opensearchserverless.*;
IamFederationConfigOptionsProperty iamFederationConfigOptionsProperty = IamFederationConfigOptionsProperty.builder()
.groupAttribute("groupAttribute")
.userAttribute("userAttribute")
.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.OpenSearchServerless;
var iamFederationConfigOptionsProperty = new IamFederationConfigOptionsProperty {
GroupAttribute = "groupAttribute",
UserAttribute = "userAttribute"
};
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"
iamFederationConfigOptionsProperty := &IamFederationConfigOptionsProperty{
GroupAttribute: jsii.String("groupAttribute"),
UserAttribute: jsii.String("userAttribute"),
}
Properties
groupAttributeoptionalstringgroup_attributeoptionalstrgroupAttributeoptionalStringGroupAttributeoptionalstringGroupAttributeoptional*string #The group attribute for this IAM federation integration.
This attribute is used to map identity provider groups to OpenSearch Serverless permissions.
userAttributeoptionalstringuser_attributeoptionalstruserAttributeoptionalStringUserAttributeoptionalstringUserAttributeoptional*string #The user attribute for this IAM federation integration.
This attribute is used to identify users in the federated authentication process.