Interface CfnBranchPropsMixin.BasicAuthConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBranchPropsMixin.BasicAuthConfigProperty.Jsii$Proxy
- Enclosing class:
CfnBranchPropsMixin
@Stability(Stable)
public static interface CfnBranchPropsMixin.BasicAuthConfigProperty
extends software.amazon.jsii.JsiiSerializable
Use the BasicAuthConfig property type to set password protection for a specific branch.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.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 forCfnBranchPropsMixin.BasicAuthConfigPropertystatic final classAn implementation forCfnBranchPropsMixin.BasicAuthConfigProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEnableBasicAuth
Enables basic authorization for the branch.Returns union: either
BooleanorIResolvable- See Also:
-
getPassword
The password for basic authorization.- See Also:
-
getUsername
- See Also:
-
builder
-