Interface IServicePrincipalOpts
Options for a service principal.
public interface IServicePrincipalOpts
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
Properties
Conditions
Additional conditions to add to the Service Principal.
IDictionary<string, object>? Conditions { get; }
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.")]
string? Region { get; }
Property Value
Remarks
Default: - the current Stack's region.
Stability: Deprecated