@cfxlabsinc/b2b-services
    Preparing search index...

    Interface ValkeyWorkloadUserArgs

    interface ValkeyWorkloadUserArgs {
        accessString: Input<string>;
        env: Input<string>;
        groupAssociationAfter?: Resource;
        passwordLogin?: { after?: Resource[]; host: Input<string>; now?: Instant };
        userGroupId: Input<string>;
        workloadName: string;
    }
    Index
    accessString: Input<string>

    Redis ACL access string: a workload's from valkeyAccessString, a tier's from VALKEY_OPS_ACCESS_STRING / VALKEY_DEVELOPER_ACCESS_STRING.

    env: Input<string>

    Environment suffix appended to the userId / userName. Typically pulumi.getStack().

    groupAssociationAfter?: Resource

    The association made before this one. ElastiCache refuses a change to a group that is still modifying, so memberships are made one at a time.

    passwordLogin?: { after?: Resource[]; host: Input<string>; now?: Instant }

    Set for a workload: the user logs in by password, rotated on apply, and its login is published to valkeyUrlParameterName. Omitted, the user logs in with an IAM token, as operators and CI do.

    Type Declaration

    • Optionalafter?: Resource[]

      Users this one changes after. Left out, users change together.

    • host: Input<string>

      The cluster's primary endpoint, for the url.

    • Optionalnow?: Instant

      The clock. Defaults to now; a test passes its own.

    userGroupId: Input<string>

    Shared Valkey user group ID from cfx-valkey (exported as valkeyUserGroupId). The created user is associated with this group via aws.elasticache.UserGroupAssociation; the group is declared with ignoreChanges: ["userIds"] upstream so the association doesn't fight over membership.

    workloadName: string

    Logical workload identifier (e.g. product-api, cfx-ops). Used as both the ElastiCache userId and userName — they must be equal for IAM auth. The env suffix is appended automatically to keep userIds unique across environments (e.g. product-api-dev).