@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:50.170Z") @Stability(value=Experimental) 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()
(experimental) 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=Experimental) @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=Experimental) static ServicePrincipalOpts.Builder builder()
ServicePrincipalOpts.Builder of ServicePrincipalOptsCopyright © 2022. All rights reserved.