AzureIdentityServiceDetailsProperty Struct
Azure Identity service configuration for federated identity.
| 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_devopsagent as devopsagent } from 'aws-cdk-lib';
const azureIdentityServiceDetailsProperty: devopsagent.CfnService.AzureIdentityServiceDetailsProperty = {
clientId: 'clientId',
tenantId: 'tenantId',
webIdentityRoleArn: 'webIdentityRoleArn',
webIdentityTokenAudiences: ['webIdentityTokenAudiences'],
};
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_devopsagent as devopsagent
azure_identity_service_details_property = devopsagent.CfnService.AzureIdentityServiceDetailsProperty(
client_id="clientId",
tenant_id="tenantId",
web_identity_role_arn="webIdentityRoleArn",
web_identity_token_audiences=["webIdentityTokenAudiences"]
)
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.devopsagent.*;
AzureIdentityServiceDetailsProperty azureIdentityServiceDetailsProperty = AzureIdentityServiceDetailsProperty.builder()
.clientId("clientId")
.tenantId("tenantId")
.webIdentityRoleArn("webIdentityRoleArn")
.webIdentityTokenAudiences(List.of("webIdentityTokenAudiences"))
.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.DevOpsAgent;
var azureIdentityServiceDetailsProperty = new AzureIdentityServiceDetailsProperty {
ClientId = "clientId",
TenantId = "tenantId",
WebIdentityRoleArn = "webIdentityRoleArn",
WebIdentityTokenAudiences = new [] { "webIdentityTokenAudiences" }
};
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"
azureIdentityServiceDetailsProperty := &AzureIdentityServiceDetailsProperty{
ClientId: jsii.String("clientId"),
TenantId: jsii.String("tenantId"),
WebIdentityRoleArn: jsii.String("webIdentityRoleArn"),
WebIdentityTokenAudiences: []*string{
jsii.String("webIdentityTokenAudiences"),
},
}
Properties
Azure AD application client ID.
Azure AD tenant ID.
webIdentityRoleArnstringweb_identity_role_arnstrwebIdentityRoleArnStringWebIdentityRoleArnstringWebIdentityRoleArn*string required #ARN of the IAM role for web identity token exchange.
webIdentityTokenAudiencesstring[]web_identity_token_audiencestyping.List[str]webIdentityTokenAudiencesList<String>WebIdentityTokenAudiencesstring[]WebIdentityTokenAudiences*[]*string required #List of audiences for the web identity token.