@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.789Z") @Stability(value=Stable) public interface ServicePrincipalOpts extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
ServicePrincipalOpts.Builder
A builder for
ServicePrincipalOpts |
static class |
ServicePrincipalOpts.Jsii$Proxy
An implementation for
ServicePrincipalOpts |
| Modifier and Type | Method and Description |
|---|---|
static ServicePrincipalOpts.Builder |
builder() |
default Map<String,Object> |
getConditions()
Additional conditions to add to the Service Principal.
|
default String |
getRegion()
Deprecated.
You should not need to set this. The stack's region is always correct.
|
@Stability(value=Stable) @Nullable default Map<String,Object> getConditions()
Default: - No conditions
@Stability(value=Deprecated) @Deprecated @Nullable default String getRegion()
Default: - the current Stack's region.
@Stability(value=Stable) static ServicePrincipalOpts.Builder builder()
ServicePrincipalOpts.Builder of ServicePrincipalOptsCopyright © 2022. All rights reserved.