package awscognito // Properties to initialize UserPoolAppleIdentityProvider. // // Example: // // The code below shows an example of how to instantiate this type. // // The values are placeholders you should change. // import "github.com/aws/aws-cdk-go/awscdk" // // var providerAttribute providerAttribute // var userPool userPool // // userPoolIdentityProviderAppleProps := &UserPoolIdentityProviderAppleProps{ // ClientId: jsii.String("clientId"), // KeyId: jsii.String("keyId"), // PrivateKey: jsii.String("privateKey"), // TeamId: jsii.String("teamId"), // UserPool: userPool, // // // the properties below are optional // AttributeMapping: &AttributeMapping{ // Address: providerAttribute, // Birthdate: providerAttribute, // Custom: map[string]*providerAttribute{ // "customKey": providerAttribute, // }, // Email: providerAttribute, // FamilyName: providerAttribute, // Fullname: providerAttribute, // Gender: providerAttribute, // GivenName: providerAttribute, // LastUpdateTime: providerAttribute, // Locale: providerAttribute, // MiddleName: providerAttribute, // Nickname: providerAttribute, // PhoneNumber: providerAttribute, // PreferredUsername: providerAttribute, // ProfilePage: providerAttribute, // ProfilePicture: providerAttribute, // Timezone: providerAttribute, // Website: providerAttribute, // }, // Scopes: []*string{ // jsii.String("scopes"), // }, // } // type UserPoolIdentityProviderAppleProps struct { // The user pool to which this construct provides identities. UserPool IUserPool `field:"required" json:"userPool" yaml:"userPool"` // Mapping attributes from the identity provider to standard and custom attributes of the user pool. AttributeMapping *AttributeMapping `field:"optional" json:"attributeMapping" yaml:"attributeMapping"` // The client id recognized by Apple APIs. // See: https://developer.apple.com/documentation/sign_in_with_apple/clientconfigi/3230948-clientid // ClientId *string `field:"required" json:"clientId" yaml:"clientId"` // The keyId (of the same key, which content has to be later supplied as `privateKey`) for Apple APIs to authenticate the client. KeyId *string `field:"required" json:"keyId" yaml:"keyId"` // The privateKey content for Apple APIs to authenticate the client. PrivateKey *string `field:"required" json:"privateKey" yaml:"privateKey"` // The teamId for Apple APIs to authenticate the client. TeamId *string `field:"required" json:"teamId" yaml:"teamId"` // The list of apple permissions to obtain for getting access to the apple profile. // See: https://developer.apple.com/documentation/sign_in_with_apple/clientconfigi/3230955-scope // Scopes *[]*string `field:"optional" json:"scopes" yaml:"scopes"` }