Interface ContextLookupRoleOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
AmiContextQuery,AvailabilityZonesContextQuery,CcApiContextQuery,EndpointServiceAvailabilityZonesContextQuery,HostedZoneContextQuery,KeyContextQuery,LoadBalancerContextQuery,LoadBalancerFilter,LoadBalancerListenerContextQuery,SecurityGroupContextQuery,SSMParameterContextQuery,VpcContextQuery
- All Known Implementing Classes:
AmiContextQuery.Jsii$Proxy,AvailabilityZonesContextQuery.Jsii$Proxy,CcApiContextQuery.Jsii$Proxy,ContextLookupRoleOptions.Jsii$Proxy,EndpointServiceAvailabilityZonesContextQuery.Jsii$Proxy,HostedZoneContextQuery.Jsii$Proxy,KeyContextQuery.Jsii$Proxy,LoadBalancerContextQuery.Jsii$Proxy,LoadBalancerFilter.Jsii$Proxy,LoadBalancerListenerContextQuery.Jsii$Proxy,SecurityGroupContextQuery.Jsii$Proxy,SSMParameterContextQuery.Jsii$Proxy,VpcContextQuery.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:50.780Z")
@Stability(Stable)
public interface ContextLookupRoleOptions
extends software.amazon.jsii.JsiiSerializable
Options for context lookup roles.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cloud_assembly_schema.*;
Object assumeRoleAdditionalOptions;
ContextLookupRoleOptions contextLookupRoleOptions = ContextLookupRoleOptions.builder()
.account("account")
.region("region")
// the properties below are optional
.assumeRoleAdditionalOptions(Map.of(
"assumeRoleAdditionalOptionsKey", assumeRoleAdditionalOptions))
.lookupRoleArn("lookupRoleArn")
.lookupRoleExternalId("lookupRoleExternalId")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forContextLookupRoleOptionsstatic final classAn implementation forContextLookupRoleOptions -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Query account.Additional options to pass to STS when assuming the lookup role.default StringThe ARN of the role that should be used to look up the missing values.default StringThe ExternalId that needs to be supplied while assuming this role.Query region.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAccount
Query account. -
getRegion
Query region. -
getAssumeRoleAdditionalOptions
Additional options to pass to STS when assuming the lookup role.RoleArnshould not be used. Use the dedicatedlookupRoleArnproperty instead.ExternalIdshould not be used. Use the dedicatedlookupRoleExternalIdinstead.
Default: - No additional options.
- See Also:
-
getLookupRoleArn
The ARN of the role that should be used to look up the missing values.Default: - None
-
getLookupRoleExternalId
The ExternalId that needs to be supplied while assuming this role.Default: - No ExternalId will be supplied
-
builder
- Returns:
- a
ContextLookupRoleOptions.BuilderofContextLookupRoleOptions
-