Interface CfnApp.BasicAuthConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnApp.BasicAuthConfigProperty.Jsii$Proxy
- Enclosing class:
CfnApp
@Stability(Stable)
public static interface CfnApp.BasicAuthConfigProperty
extends software.amazon.jsii.JsiiSerializable
Use the BasicAuthConfig property type to set password protection at an app level to all your branches.
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.amplify.*;
BasicAuthConfigProperty basicAuthConfigProperty = BasicAuthConfigProperty.builder()
.enableBasicAuth(false)
.password("password")
.username("username")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnApp.BasicAuthConfigPropertystatic final classAn implementation forCfnApp.BasicAuthConfigProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEnableBasicAuth
Enables basic authorization for the Amplify app's branches.Returns union: either
BooleanorIResolvable- See Also:
-
getPassword
The password for basic authorization.- See Also:
-
getUsername
The user name for basic authorization.- See Also:
-
builder
-