Class ServicePrincipalOpts
Options for a service principal.
public class ServicePrincipalOpts : IServicePrincipalOpts
- Inheritance
-
ServicePrincipalOpts
- Implements
- Inherited Members
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"
};
Remarks
ExampleMetadata: fixture=_generated
Constructors
ServicePrincipalOpts()
public ServicePrincipalOpts()
Properties
Conditions
Additional conditions to add to the Service Principal.
public IDictionary<string, object>? Conditions { get; set; }
Property Value
Remarks
Default: - No conditions
Region
(deprecated) The region in which the service is operating.
[Obsolete("You should not need to set this. The stack's region is always correct.")]
public string? Region { get; set; }
Property Value
Remarks
Default: - the current Stack's region.
Stability: Deprecated