Interface CfnFunction.AuthProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFunction.AuthProperty.Jsii$Proxy
- Enclosing class:
CfnFunction
@Stability(Stable)
public static interface CfnFunction.AuthProperty
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.sam.*;
Object customStatements;
AuthProperty authProperty = AuthProperty.builder()
.apiKeyRequired(false)
.authorizationScopes(List.of("authorizationScopes"))
.authorizer("authorizer")
.resourcePolicy(AuthResourcePolicyProperty.builder()
.awsAccountBlacklist(List.of("awsAccountBlacklist"))
.awsAccountWhitelist(List.of("awsAccountWhitelist"))
.customStatements(List.of(customStatements))
.intrinsicVpcBlacklist(List.of("intrinsicVpcBlacklist"))
.intrinsicVpceBlacklist(List.of("intrinsicVpceBlacklist"))
.intrinsicVpceWhitelist(List.of("intrinsicVpceWhitelist"))
.intrinsicVpcWhitelist(List.of("intrinsicVpcWhitelist"))
.ipRangeBlacklist(List.of("ipRangeBlacklist"))
.ipRangeWhitelist(List.of("ipRangeWhitelist"))
.sourceVpcBlacklist(List.of("sourceVpcBlacklist"))
.sourceVpcWhitelist(List.of("sourceVpcWhitelist"))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnFunction.AuthPropertystatic final classAn implementation forCfnFunction.AuthProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectReturns union: eitherBooleanorIResolvabledefault Stringdefault ObjectReturns union: eitherIResolvableorCfnFunction.AuthResourcePolicyPropertyMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApiKeyRequired
Returns union: eitherBooleanorIResolvable- See Also:
-
getAuthorizationScopes
- See Also:
-
getAuthorizer
- See Also:
-
getResourcePolicy
Returns union: eitherIResolvableorCfnFunction.AuthResourcePolicyProperty- See Also:
-
builder
- Returns:
- a
CfnFunction.AuthProperty.BuilderofCfnFunction.AuthProperty
-