Interface ConfigurationItem.Builder

  • Method Details

    • cognitoUserPoolConfiguration

      ConfigurationItem.Builder cognitoUserPoolConfiguration(CognitoUserPoolConfigurationItem cognitoUserPoolConfiguration)

      Contains configuration details of a Amazon Cognito user pool that Verified Permissions can use as a source of authenticated identities as entities. It specifies the Amazon Resource Name (ARN) of a Amazon Cognito user pool, the policy store entity that you want to assign to user groups, and one or more application client IDs.

      Example: "configuration":{"cognitoUserPoolConfiguration":{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds": ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": {"groupEntityType": "MyCorp::Group"}}}

      Parameters:
      cognitoUserPoolConfiguration - Contains configuration details of a Amazon Cognito user pool that Verified Permissions can use as a source of authenticated identities as entities. It specifies the Amazon Resource Name (ARN) of a Amazon Cognito user pool, the policy store entity that you want to assign to user groups, and one or more application client IDs.

      Example: "configuration":{"cognitoUserPoolConfiguration":{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds": ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": {"groupEntityType": "MyCorp::Group"}}}

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cognitoUserPoolConfiguration

      default ConfigurationItem.Builder cognitoUserPoolConfiguration(Consumer<CognitoUserPoolConfigurationItem.Builder> cognitoUserPoolConfiguration)

      Contains configuration details of a Amazon Cognito user pool that Verified Permissions can use as a source of authenticated identities as entities. It specifies the Amazon Resource Name (ARN) of a Amazon Cognito user pool, the policy store entity that you want to assign to user groups, and one or more application client IDs.

      Example: "configuration":{"cognitoUserPoolConfiguration":{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds": ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": {"groupEntityType": "MyCorp::Group"}}}

      This is a convenience method that creates an instance of the CognitoUserPoolConfigurationItem.Builder avoiding the need to create one manually via CognitoUserPoolConfigurationItem.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to cognitoUserPoolConfiguration(CognitoUserPoolConfigurationItem).

      Parameters:
      cognitoUserPoolConfiguration - a consumer that will call methods on CognitoUserPoolConfigurationItem.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • openIdConnectConfiguration

      ConfigurationItem.Builder openIdConnectConfiguration(OpenIdConnectConfigurationItem openIdConnectConfiguration)

      Contains configuration details of an OpenID Connect (OIDC) identity provider, or identity source, that Verified Permissions can use to generate entities from authenticated identities. It specifies the issuer URL, token type that you want to use, and policy store entity details.

      Example: "configuration":{"openIdConnectConfiguration":{"issuer":"https://auth.example.com","tokenSelection":{"accessTokenOnly":{"audiences":["https://myapp.example.com","https://myapp2.example.com"],"principalIdClaim":"sub"}},"entityIdPrefix":"MyOIDCProvider","groupConfiguration":{"groupClaim":"groups","groupEntityType":"MyCorp::UserGroup"}}}

      Parameters:
      openIdConnectConfiguration - Contains configuration details of an OpenID Connect (OIDC) identity provider, or identity source, that Verified Permissions can use to generate entities from authenticated identities. It specifies the issuer URL, token type that you want to use, and policy store entity details.

      Example: "configuration":{"openIdConnectConfiguration":{"issuer":"https://auth.example.com","tokenSelection":{"accessTokenOnly":{"audiences":["https://myapp.example.com","https://myapp2.example.com"],"principalIdClaim":"sub"}},"entityIdPrefix":"MyOIDCProvider","groupConfiguration":{"groupClaim":"groups","groupEntityType":"MyCorp::UserGroup"}}}

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • openIdConnectConfiguration

      default ConfigurationItem.Builder openIdConnectConfiguration(Consumer<OpenIdConnectConfigurationItem.Builder> openIdConnectConfiguration)

      Contains configuration details of an OpenID Connect (OIDC) identity provider, or identity source, that Verified Permissions can use to generate entities from authenticated identities. It specifies the issuer URL, token type that you want to use, and policy store entity details.

      Example: "configuration":{"openIdConnectConfiguration":{"issuer":"https://auth.example.com","tokenSelection":{"accessTokenOnly":{"audiences":["https://myapp.example.com","https://myapp2.example.com"],"principalIdClaim":"sub"}},"entityIdPrefix":"MyOIDCProvider","groupConfiguration":{"groupClaim":"groups","groupEntityType":"MyCorp::UserGroup"}}}

      This is a convenience method that creates an instance of the OpenIdConnectConfigurationItem.Builder avoiding the need to create one manually via OpenIdConnectConfigurationItem.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to openIdConnectConfiguration(OpenIdConnectConfigurationItem).

      Parameters:
      openIdConnectConfiguration - a consumer that will call methods on OpenIdConnectConfigurationItem.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: