Interface ServicePrincipalOpts
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ServicePrincipalOpts.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:57.376Z")
@Stability(Stable)
public interface ServicePrincipalOpts
extends software.amazon.jsii.JsiiSerializable
Options for a service principal.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iam.*;
Object conditions;
ServicePrincipalOpts servicePrincipalOpts = ServicePrincipalOpts.builder()
.conditions(Map.of(
"conditionsKey", conditions))
.region("region")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forServicePrincipalOptsstatic final classAn implementation forServicePrincipalOpts -
Method Summary
Modifier and TypeMethodDescriptionstatic ServicePrincipalOpts.Builderbuilder()Additional conditions to add to the Service Principal.default StringDeprecated.You should not need to set this.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConditions
Additional conditions to add to the Service Principal.Default: - No conditions
-
getRegion
Deprecated.You should not need to set this. The stack's region is always correct.(deprecated) The region in which the service is operating.Default: - the current Stack's region.
-
builder
- Returns:
- a
ServicePrincipalOpts.BuilderofServicePrincipalOpts
-