Class CfnIdentitySourceProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIdentitySourceProps>
- Enclosing interface:
CfnIdentitySourceProps
CfnIdentitySourceProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.configuration(IResolvable configuration) Sets the value ofCfnIdentitySourceProps.getConfiguration()Sets the value ofCfnIdentitySourceProps.getConfiguration()policyStoreId(String policyStoreId) Sets the value ofCfnIdentitySourceProps.getPolicyStoreId()principalEntityType(String principalEntityType) Sets the value ofCfnIdentitySourceProps.getPrincipalEntityType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
configuration
Sets the value ofCfnIdentitySourceProps.getConfiguration()- Parameters:
configuration- Contains configuration information used when creating a new identity source. This parameter is required.At this time, the only valid member of this structure is a Amazon Cognito user pool configuration.
You must specify a
userPoolArn, and optionally, aClientId.This data type is used as a request parameter for the CreateIdentitySource operation.
- Returns:
this
-
configuration
@Stability(Stable) public CfnIdentitySourceProps.Builder configuration(CfnIdentitySource.IdentitySourceConfigurationProperty configuration) Sets the value ofCfnIdentitySourceProps.getConfiguration()- Parameters:
configuration- Contains configuration information used when creating a new identity source. This parameter is required.At this time, the only valid member of this structure is a Amazon Cognito user pool configuration.
You must specify a
userPoolArn, and optionally, aClientId.This data type is used as a request parameter for the CreateIdentitySource operation.
- Returns:
this
-
policyStoreId
Sets the value ofCfnIdentitySourceProps.getPolicyStoreId()- Parameters:
policyStoreId- Specifies the ID of the policy store in which you want to store this identity source. Only policies and requests made using this policy store can reference identities from the identity provider configured in the new identity source.- Returns:
this
-
principalEntityType
@Stability(Stable) public CfnIdentitySourceProps.Builder principalEntityType(String principalEntityType) Sets the value ofCfnIdentitySourceProps.getPrincipalEntityType()- Parameters:
principalEntityType- Specifies the namespace and data type of the principals generated for identities authenticated by the new identity source.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnIdentitySourceProps>- Returns:
- a new instance of
CfnIdentitySourceProps - Throws:
NullPointerException- if any required attribute was not provided
-