Ejemplo n.º 1
0
    void AssumePermissionsOnPolicy(TransportExtensions <SqsTransport> transport)
    {
        #region assume-permissions

        var policies = transport.Policies();
        policies.AssumePolicyHasAppropriatePermissions();

        #endregion
    }
Ejemplo n.º 2
0
    void WildcardsPrefix(TransportExtensions <SqsTransport> transport)
    {
        #region wildcard-prefix-condition

        var policies = transport.Policies();
        policies.AddTopicNamePrefixCondition();

        #endregion
    }
Ejemplo n.º 3
0
    void WildcardsAccount(TransportExtensions <SqsTransport> transport)
    {
        #region wildcard-account-condition

        var policies = transport.Policies();
        policies.AddAccountCondition();

        #endregion
    }
Ejemplo n.º 4
0
    void WildcardsNamespace(TransportExtensions <SqsTransport> transport)
    {
        #region wildcard-namespace-condition

        var policies = transport.Policies();
        policies.AddNamespaceCondition("Sales.");
        policies.AddNamespaceCondition("Shipping.HighValueOrders.");

        #endregion
    }