constructs a new aws access control policy condition that allows an access control statement to restrict subscriptions to an amazon sns topic based on the protocol being used for the subscription . for example , this condition can restrict subscriptions to a topic to endpoints using https to ensure that messages are securely delivered . concode_field_sep String ENDPOINT_CONDITION_KEY concode_elem_sep String PROTOCOL_CONDITION_KEY concode_field_sep Condition newEndpointCondition
Condition function ( String arg0 ) { return new StringCondition ( StringComparisonType . StringEquals , PROTOCOL_CONDITION_KEY , arg0 ) ; }