@Stability(value=Stable) public static final class ServicePrincipal.Builder extends Object implements software.amazon.jsii.Builder<ServicePrincipal>
ServicePrincipal.| Modifier and Type | Method and Description |
|---|---|
ServicePrincipal |
build() |
ServicePrincipal.Builder |
conditions(Map<String,? extends Object> conditions)
Additional conditions to add to the Service Principal.
|
static ServicePrincipal.Builder |
create(String service) |
ServicePrincipal.Builder |
region(String region)
Deprecated.
You should not need to set this. The stack's region is always correct.
|
@Stability(value=Stable) public static ServicePrincipal.Builder create(String service)
service - AWS service (i.e. sqs.amazonaws.com). This parameter is required.ServicePrincipal.Builder.@Stability(value=Stable) public ServicePrincipal.Builder conditions(Map<String,? extends Object> conditions)
Default: - No conditions
conditions - Additional conditions to add to the Service Principal. This parameter is required.this@Stability(value=Deprecated) @Deprecated public ServicePrincipal.Builder region(String region)
Default: - the current Stack's region.
region - The region in which the service is operating. This parameter is required.this@Stability(value=Stable) public ServicePrincipal build()
build in interface software.amazon.jsii.Builder<ServicePrincipal>Copyright © 2022. All rights reserved.