Class ServicePrincipalOpts
Options for a service principal.
Inheritance
System.Object
ServicePrincipalOpts
Implements
Namespace: Amazon.CDK.AWS.IAM
Assembly: Amazon.CDK.AWS.IAM.dll
Syntax (csharp)
public class ServicePrincipalOpts : Object, IServicePrincipalOpts
Syntax (vb)
Public Class ServicePrincipalOpts
Inherits Object
Implements IServicePrincipalOpts
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IAM;
var conditions;
var servicePrincipalOpts = new ServicePrincipalOpts {
Conditions = new Dictionary<string, object> {
{ "conditionsKey", conditions }
},
Region = "region"
};
Synopsis
Constructors
ServicePrincipalOpts() |
Properties
Conditions | Additional conditions to add to the Service Principal. |
Region | (deprecated) The region in which the service is operating. |
Constructors
ServicePrincipalOpts()
public ServicePrincipalOpts()
Properties
Conditions
Additional conditions to add to the Service Principal.
public IDictionary<string, object> Conditions { get; set; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Remarks
Default: - No conditions
Region
(deprecated) The region in which the service is operating.
public string Region { get; set; }
Property Value
System.String
Remarks
Default: - the current Stack's region.
Stability: Deprecated