@Stability(value=Stable)
public static interface CfnApp.BasicAuthConfigProperty
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.amplify.*; BasicAuthConfigProperty basicAuthConfigProperty = BasicAuthConfigProperty.builder() .enableBasicAuth(false) .password("password") .username("username") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnApp.BasicAuthConfigProperty.Builder
A builder for
CfnApp.BasicAuthConfigProperty |
static class |
CfnApp.BasicAuthConfigProperty.Jsii$Proxy
An implementation for
CfnApp.BasicAuthConfigProperty |
Modifier and Type | Method and Description |
---|---|
static CfnApp.BasicAuthConfigProperty.Builder |
builder() |
default Object |
getEnableBasicAuth()
Enables basic authorization for the Amplify app's branches.
|
default String |
getPassword()
The password for basic authorization.
|
default String |
getUsername()
The user name for basic authorization.
|
@Stability(value=Stable) @Nullable default Object getEnableBasicAuth()
@Stability(value=Stable) @Nullable default String getPassword()
Length Constraints: Minimum length of 1. Maximum length of 255.
@Stability(value=Stable) @Nullable default String getUsername()
Length Constraints: Minimum length of 1. Maximum length of 255.
@Stability(value=Stable) static CfnApp.BasicAuthConfigProperty.Builder builder()
Copyright © 2023. All rights reserved.