npm packaged modules

    @mechanicalrock/awssociate
    TypeScript icon, indicating that this package has built-in type declarations

    0.4.3 • Public • Published

    @mechanicalrock/awssociate

    A fluent factory system for instantiating AWS services using role-credential pairs that require use of one or more STS hops.

    Example Usage:

    import { EnvironmentCredentials, S3, STS } from 'aws-sdk'
    
    const base = new EnvironmentCredentials('AWS')
    
    const myS3svc = new Awssociate({ credentials: base })
        .ForService<S3>()
        .WithOptions({
            Region: 'ap-southeast2'
        })
        .WithRoleChain({
            RoleArn: ''.
            RoleSessionName: '',
        }, {
            RoleArn: '',
            RoleSessionName: '',
        })
    

    Install

    npm i @mechanicalrock/awssociate

    DownloadsWeekly Downloads

    23

    Version

    0.4.3

    License

    Apache-2.0

    Unpacked Size

    33.1 kB

    Total Files

    10

    Last publish

    Collaborators

    • quintin.maseyk
    • basophil
    • matt-tyler